This commit is contained in:
六如
2024-12-02 23:03:25 +08:00
parent c0cfdbafd9
commit 942826f4b0
107 changed files with 247 additions and 3432 deletions

View File

@@ -21,13 +21,13 @@ public class PayTradeWapPayRequest {
@ApiModelProperty(value = "商户网站唯一订单号", required = true, example = "70501111111S001111119")
@Length(max = 64)
@NotBlank
private String out_trade_no;
@NotBlank(message = "商户网站唯一订单号必填")
private String outTradeNo;
@ApiModelProperty(value = "订单总金额.单位为元,精确到小数点后两位,取值范围:[0.01,100000000] ",
required = true, example = "9.00")
@NotNull
private BigDecimal total_amount;
@NotNull(message = "订单总金额不能为空")
private BigDecimal totalAmount;
@ApiModelProperty(
@@ -36,7 +36,7 @@ public class PayTradeWapPayRequest {
example = "大乐透"
)
@Length(max = 256)
@NotBlank
@NotBlank(message = "订单标题不能为空")
private String subject;
@ApiModelProperty(
@@ -44,9 +44,9 @@ public class PayTradeWapPayRequest {
required = true,
example = "QUICK_WAP_WAY"
)
@NotBlank
@NotBlank(message = "销售产品码不能为空")
@Length(max = 64)
private String product_code;
private String productCode;
@ApiModelProperty(
@@ -54,7 +54,7 @@ public class PayTradeWapPayRequest {
example = "appopenBb64d181d0146481ab6a762c00714cC27"
)
@Length(max = 40)
private String auth_token;
private String authToken;
@ApiModelProperty(
value = "用户付款中途退出返回商户网站的地址",
@@ -66,21 +66,21 @@ public class PayTradeWapPayRequest {
@ApiModelProperty(
value = "订单包含的商品列表信息json格式其它说明详见商品明细说明"
)
private List<GoodsDetail> goods_detail;
private List<GoodsDetail> goodsDetail;
@ApiModelProperty(
value = "绝对超时时间格式为yyyy-MM-dd HH:mm:ss。超时时间范围1m~15d。",
example = "2016-12-31 10:05:00"
)
@Length(max = 32)
private String time_expire;
private String timeExpire;
@ApiModelProperty(
value = "商户传入业务信息具体值要和支付平台约定应用于安全营销等参数直传场景格式为json格式",
example = "{\"mc_create_trade_ip\":\"127.0.0.1\"}"
)
@Length(max = 512)
private String business_params;
private String businessParams;
@ApiModelProperty(
@@ -88,14 +88,14 @@ public class PayTradeWapPayRequest {
example = "merchantBizType%3d3C%26merchantBizNo%3d2016010101111"
)
@Length(max = 512)
private String passback_params;
private String passbackParams;
@ApiModelProperty(
value = "商户原始订单号最大长度限制32位",
example = "{\"mc_create_trade_ip\":\"127.0.0.1\"}"
)
@Length(max = 32)
private String merchant_order_no;
private String merchantOrderNo;
// ---
@@ -108,7 +108,7 @@ public class PayTradeWapPayRequest {
)
@NotBlank
@Length(max = 64)
private String goods_id;
private String goodsId;
@ApiModelProperty(
@@ -118,7 +118,7 @@ public class PayTradeWapPayRequest {
)
@NotBlank
@Length(max = 256)
private String goods_name;
private String goodsName;
@ApiModelProperty(
value = "商品数量",
@@ -141,21 +141,21 @@ public class PayTradeWapPayRequest {
example = "20010001"
)
@Length(max = 32)
private String alipay_goods_id;
private String alipayGoodsId;
@ApiModelProperty(
value = "商品类目",
example = "34543238"
)
@Length(max = 24)
private String goods_category;
private String goodsCategory;
@ApiModelProperty(
value = "商品类目树从商品类目根节点到叶子节点的类目id组成类目id值使用|分割",
example = "124868003|126232002|126252004"
)
@Length(max = 128)
private String categories_tree;
private String categoriesTree;
@ApiModelProperty(
value = "商品描述信息",
@@ -169,7 +169,7 @@ public class PayTradeWapPayRequest {
example = "http://www.alipay.com/xxx.jpg"
)
@Length(max = 400)
private String show_url;
private String showUrl;
}