diff --git a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/CouponUseRule.java b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/CouponUseRule.java
index bc7fba6..b9566b4 100644
--- a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/CouponUseRule.java
+++ b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/CouponUseRule.java
@@ -22,7 +22,7 @@ import lombok.Data;
import java.util.List;
/**
- * 核销规则.
+ * 代金券核销规则.
*
* @author felord.cn
* @since 1.0.0.RELEASE
@@ -74,8 +74,9 @@ public class CouponUseRule {
*
FACE:人脸支付
* OTHER:其他支付
*
+ * 不填则默认“不限”
*/
- private String tradeType;
+ private CouponTradeType tradeType;
/**
@@ -100,4 +101,50 @@ public class CouponUseRule {
*/
private List bin;
}
+
+ /**
+ * 代金券核销规则-支付方式.
+ *
+ * @author felord.cn
+ * @since 1.0.4.RELEASE
+ */
+ public enum CouponTradeType {
+ /**
+ * 小程序支付
+ *
+ * @since 1.0.4.RELEASE
+ */
+ MICROAPP,
+ /**
+ * APP支付
+ *
+ * @since 1.0.4.RELEASE
+ */
+ APPPAY,
+ /**
+ * 免密支付
+ *
+ * @since 1.0.4.RELEASE
+ */
+ PPAY,
+ /**
+ * 刷卡支付
+ *
+ * @since 1.0.4.RELEASE
+ */
+ CARD,
+ /**
+ * 人脸支付
+ *
+ * @since 1.0.4.RELEASE
+ */
+ FACE,
+ /**
+ * 其他支付
+ *
+ * @since 1.0.4.RELEASE
+ */
+ OTHER,
+ }
+
}