Class SurchargeSpecificInput

java.lang.Object
com.onlinepayments.domain.SurchargeSpecificInput

public class SurchargeSpecificInput extends Object
  • Constructor Details

    • SurchargeSpecificInput

      public SurchargeSpecificInput()
  • Method Details

    • getMode

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

      public void setMode(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.
    • withMode

      public SurchargeSpecificInput withMode(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.
    • getSurchargeAmount

      public AmountOfMoney getSurchargeAmount()
      Object containing amount and ISO currency code attributes
    • setSurchargeAmount

      public void setSurchargeAmount(AmountOfMoney value)
      Object containing amount and ISO currency code attributes
    • withSurchargeAmount

      public SurchargeSpecificInput withSurchargeAmount(AmountOfMoney value)
      Object containing amount and ISO currency code attributes