~samwhited/paddle

ref: aa52cb2b87806968f76ac3ae999dd13277990897 paddle/discount.go -rw-r--r-- 248 bytes
aa52cb2bSam Whited internal: new package with shared consts 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
package paddle

// DiscountType is a type of discount that can be applied with a coupon.
type DiscountType string

// A list of valid coupon types.
const (
	DiscountFlat       DiscountType = "flat"
	DiscountPercentage DiscountType = "percentage"
)