Package model
Class IdentityAdditionalUnderwritingDataCardVolumeDistribution
- java.lang.Object
-
- model.IdentityAdditionalUnderwritingDataCardVolumeDistribution
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class IdentityAdditionalUnderwritingDataCardVolumeDistribution extends Object
The distribution of the merchant's credit card volume The sum of `card_volume_distribution` must be 100.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityAdditionalUnderwritingDataCardVolumeDistribution.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CARD_PRESENT_PERCENTAGEstatic StringSERIALIZED_NAME_ECOMMERCE_PERCENTAGEstatic StringSERIALIZED_NAME_MAIL_ORDER_TELEPHONE_ORDER_PERCENTAGE
-
Constructor Summary
Constructors Constructor Description IdentityAdditionalUnderwritingDataCardVolumeDistribution()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityAdditionalUnderwritingDataCardVolumeDistributioncardPresentPercentage(Long cardPresentPercentage)IdentityAdditionalUnderwritingDataCardVolumeDistributionecommercePercentage(Long ecommercePercentage)booleanequals(Object o)static IdentityAdditionalUnderwritingDataCardVolumeDistributionfromJson(String jsonString)Create an instance of IdentityAdditionalUnderwritingDataCardVolumeDistribution given an JSON stringLonggetCardPresentPercentage()The percentage of the merchant's volume that's card present (between 0 and 100).LonggetEcommercePercentage()The percentage of the merchant's business that is eCommerce (between 0 and 100).LonggetMailOrderTelephoneOrderPercentage()The percentage of the merchant's business that is a mail or telephone order (between 0 and 100).inthashCode()IdentityAdditionalUnderwritingDataCardVolumeDistributionmailOrderTelephoneOrderPercentage(Long mailOrderTelephoneOrderPercentage)voidsetCardPresentPercentage(Long cardPresentPercentage)voidsetEcommercePercentage(Long ecommercePercentage)voidsetMailOrderTelephoneOrderPercentage(Long mailOrderTelephoneOrderPercentage)StringtoJson()Convert an instance of IdentityAdditionalUnderwritingDataCardVolumeDistribution to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CARD_PRESENT_PERCENTAGE
public static final String SERIALIZED_NAME_CARD_PRESENT_PERCENTAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ECOMMERCE_PERCENTAGE
public static final String SERIALIZED_NAME_ECOMMERCE_PERCENTAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAIL_ORDER_TELEPHONE_ORDER_PERCENTAGE
public static final String SERIALIZED_NAME_MAIL_ORDER_TELEPHONE_ORDER_PERCENTAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
cardPresentPercentage
public IdentityAdditionalUnderwritingDataCardVolumeDistribution cardPresentPercentage(Long cardPresentPercentage)
-
getCardPresentPercentage
@Nullable public Long getCardPresentPercentage()
The percentage of the merchant's volume that's card present (between 0 and 100).- Returns:
- cardPresentPercentage
-
setCardPresentPercentage
public void setCardPresentPercentage(Long cardPresentPercentage)
-
ecommercePercentage
public IdentityAdditionalUnderwritingDataCardVolumeDistribution ecommercePercentage(Long ecommercePercentage)
-
getEcommercePercentage
@Nullable public Long getEcommercePercentage()
The percentage of the merchant's business that is eCommerce (between 0 and 100).- Returns:
- ecommercePercentage
-
setEcommercePercentage
public void setEcommercePercentage(Long ecommercePercentage)
-
mailOrderTelephoneOrderPercentage
public IdentityAdditionalUnderwritingDataCardVolumeDistribution mailOrderTelephoneOrderPercentage(Long mailOrderTelephoneOrderPercentage)
-
getMailOrderTelephoneOrderPercentage
@Nullable public Long getMailOrderTelephoneOrderPercentage()
The percentage of the merchant's business that is a mail or telephone order (between 0 and 100).- Returns:
- mailOrderTelephoneOrderPercentage
-
setMailOrderTelephoneOrderPercentage
public void setMailOrderTelephoneOrderPercentage(Long mailOrderTelephoneOrderPercentage)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to IdentityAdditionalUnderwritingDataCardVolumeDistribution
-
fromJson
public static IdentityAdditionalUnderwritingDataCardVolumeDistribution fromJson(String jsonString) throws IOException
Create an instance of IdentityAdditionalUnderwritingDataCardVolumeDistribution given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IdentityAdditionalUnderwritingDataCardVolumeDistribution
- Throws:
IOException- if the JSON string is invalid with respect to IdentityAdditionalUnderwritingDataCardVolumeDistribution
-
toJson
public String toJson()
Convert an instance of IdentityAdditionalUnderwritingDataCardVolumeDistribution to an JSON string- Returns:
- JSON string
-
-