import { ShopifyDiscountApplicationTargetType } from '@daffodil/driver/shopify'
The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.
enum ShopifyDiscountApplicationTargetType {
LineItem = ShopifyDiscountApplicationTargetType.LineItem,
ShippingLine = ShopifyDiscountApplicationTargetType.ShippingLine,
}
LineItem ShopifyDiscountApplicationTargetType.LineItem |
|---|
The discount applies onto line items. |
ShippingLine ShopifyDiscountApplicationTargetType.ShippingLine |
|---|
The discount applies onto shipping lines. |