Package model

Class IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType
    extends Object
    Merchant's distribution of credit card volume by business type. Sum of `volume_distribution_by_business_type` must be 100.
    • Field Detail

      • SERIALIZED_NAME_BUSINESS_TO_BUSINESS_VOLUME_PERCENTAGE

        public static final String SERIALIZED_NAME_BUSINESS_TO_BUSINESS_VOLUME_PERCENTAGE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_BUSINESS_TO_CONSUMER_VOLUME_PERCENTAGE

        public static final String SERIALIZED_NAME_BUSINESS_TO_CONSUMER_VOLUME_PERCENTAGE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_CONSUMER_TO_CONSUMER_VOLUME_PERCENTAGE

        public static final String SERIALIZED_NAME_CONSUMER_TO_CONSUMER_VOLUME_PERCENTAGE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_OTHER_VOLUME_PERCENTAGE

        public static final String SERIALIZED_NAME_OTHER_VOLUME_PERCENTAGE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_PERSON_TO_PERSON_VOLUME_PERCENTAGE

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

        public static HashSet<String> openapiRequiredFields
    • Constructor Detail

      • IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType

        public IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType()
    • Method Detail

      • getBusinessToBusinessVolumePercentage

        @Nullable
        public Long getBusinessToBusinessVolumePercentage()
        The percentage of the merchant's volume that's business to business (between 0 and 100).
        Returns:
        businessToBusinessVolumePercentage
      • setBusinessToBusinessVolumePercentage

        public void setBusinessToBusinessVolumePercentage​(Long businessToBusinessVolumePercentage)
      • getBusinessToConsumerVolumePercentage

        @Nullable
        public Long getBusinessToConsumerVolumePercentage()
        The percentage of the merchant's volume that's business to consumer (between 0 and 100).
        Returns:
        businessToConsumerVolumePercentage
      • setBusinessToConsumerVolumePercentage

        public void setBusinessToConsumerVolumePercentage​(Long businessToConsumerVolumePercentage)
      • getConsumerToConsumerVolumePercentage

        @Nullable
        public Long getConsumerToConsumerVolumePercentage()
        Merchant's percentage of volume that is consumer to consumer (between 0 and 100).
        Returns:
        consumerToConsumerVolumePercentage
      • setConsumerToConsumerVolumePercentage

        public void setConsumerToConsumerVolumePercentage​(Long consumerToConsumerVolumePercentage)
      • getOtherVolumePercentage

        @Nullable
        public Long getOtherVolumePercentage()
        The percentage of the merchant's volume that isn't represented by the previous fields (between 0 and 100).
        Returns:
        otherVolumePercentage
      • setOtherVolumePercentage

        public void setOtherVolumePercentage​(Long otherVolumePercentage)
      • getPersonToPersonVolumePercentage

        @Nullable
        public Long getPersonToPersonVolumePercentage()
        The percentage the merchant's volume that's person to person (between 0 and 100).
        Returns:
        personToPersonVolumePercentage
      • setPersonToPersonVolumePercentage

        public void setPersonToPersonVolumePercentage​(Long personToPersonVolumePercentage)
      • 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 IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType
      • fromJson

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

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