Package model
Class IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType
- java.lang.Object
-
- model.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BUSINESS_TO_BUSINESS_VOLUME_PERCENTAGEstatic StringSERIALIZED_NAME_BUSINESS_TO_CONSUMER_VOLUME_PERCENTAGEstatic StringSERIALIZED_NAME_CONSUMER_TO_CONSUMER_VOLUME_PERCENTAGEstatic StringSERIALIZED_NAME_OTHER_VOLUME_PERCENTAGEstatic StringSERIALIZED_NAME_PERSON_TO_PERSON_VOLUME_PERCENTAGE
-
Constructor Summary
Constructors Constructor Description IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessTypebusinessToBusinessVolumePercentage(Long businessToBusinessVolumePercentage)IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessTypebusinessToConsumerVolumePercentage(Long businessToConsumerVolumePercentage)IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessTypeconsumerToConsumerVolumePercentage(Long consumerToConsumerVolumePercentage)booleanequals(Object o)static IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessTypefromJson(String jsonString)Create an instance of IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType given an JSON stringLonggetBusinessToBusinessVolumePercentage()The percentage of the merchant's volume that's business to business (between 0 and 100).LonggetBusinessToConsumerVolumePercentage()The percentage of the merchant's volume that's business to consumer (between 0 and 100).LonggetConsumerToConsumerVolumePercentage()Merchant's percentage of volume that is consumer to consumer (between 0 and 100).LonggetOtherVolumePercentage()The percentage of the merchant's volume that isn't represented by the previous fields (between 0 and 100).LonggetPersonToPersonVolumePercentage()The percentage the merchant's volume that's person to person (between 0 and 100).inthashCode()IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessTypeotherVolumePercentage(Long otherVolumePercentage)IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessTypepersonToPersonVolumePercentage(Long personToPersonVolumePercentage)voidsetBusinessToBusinessVolumePercentage(Long businessToBusinessVolumePercentage)voidsetBusinessToConsumerVolumePercentage(Long businessToConsumerVolumePercentage)voidsetConsumerToConsumerVolumePercentage(Long consumerToConsumerVolumePercentage)voidsetOtherVolumePercentage(Long otherVolumePercentage)voidsetPersonToPersonVolumePercentage(Long personToPersonVolumePercentage)StringtoJson()Convert an instance of IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType 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_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
-
-
Method Detail
-
businessToBusinessVolumePercentage
public IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType businessToBusinessVolumePercentage(Long businessToBusinessVolumePercentage)
-
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)
-
businessToConsumerVolumePercentage
public IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType businessToConsumerVolumePercentage(Long businessToConsumerVolumePercentage)
-
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)
-
consumerToConsumerVolumePercentage
public IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType consumerToConsumerVolumePercentage(Long consumerToConsumerVolumePercentage)
-
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)
-
otherVolumePercentage
public IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType otherVolumePercentage(Long otherVolumePercentage)
-
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)
-
personToPersonVolumePercentage
public IdentityAdditionalUnderwritingDataVolumeDistributionByBusinessType personToPersonVolumePercentage(Long personToPersonVolumePercentage)
-
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)
-
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 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
-
-