Package model
Class UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType
- java.lang.Object
-
- model.UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType 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 classUpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType.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 UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessTypebusinessToBusinessVolumePercentage(Long businessToBusinessVolumePercentage)UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessTypebusinessToConsumerVolumePercentage(Long businessToConsumerVolumePercentage)UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessTypeconsumerToConsumerVolumePercentage(Long consumerToConsumerVolumePercentage)booleanequals(Object o)static UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessTypefromJson(String jsonString)Create an instance of UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType 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()UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessTypeotherVolumePercentage(Long otherVolumePercentage)UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessTypepersonToPersonVolumePercentage(Long personToPersonVolumePercentage)voidsetBusinessToBusinessVolumePercentage(Long businessToBusinessVolumePercentage)voidsetBusinessToConsumerVolumePercentage(Long businessToConsumerVolumePercentage)voidsetConsumerToConsumerVolumePercentage(Long consumerToConsumerVolumePercentage)voidsetOtherVolumePercentage(Long otherVolumePercentage)voidsetPersonToPersonVolumePercentage(Long personToPersonVolumePercentage)StringtoJson()Convert an instance of UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType 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_OTHER_VOLUME_PERCENTAGE
public static final String SERIALIZED_NAME_OTHER_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_BUSINESS_TO_CONSUMER_VOLUME_PERCENTAGE
public static final String SERIALIZED_NAME_BUSINESS_TO_CONSUMER_VOLUME_PERCENTAGE
- See Also:
- Constant Field Values
-
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_PERSON_TO_PERSON_VOLUME_PERCENTAGE
public static final String SERIALIZED_NAME_PERSON_TO_PERSON_VOLUME_PERCENTAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
otherVolumePercentage
public UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType 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)
-
consumerToConsumerVolumePercentage
public UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType 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)
-
businessToConsumerVolumePercentage
public UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType 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)
-
businessToBusinessVolumePercentage
public UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType 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)
-
personToPersonVolumePercentage
public UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType 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 UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType
-
fromJson
public static UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType fromJson(String jsonString) throws IOException
Create an instance of UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType
- Throws:
IOException- if the JSON string is invalid with respect to UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType
-
toJson
public String toJson()
Convert an instance of UpdateIdentityRequestAdditionalUnderwritingDataVolumeDistributionByBusinessType to an JSON string- Returns:
- JSON string
-
-