Class StateCheckSettings

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

public class StateCheckSettings extends Object
Models settings related to state checks for a merchant.
  • Constructor Details

    • StateCheckSettings

      public StateCheckSettings()
  • Method Details

    • setEnabled

      public void setEnabled(boolean value)
      Sets if state checks are enabled for the merchant.
      Parameters:
      value - if state checks are enabled for the merchant.
    • isEnabled

      public boolean isEnabled()
      Gets if state checks are enabled for the merchant.
      Returns:
      if state checks are enabled for the merchant.
    • setSurchargeExemptStates

      public void setSurchargeExemptStates(Collection<String> value)
      Sets the list of states that are exempt from surcharges.
      Parameters:
      value - the list of states that are exempt from surcharges.
    • getSurchargeExemptStates

      public Collection<String> getSurchargeExemptStates()
      Gets the list of states that are exempt from surcharges.
      Returns:
      the list of states that are exempt from surcharges.
    • addSurchargeExemptState

      public void addSurchargeExemptState(String value)
      Adds a the list of states that are exempt from surcharges.
      Parameters:
      value - the list of states that are exempt from surcharges.