public static class Storefront.CartDiscountAllocationQuery extends Query<Storefront.CartDiscountAllocationQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Storefront.CartDiscountAllocationQuery |
discountedAmount(Storefront.MoneyV2QueryDefinition queryDef)
The discounted amount that has been applied to the cart line.
|
Storefront.CartDiscountAllocationQuery |
onCartAutomaticDiscountAllocation(Storefront.CartAutomaticDiscountAllocationQueryDefinition queryDef) |
Storefront.CartDiscountAllocationQuery |
onCartCodeDiscountAllocation(Storefront.CartCodeDiscountAllocationQueryDefinition queryDef) |
Storefront.CartDiscountAllocationQuery |
onCartCustomDiscountAllocation(Storefront.CartCustomDiscountAllocationQueryDefinition queryDef) |
Storefront.CartDiscountAllocationQuery |
targetType()
The type of line that the discount is applicable towards.
|
appendQuotedString, startField, startInlineFragment, withAliaspublic Storefront.CartDiscountAllocationQuery discountedAmount(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.CartDiscountAllocationQuery targetType()
public Storefront.CartDiscountAllocationQuery onCartAutomaticDiscountAllocation(Storefront.CartAutomaticDiscountAllocationQueryDefinition queryDef)
public Storefront.CartDiscountAllocationQuery onCartCodeDiscountAllocation(Storefront.CartCodeDiscountAllocationQueryDefinition queryDef)
public Storefront.CartDiscountAllocationQuery onCartCustomDiscountAllocation(Storefront.CartCustomDiscountAllocationQueryDefinition queryDef)