DiscountAmount

Version 2019-04

The fixed amount value of a discount.

Show definition
"""
The fixed amount value of a discount.
"""
type DiscountAmount {
  """
  The value of the discount.
  """
  amount: MoneyV2!
  """
  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.
  """
  each: Boolean!
}

Fields

amount (MoneyV2!)

The value of the discount.

Deprecated fields

Show/Hide
each (Boolean!) deprecated

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.

Deprecation warning

Use appliesOnEachItem instead

Version 2019-07 (Latest)

The fixed amount value of a discount.

Show definition
"""
The fixed amount value of a discount.
"""
type DiscountAmount {
  """
  The value of the discount.
  """
  amount: MoneyV2!
  """
  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.
  """
  appliesOnEachItem: Boolean!
}

Fields

amount (MoneyV2!)

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 (Release candidate)

The fixed amount value of a discount.

Show definition
"""
The fixed amount value of a discount.
"""
type DiscountAmount {
  """
  The value of the discount.
  """
  amount: MoneyV2!
  """
  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.
  """
  appliesOnEachItem: Boolean!
}

Fields

amount (MoneyV2!)

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.

Sign up for a Partner account to get started.

Sign up