* 在 1.0.0.RELEASE 直接返回了枚举字符串,1.0.2.RELEASE 中变更为枚举
+ *
* @since 1.0.0.RELEASE
*/
private TradeType tradeType;
/**
- * The Transaction id.
+ * 微信支付订单号
*/
private String transactionId;
/**
- * The type Payer.
+ * 支付者信息
*
* @author felord.cn
* @since 1.0.0.RELEASE
@@ -100,13 +106,13 @@ public class TransactionConsumeData {
@Data
public static class Payer {
/**
- * The Openid.
+ * 用户在直连商户appid下的唯一标识。
*/
private String openid;
}
/**
- * The type Scene info.
+ * 支付场景信息描述
*
* @author felord.cn
* @since 1.0.0.RELEASE
@@ -114,13 +120,13 @@ public class TransactionConsumeData {
@Data
public static class SceneInfo {
/**
- * The Device id.
+ * 商户端设备号(门店号或收银设备ID)。
*/
private String deviceId;
}
/**
- * The type Amount.
+ * 订单金额
*
* @author felord.cn
* @since 1.0.0.RELEASE
@@ -128,19 +134,19 @@ public class TransactionConsumeData {
@Data
public static class Amount {
/**
- * The Total.
+ * 订单总金额,单位为分。
*/
private Integer total;
/**
- * The Payer total.
+ * 用户支付金额,单位为分。
*/
private Integer payerTotal;
/**
- * The Currency.
+ * CNY:人民币,境内商户号仅支持人民币。
*/
private String currency;
/**
- * The Payer currency.
+ * 用户支付币种
*/
private String payerCurrency;
}
diff --git a/payment-spring-boot-starter/pom.xml b/payment-spring-boot-starter/pom.xml
index 2bf3652..59d2cc1 100644
--- a/payment-spring-boot-starter/pom.xml
+++ b/payment-spring-boot-starter/pom.xml
@@ -5,11 +5,11 @@