Input object

The input object for the function.

On this page

Fields

  • cart (Cart!)

    The cart to discount.

  • discountNode (DiscountNode!)

    The discount node executing the function.

  • localization (Localization!)

    The localization of the function execution context.

  • presentmentCurrencyRate (Decimal!)

    The conversion rate between the shop's currency and the currency of the cart.

The input object for the function.

On this page

Fields

  • cart (Cart!)

    The cart to discount.

  • discountNode (DiscountNode!)

    The discount node executing the function.

  • localization (Localization!)

    The localization of the function execution context.

  • presentmentCurrencyRate (Decimal!)

    The conversion rate between the shop's currency and the currency of the cart.

The input object for the function.

On this page

Fields

  • cart (Cart!)

    The cart to discount.

  • discountNode (DiscountNode!)

    The discount node executing the function.

  • localization (Localization!)

    The localization of the function execution context.

  • presentmentCurrencyRate (Decimal!)

    The conversion rate between the shop's currency and the currency of the cart.

The input object for the function.

On this page

Fields

  • cart (Cart!)

    The cart to discount.

  • discountNode (DiscountNode!)

    The discount node executing the function.

  • localization (Localization!)

    The localization of the function execution context.

  • presentmentCurrencyRate (Decimal!)

    The conversion rate between the shop's currency and the currency of the cart.

The input object for the function.

On this page

Fields

  • cart (Cart!)

    The cart to discount.

  • discountNode (DiscountNode!)

    The discount node executing the function.

  • localization (Localization!)

    The localization of the function execution context.

  • presentmentCurrencyRate (Decimal!)

    The conversion rate between the shop's currency and the currency of the cart.