Package com.onlinepayments.domain
Class SurchargeSpecificInput
java.lang.Object
com.onlinepayments.domain.SurchargeSpecificInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMode()The surcharge mode which defines how a merchant will apply surcharging.Object containing amount and ISO currency code attributesvoidThe surcharge mode which defines how a merchant will apply surcharging.voidsetSurchargeAmount(AmountOfMoney value) Object containing amount and ISO currency code attributesThe surcharge mode which defines how a merchant will apply surcharging.withSurchargeAmount(AmountOfMoney value) Object containing amount and ISO currency code attributes
-
Constructor Details
-
SurchargeSpecificInput
public SurchargeSpecificInput()
-
-
Method Details
-
getMode
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.
-
setMode
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.
-
withMode
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.
-
getSurchargeAmount
Object containing amount and ISO currency code attributes -
setSurchargeAmount
Object containing amount and ISO currency code attributes -
withSurchargeAmount
Object containing amount and ISO currency code attributes
-