Package com.blockchyp.client.dto
Class PricingMerchantSettings
java.lang.Object
com.blockchyp.client.dto.PricingMerchantSettings
Models merchant settings and configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the merchant account identifier.Gets the acquiring solution identifier.floatGets the credit discount rate, if applicable.floatGets the custom surcharge percentage, if applicable.Gets the gateway identifier.Gets state check settings for the merchant.booleanGets whether the merchant accepts debit cards.booleanGets if inverse pricing is enabled.booleanGets if reduced rate pricing is enabled.booleanGets whether surcharging is enabled for the merchant.voidsetAcceptDebit(boolean value) Sets whether the merchant accepts debit cards.voidsetAccount(String value) Sets the merchant account identifier.voidsetAcquiringSolution(String value) Sets the acquiring solution identifier.voidsetCreditDiscountRate(float value) Sets the credit discount rate, if applicable.voidsetCustomSurchargePercent(float value) Sets the custom surcharge percentage, if applicable.voidsetGateway(String value) Sets the gateway identifier.voidsetInversePricingEnabled(boolean value) Sets if inverse pricing is enabled.voidsetReducedRate(boolean value) Sets if reduced rate pricing is enabled.voidSets state check settings for the merchant.voidsetSurchargingEnabled(boolean value) Sets whether surcharging is enabled for the merchant.
-
Constructor Details
-
PricingMerchantSettings
public PricingMerchantSettings()
-
-
Method Details
-
setAccount
Sets the merchant account identifier.- Parameters:
value- the merchant account identifier.
-
getAccount
Gets the merchant account identifier.- Returns:
- the merchant account identifier.
-
setGateway
Sets the gateway identifier.- Parameters:
value- the gateway identifier.
-
getGateway
Gets the gateway identifier.- Returns:
- the gateway identifier.
-
setSurchargingEnabled
public void setSurchargingEnabled(boolean value) Sets whether surcharging is enabled for the merchant.- Parameters:
value- whether surcharging is enabled for the merchant.
-
isSurchargingEnabled
public boolean isSurchargingEnabled()Gets whether surcharging is enabled for the merchant.- Returns:
- whether surcharging is enabled for the merchant.
-
setCustomSurchargePercent
public void setCustomSurchargePercent(float value) Sets the custom surcharge percentage, if applicable.- Parameters:
value- the custom surcharge percentage, if applicable.
-
getCustomSurchargePercent
public float getCustomSurchargePercent()Gets the custom surcharge percentage, if applicable.- Returns:
- the custom surcharge percentage, if applicable.
-
setReducedRate
public void setReducedRate(boolean value) Sets if reduced rate pricing is enabled.- Parameters:
value- if reduced rate pricing is enabled.
-
isReducedRate
public boolean isReducedRate()Gets if reduced rate pricing is enabled.- Returns:
- if reduced rate pricing is enabled.
-
setInversePricingEnabled
public void setInversePricingEnabled(boolean value) Sets if inverse pricing is enabled.- Parameters:
value- if inverse pricing is enabled.
-
isInversePricingEnabled
public boolean isInversePricingEnabled()Gets if inverse pricing is enabled.- Returns:
- if inverse pricing is enabled.
-
setCreditDiscountRate
public void setCreditDiscountRate(float value) Sets the credit discount rate, if applicable.- Parameters:
value- the credit discount rate, if applicable.
-
getCreditDiscountRate
public float getCreditDiscountRate()Gets the credit discount rate, if applicable.- Returns:
- the credit discount rate, if applicable.
-
setAcquiringSolution
Sets the acquiring solution identifier.- Parameters:
value- the acquiring solution identifier.
-
getAcquiringSolution
Gets the acquiring solution identifier.- Returns:
- the acquiring solution identifier.
-
setAcceptDebit
public void setAcceptDebit(boolean value) Sets whether the merchant accepts debit cards.- Parameters:
value- whether the merchant accepts debit cards.
-
isAcceptDebit
public boolean isAcceptDebit()Gets whether the merchant accepts debit cards.- Returns:
- whether the merchant accepts debit cards.
-
setStateCheckSettings
Sets state check settings for the merchant.- Parameters:
value- state check settings for the merchant.
-
getStateCheckSettings
Gets state check settings for the merchant.- Returns:
- state check settings for the merchant.
-