import { ShopifyDiscountApplicationAllocationMethod } from '@daffodil/driver/shopify'
The method by which the discount's value is allocated onto its entitled lines.
enum ShopifyDiscountApplicationAllocationMethod {
Across = ShopifyDiscountApplicationAllocationMethod.Across,
Each = ShopifyDiscountApplicationAllocationMethod.Each,
One = ShopifyDiscountApplicationAllocationMethod.One,
}
Across ShopifyDiscountApplicationAllocationMethod.Across |
|---|
The value is spread across all entitled lines. |
Each ShopifyDiscountApplicationAllocationMethod.Each |
|---|
The value is applied onto every entitled line. |
One ShopifyDiscountApplicationAllocationMethod.One |
|---|
The value is specifically applied onto a particular line. |