mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🎨 #3633【微信支付】创建支付分订单接口请求参数里增加设备信息字段
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
package com.github.binarywang.wxpay.bean.payscore;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 设备信息
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class Device implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4510224826631515321L;
|
||||
|
||||
|
||||
/**
|
||||
* 服务开始的设备ID
|
||||
*/
|
||||
@SerializedName("start_device_id")
|
||||
private String startDeviceId;
|
||||
|
||||
/**
|
||||
* 服务结束的设备ID
|
||||
*/
|
||||
@SerializedName("end_device_id")
|
||||
private String endDeviceId;
|
||||
|
||||
/**
|
||||
* 物料编码
|
||||
*/
|
||||
@SerializedName("materiel_no")
|
||||
private String materielNo;
|
||||
}
|
||||
@@ -42,6 +42,7 @@ public class WxPayScoreRequest implements Serializable {
|
||||
* openid : oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
|
||||
* need_user_confirm : true
|
||||
* profitSharing : false:不分账,默认:false,true:分账
|
||||
* device : {"start_device_id":"202501","end_device_id":"202502","materiel_no":"212323232"}
|
||||
*/
|
||||
@SerializedName("out_order_no")
|
||||
private String outOrderNo;
|
||||
@@ -95,4 +96,6 @@ public class WxPayScoreRequest implements Serializable {
|
||||
*/
|
||||
@SerializedName("complete_time")
|
||||
private String completeTime;
|
||||
@SerializedName("device")
|
||||
private Device device;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user