API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04 Unsupported
API version: 2020-01 Unsupported

DiscountAmountInput input object

Version unstable

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2021-07 (Release candidate)

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2021-04 (Latest)

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2021-01

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2020-10

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2020-07

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2020-04 (Unsupported)

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2020-01 (Unsupported)

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2019-10 (Unsupported)

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2019-07 (Unsupported)

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2019-04 (Unsupported)

Specifies the value of the discount and how it is applied.

Input fields

  • amount (Decimal)

    The value of the discount.

  • appliesOnEachItem (Boolean)

    If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.