Class SurchargeForPaymentLink

java.lang.Object
com.onlinepayments.domain.SurchargeForPaymentLink

public class SurchargeForPaymentLink extends Object
  • Constructor Details

    • SurchargeForPaymentLink

      public SurchargeForPaymentLink()
  • Method Details

    • getSurchargeMode

      public String 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

      public void setSurchargeMode(String value)
      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

      public SurchargeForPaymentLink withSurchargeMode(String value)
      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.