Package model

Class CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
    extends Object
    The distribution of the merchant's credit card volume The sum of `card_volume_distribution` must be 100.
    • Field Detail

      • SERIALIZED_NAME_CARD_PRESENT_PERCENTAGE

        public static final String SERIALIZED_NAME_CARD_PRESENT_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
      • SERIALIZED_NAME_ECOMMERCE_PERCENTAGE

        public static final String SERIALIZED_NAME_ECOMMERCE_PERCENTAGE
        See Also:
        Constant Field Values
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • Constructor Detail

      • CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution

        public CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution()
    • Method Detail

      • 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)
      • getMailOrderTelephoneOrderPercentage

        @Nullable
        public Long getMailOrderTelephoneOrderPercentage()
        The percentage of the merchant's business that is a mail order or telephone order (between 0 and 100).
        Returns:
        mailOrderTelephoneOrderPercentage
      • setMailOrderTelephoneOrderPercentage

        public void setMailOrderTelephoneOrderPercentage​(Long mailOrderTelephoneOrderPercentage)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        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 CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
      • fromJson

        public static CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution fromJson​(String jsonString)
                                                                                              throws IOException
        Create an instance of CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
        Throws:
        IOException - if the JSON string is invalid with respect to CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution
      • toJson

        public String toJson()
        Convert an instance of CreateIdentityRequestAdditionalUnderwritingDataCardVolumeDistribution to an JSON string
        Returns:
        JSON string