mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
🎨 #3538 【微信支付】V3接口增加实名支付参数
This commit is contained in:
parent
dd407141b0
commit
3f0b8d4e2b
@ -250,6 +250,12 @@ public class WxPayUnifiedOrderV3Request implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@SerializedName(value = "openid")
|
@SerializedName(value = "openid")
|
||||||
private String openid;
|
private String openid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实名支付用户身份标识
|
||||||
|
*/
|
||||||
|
@SerializedName(value = "identity")
|
||||||
|
private Identity identity;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@ -572,4 +578,36 @@ public class WxPayUnifiedOrderV3Request implements Serializable {
|
|||||||
@SerializedName(value = "profit_sharing")
|
@SerializedName(value = "profit_sharing")
|
||||||
private Boolean profitSharing;
|
private Boolean profitSharing;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
public static class Identity implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 证件类型
|
||||||
|
* IDCARD:身份证
|
||||||
|
* HONGKONG_MACAO:港澳回乡证
|
||||||
|
* HONGKONG_MACAO_RESIDENT:港澳居住证
|
||||||
|
* TAIWAN_RESIDENT:台湾居住证
|
||||||
|
* FOREIGN_RESIDENT:外国人永居证
|
||||||
|
* OVERSEA_PASSPORT:护照
|
||||||
|
*/
|
||||||
|
@SerializedName(value = "type")
|
||||||
|
private String type;
|
||||||
|
/**
|
||||||
|
* 证件号
|
||||||
|
* 证件号,如身份证号。
|
||||||
|
* 示例值:43102119910910512X
|
||||||
|
*/
|
||||||
|
@SerializedName(value = "number")
|
||||||
|
private String number;
|
||||||
|
/**
|
||||||
|
* 证件姓名。
|
||||||
|
* 示例值:周星星
|
||||||
|
*/
|
||||||
|
@SerializedName(value = "name")
|
||||||
|
private String name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user