mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
5.0
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user