Class SurchargeReviewRequest

java.lang.Object
com.blockchyp.client.dto.SurchargeReviewRequest
All Implemented Interfaces:
ITimeoutRequest

public class SurchargeReviewRequest extends Object implements ITimeoutRequest
Models a surcharge review request.
  • Constructor Details

    • SurchargeReviewRequest

      public SurchargeReviewRequest()
  • Method Details

    • setTimeout

      public void setTimeout(int value)
      Sets the request timeout in seconds.
      Parameters:
      value - the request timeout in seconds.
    • getTimeout

      public int getTimeout()
      Gets the request timeout in seconds.
      Specified by:
      getTimeout in interface ITimeoutRequest
      Returns:
      the request timeout in seconds.
    • setTest

      public void setTest(boolean value)
      Sets whether or not to route transaction to the test gateway.
      Parameters:
      value - whether or not to route transaction to the test gateway.
    • isTest

      public boolean isTest()
      Gets whether or not to route transaction to the test gateway.
      Specified by:
      isTest in interface ITimeoutRequest
      Returns:
      whether or not to route transaction to the test gateway.
    • setCardNumber

      public void setCardNumber(String value)
      Sets the card number for the pricing request.
      Parameters:
      value - the card number for the pricing request.
    • getCardNumber

      public String getCardNumber()
      Gets the card number for the pricing request.
      Returns:
      the card number for the pricing request.
    • setToken

      public void setToken(String value)
      Sets the payment token.
      Parameters:
      value - the payment token.
    • getToken

      public String getToken()
      Gets the payment token.
      Returns:
      the payment token.
    • setAmount

      public void setAmount(String value)
      Sets the transaction amount.
      Parameters:
      value - the transaction amount.
    • getAmount

      public String getAmount()
      Gets the transaction amount.
      Returns:
      the transaction amount.
    • setSurchargeRate

      public void setSurchargeRate(String value)
      Sets the surcharge rate.
      Parameters:
      value - the surcharge rate.
    • getSurchargeRate

      public String getSurchargeRate()
      Gets the surcharge rate.
      Returns:
      the surcharge rate.
    • setDebitTransFee

      public void setDebitTransFee(String value)
      Sets the debit transaction fee.
      Parameters:
      value - the debit transaction fee.
    • getDebitTransFee

      public String getDebitTransFee()
      Gets the debit transaction fee.
      Returns:
      the debit transaction fee.
    • setDebitDiscountRate

      public void setDebitDiscountRate(String value)
      Sets the debit discount rate.
      Parameters:
      value - the debit discount rate.
    • getDebitDiscountRate

      public String getDebitDiscountRate()
      Gets the debit discount rate.
      Returns:
      the debit discount rate.
    • setSurchargePolicy

      public void setSurchargePolicy(String value)
      Sets the surcharge policy.
      Parameters:
      value - the surcharge policy.
    • getSurchargePolicy

      public String getSurchargePolicy()
      Gets the surcharge policy.
      Returns:
      the surcharge policy.
    • setExcludedMerchantStates

      public void setExcludedMerchantStates(Collection<String> value)
      Sets the list of excluded merchant states.
      Parameters:
      value - the list of excluded merchant states.
    • getExcludedMerchantStates

      public Collection<String> getExcludedMerchantStates()
      Gets the list of excluded merchant states.
      Returns:
      the list of excluded merchant states.
    • setZip

      public void setZip(String value)
      Sets the zip code.
      Parameters:
      value - the zip code.
    • getZip

      public String getZip()
      Gets the zip code.
      Returns:
      the zip code.
    • setState

      public void setState(String value)
      Sets the state or province.
      Parameters:
      value - the state or province.
    • getState

      public String getState()
      Gets the state or province.
      Returns:
      the state or province.
    • setExemptForeignCards

      public void setExemptForeignCards(boolean value)
      Sets if foreign cards are exempt.
      Parameters:
      value - if foreign cards are exempt.
    • isExemptForeignCards

      public boolean isExemptForeignCards()
      Gets if foreign cards are exempt.
      Returns:
      if foreign cards are exempt.
    • setSurchargingMode

      public void setSurchargingMode(String value)
      Sets the surcharging mode.
      Parameters:
      value - the surcharging mode.
    • getSurchargingMode

      public String getSurchargingMode()
      Gets the surcharging mode.
      Returns:
      the surcharging mode.
    • setPricingPlan

      public void setPricingPlan(String value)
      Sets the pricing plan.
      Parameters:
      value - the pricing plan.
    • getPricingPlan

      public String getPricingPlan()
      Gets the pricing plan.
      Returns:
      the pricing plan.
    • addExcludedMerchantState

      public void addExcludedMerchantState(String value)
      Adds a the list of excluded merchant states.
      Parameters:
      value - the list of excluded merchant states.