Class SurchargeRate

java.lang.Object
com.onlinepayments.domain.SurchargeRate

public class SurchargeRate extends Object
  • Constructor Details

    • SurchargeRate

      public SurchargeRate()
  • Method Details

    • getAdValoremRate

      public BigDecimal getAdValoremRate()
      A percentage rate defined on a merchant's configuration used in the calculation of a surcharge amount.
    • setAdValoremRate

      public void setAdValoremRate(BigDecimal value)
      A percentage rate defined on a merchant's configuration used in the calculation of a surcharge amount.
    • withAdValoremRate

      public SurchargeRate withAdValoremRate(BigDecimal value)
      A percentage rate defined on a merchant's configuration used in the calculation of a surcharge amount.
    • getSpecificRate

      public Integer getSpecificRate()
      A specific, fixed rate in cents defined on a merchant's configuration that is used in the calculation of a surcharge amount.
    • setSpecificRate

      public void setSpecificRate(Integer value)
      A specific, fixed rate in cents defined on a merchant's configuration that is used in the calculation of a surcharge amount.
    • withSpecificRate

      public SurchargeRate withSpecificRate(Integer value)
      A specific, fixed rate in cents defined on a merchant's configuration that is used in the calculation of a surcharge amount.
    • getSurchargeProductTypeId

      public String getSurchargeProductTypeId()
      The name of the applicable surcharge rates for the relevant payment product
    • setSurchargeProductTypeId

      public void setSurchargeProductTypeId(String value)
      The name of the applicable surcharge rates for the relevant payment product
    • withSurchargeProductTypeId

      public SurchargeRate withSurchargeProductTypeId(String value)
      The name of the applicable surcharge rates for the relevant payment product
    • getSurchargeProductTypeVersion

      public String getSurchargeProductTypeVersion()
      A specific version identifier of the surcharge rates as applied for this request
    • setSurchargeProductTypeVersion

      public void setSurchargeProductTypeVersion(String value)
      A specific version identifier of the surcharge rates as applied for this request
    • withSurchargeProductTypeVersion

      public SurchargeRate withSurchargeProductTypeVersion(String value)
      A specific version identifier of the surcharge rates as applied for this request