public static class Storefront.DiscountCodeApplicationQuery extends Query<Storefront.DiscountCodeApplicationQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Storefront.DiscountCodeApplicationQuery |
allocationMethod()
The method by which the discount's value is allocated to its entitled items.
|
Storefront.DiscountCodeApplicationQuery |
applicable()
Specifies whether the discount code was applied successfully.
|
Storefront.DiscountCodeApplicationQuery |
code()
The string identifying the discount code that was used at the time of application.
|
Storefront.DiscountCodeApplicationQuery |
targetSelection()
Which lines of targetType that the discount is allocated over.
|
Storefront.DiscountCodeApplicationQuery |
targetType()
The type of line that the discount is applicable towards.
|
Storefront.DiscountCodeApplicationQuery |
value(Storefront.PricingValueQueryDefinition queryDef)
The value of the discount application.
|
appendQuotedString, startField, startInlineFragment, withAliaspublic Storefront.DiscountCodeApplicationQuery allocationMethod()
public Storefront.DiscountCodeApplicationQuery applicable()
public Storefront.DiscountCodeApplicationQuery code()
public Storefront.DiscountCodeApplicationQuery targetSelection()
public Storefront.DiscountCodeApplicationQuery targetType()
public Storefront.DiscountCodeApplicationQuery value(Storefront.PricingValueQueryDefinition queryDef)