1
0
mirror of synced 2025-12-17 21:18:07 +08:00

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

View File

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