DiscountApplication
Discount applications capture the intentions of a discount source at the time of application.
import { DiscountApplication } from '@daffodil/driver/shopify'
type DiscountApplication = {
allocationMethod: DiscountApplicationAllocationMethod;
targetSelection: DiscountApplicationTargetSelection;
targetType: DiscountApplicationTargetType;
value: PricingValue;
}
Type | Options |
---|---|
DiscountApplication | {
allocationMethod: DiscountApplicationAllocationMethod;
targetSelection: DiscountApplicationTargetSelection;
targetType: DiscountApplicationTargetType;
value: PricingValue;
} |