DiscountAllocation object

Version unstable

An amount discounting the line that has been allocated by an associated discount application.

Fields

  • allocatedAmountSet (MoneyBag!)

    Money amount allocated by the discount application in shop and presentment currencies.

  • discountApplication (DiscountApplication!)

    The discount of which this allocated amount originated from.

Types that return DiscountAllocation

Deprecated fields

  • allocatedAmount (MoneyV2!) deprecated

    Money amount allocated by the discount application.

    Deprecation warning

    Use allocatedAmountSet instead

Version 2021-10 (Release candidate)

An amount discounting the line that has been allocated by an associated discount application.

Fields

  • allocatedAmountSet (MoneyBag!)

    Money amount allocated by the discount application in shop and presentment currencies.

  • discountApplication (DiscountApplication!)

    The discount of which this allocated amount originated from.

Types that return DiscountAllocation

Deprecated fields

  • allocatedAmount (MoneyV2!) deprecated

    Money amount allocated by the discount application.

    Deprecation warning

    Use allocatedAmountSet instead

Version 2021-07 (Latest)

An amount discounting the line that has been allocated by an associated discount application.

Fields

  • allocatedAmountSet (MoneyBag!)

    Money amount allocated