GitHub

ShopifyDiscountAllocation

interface

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
}

Properties

__typename
"DiscountAllocation"
allocatedAmount
ShopifyMoneyV2

Amount of discount allocated.

discountApplication
ShopifyDiscountApplication

The discount this allocated amount originated from.