Package com.blockchyp.client.dto
Class PricingResponseAttributes
java.lang.Object
com.blockchyp.client.dto.PricingResponseAttributes
Models pricing response data for new handler for pricing api responses.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBin()Gets the bank identification number.getBrand()Gets the card brand.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 disclosure statement.Gets the surcharge amount.Gets the surcharge percentage.getUuid()Gets the unique identifier for the pricing response.booleanGets if the transaction is exempt from surcharges.voidSets the bank identification number.voidSets the card brand.voidsetCardToken(String value) Sets the card token.voidsetCardType(String value) Sets the type of card.voidsetCommercialIndicator(String value) Sets the commercial card indicator.voidsetCountryIssued(String value) Sets the country where the card was issued.voidsetDebitCategory(String value) Sets the debit card category.voidsetDisclosure(String value) Sets the disclosure statement.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 unique identifier for the pricing response.
-
Constructor Details
-
PricingResponseAttributes
public PricingResponseAttributes()
-
-
Method Details
-
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.
-
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.
-
setCountryIssued
Sets the country where the card was issued.- Parameters:
value- the country where the card was issued.
-
getCountryIssued
Gets the country where the card was issued.- Returns:
- the country where the card was issued.
-
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.
-