Documentation
¶
Index ¶
- func GetCouponByCode(log *logrus.Entry, ctx context.Context, stage, code string) (*servicewoo.Coupon, error)
- func IsValidAndHasEnough(log *logrus.Entry, ctx context.Context, stage, code, appliedAmount string) bool
- func UpdateCouponByCode(log *logrus.Entry, ctx context.Context, stage, code, amount string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCouponByCode ¶
func IsValidAndHasEnough ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.