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