package org.yeshi.utils.entity.wx;
|
|
import java.util.List;
|
|
public class WXPayOrderInfoV3 {
|
|
|
/**
|
* transaction_id : 1217752501201407033233368018
|
* amount : {"payer_total":100,"total":100,"currency":"CNY","payer_currency":"CNY"}
|
* mchid : 1230000109
|
* trade_state : SUCCESS
|
* bank_type : CMC
|
* promotion_detail : [{"amount":100,"wechatpay_contribute":0,"coupon_id":"109519","scope":"GLOBAL","merchant_contribute":0,"name":"单品惠-6","other_contribute":0,"currency":"CNY","stock_id":"931386","goods_detail":[{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100},{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100}]},{"amount":100,"wechatpay_contribute":0,"coupon_id":"109519","scope":"GLOBAL","merchant_contribute":0,"name":"单品惠-6","other_contribute":0,"currency":"CNY","stock_id":"931386","goods_detail":[{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100},{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100}]}]
|
* success_time : 2018-06-08T10:34:56+08:00
|
* payer : {"openid":"oUpF8uMuAJO_M2pxb1Q9zNjWeS6o"}
|
* out_trade_no : 1217752501201407033233368018
|
* appid : wxd678efh567hg6787
|
* trade_state_desc : 支付失败,请重新下单支付
|
* trade_type : MICROPAY
|
* attach : 自定义数据
|
* scene_info : {"device_id":"013467007045764"}
|
*/
|
|
private String transaction_id;
|
private AmountBean amount;
|
private String mchid;
|
private String trade_state;
|
private String bank_type;
|
private String success_time;
|
private PayerBean payer;
|
private String out_trade_no;
|
private String appid;
|
private String trade_state_desc;
|
private String trade_type;
|
private String attach;
|
private SceneInfoBean scene_info;
|
private List<PromotionDetailBean> promotion_detail;
|
|
public String getTransaction_id() {
|
return transaction_id;
|
}
|
|
public void setTransaction_id(String transaction_id) {
|
this.transaction_id = transaction_id;
|
}
|
|
public AmountBean getAmount() {
|
return amount;
|
}
|
|
public void setAmount(AmountBean amount) {
|
this.amount = amount;
|
}
|
|
public String getMchid() {
|
return mchid;
|
}
|
|
public void setMchid(String mchid) {
|
this.mchid = mchid;
|
}
|
|
public String getTrade_state() {
|
return trade_state;
|
}
|
|
public void setTrade_state(String trade_state) {
|
this.trade_state = trade_state;
|
}
|
|
public String getBank_type() {
|
return bank_type;
|
}
|
|
public void setBank_type(String bank_type) {
|
this.bank_type = bank_type;
|
}
|
|
public String getSuccess_time() {
|
return success_time;
|
}
|
|
public void setSuccess_time(String success_time) {
|
this.success_time = success_time;
|
}
|
|
public PayerBean getPayer() {
|
return payer;
|
}
|
|
public void setPayer(PayerBean payer) {
|
this.payer = payer;
|
}
|
|
public String getOut_trade_no() {
|
return out_trade_no;
|
}
|
|
public void setOut_trade_no(String out_trade_no) {
|
this.out_trade_no = out_trade_no;
|
}
|
|
public String getAppid() {
|
return appid;
|
}
|
|
public void setAppid(String appid) {
|
this.appid = appid;
|
}
|
|
public String getTrade_state_desc() {
|
return trade_state_desc;
|
}
|
|
public void setTrade_state_desc(String trade_state_desc) {
|
this.trade_state_desc = trade_state_desc;
|
}
|
|
public String getTrade_type() {
|
return trade_type;
|
}
|
|
public void setTrade_type(String trade_type) {
|
this.trade_type = trade_type;
|
}
|
|
public String getAttach() {
|
return attach;
|
}
|
|
public void setAttach(String attach) {
|
this.attach = attach;
|
}
|
|
public SceneInfoBean getScene_info() {
|
return scene_info;
|
}
|
|
public void setScene_info(SceneInfoBean scene_info) {
|
this.scene_info = scene_info;
|
}
|
|
public List<PromotionDetailBean> getPromotion_detail() {
|
return promotion_detail;
|
}
|
|
public void setPromotion_detail(List<PromotionDetailBean> promotion_detail) {
|
this.promotion_detail = promotion_detail;
|
}
|
|
public static class AmountBean {
|
/**
|
* payer_total : 100
|
* total : 100
|
* currency : CNY
|
* payer_currency : CNY
|
*/
|
|
private int payer_total;
|
private int total;
|
private String currency;
|
private String payer_currency;
|
|
public int getPayer_total() {
|
return payer_total;
|
}
|
|
public void setPayer_total(int payer_total) {
|
this.payer_total = payer_total;
|
}
|
|
public int getTotal() {
|
return total;
|
}
|
|
public void setTotal(int total) {
|
this.total = total;
|
}
|
|
public String getCurrency() {
|
return currency;
|
}
|
|
public void setCurrency(String currency) {
|
this.currency = currency;
|
}
|
|
public String getPayer_currency() {
|
return payer_currency;
|
}
|
|
public void setPayer_currency(String payer_currency) {
|
this.payer_currency = payer_currency;
|
}
|
}
|
|
public static class PayerBean {
|
/**
|
* openid : oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
|
*/
|
|
private String openid;
|
|
public String getOpenid() {
|
return openid;
|
}
|
|
public void setOpenid(String openid) {
|
this.openid = openid;
|
}
|
}
|
|
public static class SceneInfoBean {
|
/**
|
* device_id : 013467007045764
|
*/
|
|
private String device_id;
|
|
public String getDevice_id() {
|
return device_id;
|
}
|
|
public void setDevice_id(String device_id) {
|
this.device_id = device_id;
|
}
|
}
|
|
public static class PromotionDetailBean {
|
/**
|
* amount : 100
|
* wechatpay_contribute : 0
|
* coupon_id : 109519
|
* scope : GLOBAL
|
* merchant_contribute : 0
|
* name : 单品惠-6
|
* other_contribute : 0
|
* currency : CNY
|
* stock_id : 931386
|
* goods_detail : [{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100},{"goods_remark":"商品备注信息","quantity":1,"discount_amount":1,"goods_id":"M1006","unit_price":100}]
|
*/
|
|
private int amount;
|
private int wechatpay_contribute;
|
private String coupon_id;
|
private String scope;
|
private int merchant_contribute;
|
private String name;
|
private int other_contribute;
|
private String currency;
|
private String stock_id;
|
private List<GoodsDetailBean> goods_detail;
|
|
public int getAmount() {
|
return amount;
|
}
|
|
public void setAmount(int amount) {
|
this.amount = amount;
|
}
|
|
public int getWechatpay_contribute() {
|
return wechatpay_contribute;
|
}
|
|
public void setWechatpay_contribute(int wechatpay_contribute) {
|
this.wechatpay_contribute = wechatpay_contribute;
|
}
|
|
public String getCoupon_id() {
|
return coupon_id;
|
}
|
|
public void setCoupon_id(String coupon_id) {
|
this.coupon_id = coupon_id;
|
}
|
|
public String getScope() {
|
return scope;
|
}
|
|
public void setScope(String scope) {
|
this.scope = scope;
|
}
|
|
public int getMerchant_contribute() {
|
return merchant_contribute;
|
}
|
|
public void setMerchant_contribute(int merchant_contribute) {
|
this.merchant_contribute = merchant_contribute;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public int getOther_contribute() {
|
return other_contribute;
|
}
|
|
public void setOther_contribute(int other_contribute) {
|
this.other_contribute = other_contribute;
|
}
|
|
public String getCurrency() {
|
return currency;
|
}
|
|
public void setCurrency(String currency) {
|
this.currency = currency;
|
}
|
|
public String getStock_id() {
|
return stock_id;
|
}
|
|
public void setStock_id(String stock_id) {
|
this.stock_id = stock_id;
|
}
|
|
public List<GoodsDetailBean> getGoods_detail() {
|
return goods_detail;
|
}
|
|
public void setGoods_detail(List<GoodsDetailBean> goods_detail) {
|
this.goods_detail = goods_detail;
|
}
|
|
public static class GoodsDetailBean {
|
/**
|
* goods_remark : 商品备注信息
|
* quantity : 1
|
* discount_amount : 1
|
* goods_id : M1006
|
* unit_price : 100
|
*/
|
|
private String goods_remark;
|
private int quantity;
|
private int discount_amount;
|
private String goods_id;
|
private int unit_price;
|
|
public String getGoods_remark() {
|
return goods_remark;
|
}
|
|
public void setGoods_remark(String goods_remark) {
|
this.goods_remark = goods_remark;
|
}
|
|
public int getQuantity() {
|
return quantity;
|
}
|
|
public void setQuantity(int quantity) {
|
this.quantity = quantity;
|
}
|
|
public int getDiscount_amount() {
|
return discount_amount;
|
}
|
|
public void setDiscount_amount(int discount_amount) {
|
this.discount_amount = discount_amount;
|
}
|
|
public String getGoods_id() {
|
return goods_id;
|
}
|
|
public void setGoods_id(String goods_id) {
|
this.goods_id = goods_id;
|
}
|
|
public int getUnit_price() {
|
return unit_price;
|
}
|
|
public void setUnit_price(int unit_price) {
|
this.unit_price = unit_price;
|
}
|
}
|
}
|
}
|