DiscountCodeApplication

Discount code applications capture the intentions of a discount code at the time that it is applied.

Show definition

# Discount code applications capture the intentions of a discount code at

the time that it is applied.

type DiscountCodeApplication implements DiscountApplication { # The method by which the discount's value is allocated to its entitled items. allocationMethod: DiscountApplicationAllocationMethod!

# Specifies whether the discount code was applied successfully. applicable: Boolean!

# The string identifying the discount code that was used at the time of application. code: String!

# Which lines of targetType that the discount is allocated over. targetSelection: DiscountApplicationTargetSelection!

# The type of line that the discount is applicable towards. targetType: DiscountApplicationTargetType!

# The value of the discount application. value: PricingValue! }

Implements

Fields

allocationMethod   (DiscountApplicationAllocationMethod!)

The method by which the discount's value is allocated to its entitled items.

applicable   (Boolean!)

Specifies whether the discount code was applied successfully.

code   (String!)

The string identifying the discount code that was used at the time of application.

targetSelection   (DiscountApplicationTargetSelection!)

Which lines of targetType that the discount is allocated over.

targetType   (DiscountApplicationTargetType!)

The type of line that the discount is applicable towards.

value   (PricingValue!)

The value of the discount application.

Sign up for a Partner account to get started.

Sign up