Class SurchargeAttributeResponseData

java.lang.Object
com.blockchyp.client.dto.SurchargeAttributeResponseData

public class SurchargeAttributeResponseData extends Object
Models the surcharge attributes included in a surcharge review response.
  • Constructor Details

    • SurchargeAttributeResponseData

      public SurchargeAttributeResponseData()
  • Method Details

    • setTotalWithSurchargeAmount

      public void setTotalWithSurchargeAmount(String value)
      Sets the total amount including surcharge.
      Parameters:
      value - the total amount including surcharge.
    • getTotalWithSurchargeAmount

      public String 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

      public void setType(String value)
      Sets the type of the response.
      Parameters:
      value - the type of the response.
    • getType

      public String getType()
      Gets the type of the response.
      Returns:
      the type of the response.
    • setSurchargePercent

      public void setSurchargePercent(String value)
      Sets the surcharge percentage.
      Parameters:
      value - the surcharge percentage.
    • getSurchargePercent

      public String getSurchargePercent()
      Gets the surcharge percentage.
      Returns:
      the surcharge percentage.
    • setSurchargeAmount

      public void setSurchargeAmount(String value)
      Sets the surcharge amount.
      Parameters:
      value - the surcharge amount.
    • getSurchargeAmount

      public String 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

      public void setCardType(String value)
      Sets the type of card.
      Parameters:
      value - the type of card.
    • getCardType

      public String getCardType()
      Gets the type of card.
      Returns:
      the type of card.
    • setCardToken

      public void setCardToken(String value)
      Sets the card token.
      Parameters:
      value - the card token.
    • getCardToken

      public String getCardToken()
      Gets the card token.
      Returns:
      the card token.
    • setBrand

      public void setBrand(String value)
      Sets the card brand.
      Parameters:
      value - the card brand.
    • getBrand

      public String getBrand()
      Gets the card brand.
      Returns:
      the card brand.
    • setBin

      public void setBin(String value)
      Sets the bank identification number.
      Parameters:
      value - the bank identification number.
    • getBin

      public String getBin()
      Gets the bank identification number.
      Returns:
      the bank identification number.
    • setCommercialIndicator

      public void setCommercialIndicator(String value)
      Sets the commercial card indicator.
      Parameters:
      value - the commercial card indicator.
    • getCommercialIndicator

      public String 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

      public void setExemptionReason(String value)
      Sets the reason for the exemption.
      Parameters:
      value - the reason for the exemption.
    • getExemptionReason

      public String getExemptionReason()
      Gets the reason for the exemption.
      Returns:
      the reason for the exemption.
    • setDebitFeeAmount

      public void setDebitFeeAmount(String value)
      Sets the debit fee amount.
      Parameters:
      value - the debit fee amount.
    • getDebitFeeAmount

      public String getDebitFeeAmount()
      Gets the debit fee amount.
      Returns:
      the debit fee amount.
    • setDisclosure

      public void setDisclosure(String value)
      Sets the disclosure statement.
      Parameters:
      value - the disclosure statement.
    • getDisclosure

      public String getDisclosure()
      Gets the disclosure statement.
      Returns:
      the disclosure statement.
    • setDebitCategory

      public void setDebitCategory(String value)
      Sets the debit card category.
      Parameters:
      value - the debit card category.
    • getDebitCategory

      public String getDebitCategory()
      Gets the debit card category.
      Returns:
      the debit card category.
    • setCountryCode

      public void setCountryCode(String value)
      Sets the country where the card was issued.
      Parameters:
      value - the country where the card was issued.
    • getCountryCode

      public String getCountryCode()
      Gets the country where the card was issued.
      Returns:
      the country where the card was issued.
    • setState

      public void setState(String value)
      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

      public String 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

      public void setUuid(String value)
      Sets the unique identifier for the pricing response.
      Parameters:
      value - the unique identifier for the pricing response.
    • getUuid

      public String getUuid()
      Gets the unique identifier for the pricing response.
      Returns:
      the unique identifier for the pricing response.
    • setExpirationDate

      public void setExpirationDate(String value)
      Sets the expiration date of the card.
      Parameters:
      value - the expiration date of the card.
    • getExpirationDate

      public String getExpirationDate()
      Gets the expiration date of the card.
      Returns:
      the expiration date of the card.
    • setDisclosureAdditional

      public void setDisclosureAdditional(String value)
      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

      public String 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

      public void setCardholderInfo(String value)
      Sets the cardholder information.
      Parameters:
      value - the cardholder information.
    • getCardholderInfo

      public String getCardholderInfo()
      Gets the cardholder information.
      Returns:
      the cardholder information.