~samwhited/paddle

ref: c8abffc53683631ce9b528be2aa2536c5f5b6bc9 paddle/coupon/discount.go -rw-r--r-- 248 bytes
c8abffc5Sam Whited paddle, coupons: move coupon code to new package 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
package coupon

// 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"
)