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

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-01 (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 2020-10 (Latest)

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 2020-07

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 2020-04

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 2020-01

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 2019-10 (Unsupported)

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 2019-07 (Unsupported)

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 2019-04 (Unsupported)

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