import { ShopifyCartCustomDiscountAllocation } from '@daffodil/driver/shopify'
The discounts automatically applied to the cart line based on prerequisites that have been met.
interface ShopifyCartCustomDiscountAllocation {
__typename: "CartCustomDiscountAllocation"
discountedAmount: ShopifyMoneyV2
title: string
}
__typename "CartCustomDiscountAllocation" |
|---|
discountedAmount ShopifyMoneyV2 |
|---|
The discounted amount that has been applied to the cart line. |
title string |
|---|
The title of the allocated discount. |