Class FixedAmountOffInDifferentCurrencyAdjustment

  • All Implemented Interfaces:
    Adjustment, MonetaryAdjustment, XMLizable,, java.lang.Cloneable

    public class FixedAmountOffInDifferentCurrencyAdjustment
    extends FixedAmountOffAdjustment
    An Adjustment that offers different fixed amount discounts based on the order currency. The currencies and their corresponding discounts must be saved to the same position in the arrays.

    XML Snippet for the FixedAmountOffInDifferentCurrencyAdjustment:

      <Adjustment impl="" >
    See Also:
    Serialized Form
    • Constructor Detail

      • FixedAmountOffInDifferentCurrencyAdjustment

        public FixedAmountOffInDifferentCurrencyAdjustment()
        Constructor for FixedAmountOffInDifferentCurrencyAdjustment.
    • Method Detail

      • getOffAmounts

        public java.math.BigDecimal[] getOffAmounts()
        Gets the off amounts.
        the off amounts
      • setOffAmounts

        public void setOffAmounts(java.math.BigDecimal[] amountsOff)
        Sets the array of off amounts.
        amountsOff - the off amounts array to set
      • getCurrencies

        public java.lang.String[] getCurrencies()
        Gets the currencies
        the currencies
      • setCurrencies

        public void setCurrencies(java.lang.String[] currencies)
        Sets the array of currencies.
        currencies - the currencies to set