Package com.blockchyp.client.dto
Class StateCheckSettings
java.lang.Object
com.blockchyp.client.dto.StateCheckSettings
Models settings related to state checks for a merchant.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSurchargeExemptState(String value) Adds a the list of states that are exempt from surcharges.Gets the list of states that are exempt from surcharges.booleanGets if state checks are enabled for the merchant.voidsetEnabled(boolean value) Sets if state checks are enabled for the merchant.voidsetSurchargeExemptStates(Collection<String> value) Sets the list of states that are exempt from surcharges.
-
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
Sets the list of states that are exempt from surcharges.- Parameters:
value- the list of states that are exempt from surcharges.
-
getSurchargeExemptStates
Gets the list of states that are exempt from surcharges.- Returns:
- the list of states that are exempt from surcharges.
-
addSurchargeExemptState
Adds a the list of states that are exempt from surcharges.- Parameters:
value- the list of states that are exempt from surcharges.
-