import { ShopifyCartCodeDiscountAllocation } from '@daffodil/driver/shopify'
The discount that has been applied to the cart line using a discount code.
interface ShopifyCartCodeDiscountAllocation {
__typename: "CartCodeDiscountAllocation"
code: string
discountedAmount: ShopifyMoneyV2
}
__typename "CartCodeDiscountAllocation" |
|---|
code string |
|---|
The code used to apply the discount. |
discountedAmount ShopifyMoneyV2 |
|---|
The discounted amount that has been applied to the cart line. |