import { ShopifyDiscountAllocation } from '@daffodil/driver/shopify'
An amount discounting the line that has been allocated by a discount.
interface ShopifyDiscountAllocation {
__typename: "DiscountAllocation"
allocatedAmount: ShopifyMoneyV2
discountApplication: ShopifyDiscountApplication
}
__typename "DiscountAllocation" |
|---|
allocatedAmount ShopifyMoneyV2 |
|---|
Amount of discount allocated. |
discountApplication ShopifyDiscountApplication |
|---|
The discount this allocated amount originated from. |