Package com.onlinepayments.domain
Class SurchargeForPaymentLink
java.lang.Object
com.onlinepayments.domain.SurchargeForPaymentLink
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe surcharge mode which defines how a merchant will apply surcharging.voidsetSurchargeMode(String value) The surcharge mode which defines how a merchant will apply surcharging.withSurchargeMode(String value) The surcharge mode which defines how a merchant will apply surcharging.
-
Constructor Details
-
SurchargeForPaymentLink
public SurchargeForPaymentLink()
-
-
Method Details
-
getSurchargeMode
The surcharge mode which defines how a merchant will apply surcharging.- pass-through - Merchant to define and apply surcharge amount for a transaction for processing. This mode is not supported on Create Hosted Checkout Session.
- on-behalf-of - Merchant to instruct the payment platform to calculate and apply a surcharge amount to a transaction, based on the merchant’s surcharge configuration, net amount, and payment product type.
-
setSurchargeMode
The surcharge mode which defines how a merchant will apply surcharging.- pass-through - Merchant to define and apply surcharge amount for a transaction for processing. This mode is not supported on Create Hosted Checkout Session.
- on-behalf-of - Merchant to instruct the payment platform to calculate and apply a surcharge amount to a transaction, based on the merchant’s surcharge configuration, net amount, and payment product type.
-
withSurchargeMode
The surcharge mode which defines how a merchant will apply surcharging.- pass-through - Merchant to define and apply surcharge amount for a transaction for processing. This mode is not supported on Create Hosted Checkout Session.
- on-behalf-of - Merchant to instruct the payment platform to calculate and apply a surcharge amount to a transaction, based on the merchant’s surcharge configuration, net amount, and payment product type.
-