v3api加入support_fapiao字段

This commit is contained in:
miemie
2022-11-28 22:07:51 +08:00
parent 431e83bf4f
commit 3ced24eb9e
2 changed files with 22 additions and 38 deletions

View File

@@ -38,7 +38,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "sp_appid")
private String spAppid;
/**
* <pre>
* 字段名:服务商户号
@@ -52,7 +51,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "sp_mchid")
private String spMchid;
/**
* <pre>
* 字段名子商户公众号ID
@@ -79,7 +77,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "sub_mchid")
private String subMchid;
/**
* <pre>
* 字段名:商品描述
@@ -93,7 +90,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "description")
private String description;
/**
* <pre>
* 字段名:商户订单号
@@ -108,7 +104,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "out_trade_no")
private String outTradeNo;
/**
* <pre>
* 字段名:交易结束时间
@@ -122,7 +117,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "time_expire")
private String timeExpire;
/**
* <pre>
* 字段名:附加数据
@@ -136,7 +130,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "attach")
private String attach;
/**
* <pre>
* 字段名:通知地址
@@ -150,7 +143,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "notify_url")
private String notifyUrl;
/**
* <pre>
* 字段名:订单优惠标记
@@ -164,7 +156,17 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "goods_tag")
private String goodsTag;
/**
* <pre>
* 字段名:电子发票入口开放标识
* 变量名support_fapiao
* 是否必填:否
* 类型boolean
* 描述传入true时支付成功消息和支付详情页将出现开票入口。需要在微信支付商户平台或微信公众平台开通电子发票功能传此字段才可生效。
* </pre>
*/
@SerializedName(value = "support_fapiao")
private Boolean supportFapiao;
/**
* <pre>
* 字段名:+结算信息
@@ -176,7 +178,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "settle_info")
private SettleInfo settleInfo;
/**
* <pre>
* 字段名:订单金额
@@ -189,7 +190,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "amount")
private Amount amount;
/**
* <pre>
* 字段名:优惠功能
@@ -202,7 +202,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "detail")
private Discount detail;
/**
* <pre>
* 字段名:支付者
@@ -215,7 +214,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "payer")
private Payer payer;
/**
* <pre>
* 字段名:场景信息
@@ -249,7 +247,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "cost_price")
private Integer costPrice;
/**
* <pre>
* 字段名商品小票ID
@@ -263,7 +260,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "invoice_id")
private String invoiceId;
/**
* <pre>
* 字段名:单品列表
@@ -298,7 +294,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "total")
private Integer total;
/**
* <pre>
* 字段名:币类型
@@ -312,7 +307,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "currency")
private String currency;
}
@Data
@@ -334,7 +328,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "sp_openid")
private String spOpenid;
/**
* <pre>
* 字段名:用户子标识
@@ -348,7 +341,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "sub_openid")
private String subOpenid;
}
@Data
@@ -371,7 +363,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "profit_sharing")
private Boolean profitSharing;
/**
* <pre>
* 字段名:补差金额
@@ -386,7 +377,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "subsidy_amount")
private BigDecimal subsidyAmount;
}
@Data
@@ -407,7 +397,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "merchant_goods_id")
private String merchantGoodsId;
/**
* <pre>
* 字段名:微信侧商品编码
@@ -421,7 +410,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "wechatpay_goods_id")
private String wechatpayGoodsId;
/**
* <pre>
* 字段名:商品名称
@@ -435,7 +423,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "goods_name")
private String goodsName;
/**
* <pre>
* 字段名:商品数量
@@ -449,7 +436,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "quantity")
private Integer quantity;
/**
* <pre>
* 字段名:商品单价
@@ -484,7 +470,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "device_id")
private String deviceId;
/**
* <pre>
* 字段名用户终端IP
@@ -499,7 +484,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "payer_client_ip")
private String payerClientIp;
/**
* <pre>
* 字段名H5场景信息
@@ -512,7 +496,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "h5_info")
private H5Info h5Info;
/**
* <pre>
* 字段名:商户门店信息
@@ -525,7 +508,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "store_info")
private StoreInfo storeInfo;
}
@Data
@@ -549,7 +531,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "type")
private String type;
/**
* <pre>
* 字段名:应用名称
@@ -563,7 +544,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "app_name")
private String appName;
/**
* <pre>
* 字段名网站URL
@@ -577,7 +557,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "app_url")
private String appUrl;
/**
* <pre>
* 字段名iOS平台BundleID
@@ -591,7 +570,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "bundle_id")
private String bundleId;
/**
* <pre>
* 字段名Android平台PackageName
@@ -605,7 +583,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "package_name")
private String packageName;
}
@Data
@@ -626,7 +603,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "id")
private String id;
/**
* <pre>
* 字段名:门店名称
@@ -640,7 +616,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "name")
private String name;
/**
* <pre>
* 字段名:地区编码
@@ -654,7 +629,6 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "area_code")
private String areaCode;
/**
* <pre>
* 字段名:详细地址
@@ -668,6 +642,5 @@ public class PartnerTransactionsRequest implements Serializable {
*/
@SerializedName(value = "address")
private String address;
}
}

View File

@@ -130,6 +130,17 @@ public class WxPayUnifiedOrderV3Request implements Serializable {
*/
@SerializedName(value = "goods_tag")
private String goodsTag;
/**
* <pre>
* 字段名:电子发票入口开放标识
* 变量名support_fapiao
* 是否必填:否
* 类型boolean
* 描述传入true时支付成功消息和支付详情页将出现开票入口。需要在微信支付商户平台或微信公众平台开通电子发票功能传此字段才可生效。
* </pre>
*/
@SerializedName(value = "support_fapiao")
private Boolean supportFapiao;
/**
* <pre>
* 字段名:订单金额