Package com.blockchyp.client.dto
Class SurchargeAttributeResponseData
java.lang.Object
com.blockchyp.client.dto.SurchargeAttributeResponseData
Models the surcharge attributes included in a surcharge review response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBin()Gets the bank identification number.getBrand()Gets the card brand.Gets the cardholder information.Gets the card token.Gets the type of card.Gets the commercial card indicator.Gets the country where the card was issued.Gets the debit card category.Gets the debit fee amount.Gets the disclosure statement.Gets when surcharging is enabled AND state is 'CO' (Colorado-specific statutory language).Gets the reason for the exemption.Gets the expiration date of the card.getState()Gets only included if state was sent in request OR derived from ZIP code.Gets the surcharge amount.Gets the surcharge percentage.Gets the total amount including surcharge.getType()Gets the type of the response.getUuid()Gets the unique identifier for the pricing response.booleanGets if the card is commercial.booleanGets if the card is Durbin-regulated (US debit).booleanGets if the surcharge review was successful.booleanGets if the transaction is exempt from surcharges.voidSets the bank identification number.voidSets the card brand.voidsetCardholderInfo(String value) Sets the cardholder information.voidsetCardToken(String value) Sets the card token.voidsetCardType(String value) Sets the type of card.voidsetCommercialIndicator(String value) Sets the commercial card indicator.voidsetCountryCode(String value) Sets the country where the card was issued.voidsetDebitCategory(String value) Sets the debit card category.voidsetDebitFeeAmount(String value) Sets the debit fee amount.voidsetDisclosure(String value) Sets the disclosure statement.voidsetDisclosureAdditional(String value) Sets when surcharging is enabled AND state is 'CO' (Colorado-specific statutory language).voidsetExemptionReason(String value) Sets the reason for the exemption.voidsetExpirationDate(String value) Sets the expiration date of the card.voidsetIsCommercial(boolean value) Sets if the card is commercial.voidsetIsRegulated(boolean value) Sets if the card is Durbin-regulated (US debit).voidSets only included if state was sent in request OR derived from ZIP code.voidsetSuccess(boolean value) Sets if the surcharge review was successful.voidsetSurchargeAmount(String value) Sets the surcharge amount.voidsetSurchargeExempt(boolean value) Sets if the transaction is exempt from surcharges.voidsetSurchargePercent(String value) Sets the surcharge percentage.voidSets the total amount including surcharge.voidSets the type of the response.voidSets the unique identifier for the pricing response.
-
Constructor Details
-
SurchargeAttributeResponseData
public SurchargeAttributeResponseData()
-
-
Method Details
-
setTotalWithSurchargeAmount
Sets the total amount including surcharge.- Parameters:
value- the total amount including surcharge.
-
getTotalWithSurchargeAmount
Gets the total amount including surcharge.- Returns:
- the total amount including surcharge.
-
setSuccess
public void setSuccess(boolean value) Sets if the surcharge review was successful.- Parameters:
value- if the surcharge review was successful.
-
isSuccess
public boolean isSuccess()Gets if the surcharge review was successful.- Returns:
- if the surcharge review was successful.
-
setType
Sets the type of the response.- Parameters:
value- the type of the response.
-
getType
Gets the type of the response.- Returns:
- the type of the response.
-
setSurchargePercent
Sets the surcharge percentage.- Parameters:
value- the surcharge percentage.
-
getSurchargePercent
Gets the surcharge percentage.- Returns:
- the surcharge percentage.
-
setSurchargeAmount
Sets the surcharge amount.- Parameters:
value- the surcharge amount.
-
getSurchargeAmount
Gets the surcharge amount.- Returns:
- the surcharge amount.
-
setSurchargeExempt
public void setSurchargeExempt(boolean value) Sets if the transaction is exempt from surcharges.- Parameters:
value- if the transaction is exempt from surcharges.
-
isSurchargeExempt
public boolean isSurchargeExempt()Gets if the transaction is exempt from surcharges.- Returns:
- if the transaction is exempt from surcharges.
-
setCardType
Sets the type of card.- Parameters:
value- the type of card.
-
getCardType
Gets the type of card.- Returns:
- the type of card.
-
setCardToken
Sets the card token.- Parameters:
value- the card token.
-
getCardToken
Gets the card token.- Returns:
- the card token.
-
setBrand
Sets the card brand.- Parameters:
value- the card brand.
-
getBrand
Gets the card brand.- Returns:
- the card brand.
-
setBin
Sets the bank identification number.- Parameters:
value- the bank identification number.
-
getBin
Gets the bank identification number.- Returns:
- the bank identification number.
-
setCommercialIndicator
Sets the commercial card indicator.- Parameters:
value- the commercial card indicator.
-
getCommercialIndicator
Gets the commercial card indicator.- Returns:
- the commercial card indicator.
-
setIsCommercial
public void setIsCommercial(boolean value) Sets if the card is commercial.- Parameters:
value- if the card is commercial.
-
isIsCommercial
public boolean isIsCommercial()Gets if the card is commercial.- Returns:
- if the card is commercial.
-
setIsRegulated
public void setIsRegulated(boolean value) Sets if the card is Durbin-regulated (US debit).- Parameters:
value- if the card is Durbin-regulated (US debit).
-
isIsRegulated
public boolean isIsRegulated()Gets if the card is Durbin-regulated (US debit).- Returns:
- if the card is Durbin-regulated (US debit).
-
setExemptionReason
Sets the reason for the exemption.- Parameters:
value- the reason for the exemption.
-
getExemptionReason
Gets the reason for the exemption.- Returns:
- the reason for the exemption.
-
setDebitFeeAmount
Sets the debit fee amount.- Parameters:
value- the debit fee amount.
-
getDebitFeeAmount
Gets the debit fee amount.- Returns:
- the debit fee amount.
-
setDisclosure
Sets the disclosure statement.- Parameters:
value- the disclosure statement.
-
getDisclosure
Gets the disclosure statement.- Returns:
- the disclosure statement.
-
setDebitCategory
Sets the debit card category.- Parameters:
value- the debit card category.
-
getDebitCategory
Gets the debit card category.- Returns:
- the debit card category.
-
setCountryCode
Sets the country where the card was issued.- Parameters:
value- the country where the card was issued.
-
getCountryCode
Gets the country where the card was issued.- Returns:
- the country where the card was issued.
-
setState
Sets only included if state was sent in request OR derived from ZIP code.- Parameters:
value- only included if state was sent in request OR derived from ZIP code.
-
getState
Gets only included if state was sent in request OR derived from ZIP code.- Returns:
- only included if state was sent in request OR derived from ZIP code.
-
setUuid
Sets the unique identifier for the pricing response.- Parameters:
value- the unique identifier for the pricing response.
-
getUuid
Gets the unique identifier for the pricing response.- Returns:
- the unique identifier for the pricing response.
-
setExpirationDate
Sets the expiration date of the card.- Parameters:
value- the expiration date of the card.
-
getExpirationDate
Gets the expiration date of the card.- Returns:
- the expiration date of the card.
-
setDisclosureAdditional
Sets when surcharging is enabled AND state is 'CO' (Colorado-specific statutory language).- Parameters:
value- when surcharging is enabled AND state is 'CO' (Colorado-specific statutory language).
-
getDisclosureAdditional
Gets when surcharging is enabled AND state is 'CO' (Colorado-specific statutory language).- Returns:
- when surcharging is enabled AND state is 'CO' (Colorado-specific statutory language).
-
setCardholderInfo
Sets the cardholder information.- Parameters:
value- the cardholder information.
-
getCardholderInfo
Gets the cardholder information.- Returns:
- the cardholder information.
-