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