Package model
Class UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
java.lang.Object
model.UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
extends Object
The distribution of the merchant's credit card volume The sum of `card_volume_distribution` must be 100.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncardPresentPercentage(Long cardPresentPercentage) ecommercePercentage(Long ecommercePercentage) booleanCreate an instance of UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution given an JSON stringThe percentage of the merchant's business that's card present (between 0 and 100).The percentage of the merchant's business that's e-commerce (between 0 and 100).The percentage of the merchant's business that's mail or telephone order (between 0 and 100).inthashCode()mailOrderTelephoneOrderPercentage(Long mailOrderTelephoneOrderPercentage) voidsetCardPresentPercentage(Long cardPresentPercentage) voidsetEcommercePercentage(Long ecommercePercentage) voidsetMailOrderTelephoneOrderPercentage(Long mailOrderTelephoneOrderPercentage) toJson()Convert an instance of UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CARD_PRESENT_PERCENTAGE
- See Also:
-
SERIALIZED_NAME_MAIL_ORDER_TELEPHONE_ORDER_PERCENTAGE
- See Also:
-
SERIALIZED_NAME_ECOMMERCE_PERCENTAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
public UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution()
-
-
Method Details
-
cardPresentPercentage
public UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution cardPresentPercentage(Long cardPresentPercentage) -
getCardPresentPercentage
The percentage of the merchant's business that's card present (between 0 and 100).- Returns:
- cardPresentPercentage
-
setCardPresentPercentage
-
mailOrderTelephoneOrderPercentage
public UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution mailOrderTelephoneOrderPercentage(Long mailOrderTelephoneOrderPercentage) -
getMailOrderTelephoneOrderPercentage
The percentage of the merchant's business that's mail or telephone order (between 0 and 100).- Returns:
- mailOrderTelephoneOrderPercentage
-
setMailOrderTelephoneOrderPercentage
-
ecommercePercentage
public UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution ecommercePercentage(Long ecommercePercentage) -
getEcommercePercentage
The percentage of the merchant's business that's e-commerce (between 0 and 100).- Returns:
- ecommercePercentage
-
setEcommercePercentage
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates 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 UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
-
fromJson
public static UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution fromJson(String jsonString) throws IOException Create an instance of UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
- Throws:
IOException- if the JSON string is invalid with respect to UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
-
toJson
Convert an instance of UpdateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution to an JSON string- Returns:
- JSON string
-