All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.anyline.wechat.entity.v3.WechatTradeNotify Maven / Gradle / Ivy
/*
* Copyright 2006-2023 www.anyline.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.anyline.wechat.entity.v3;
import java.util.Map;
public class WechatTradeNotify {
private String appid ;//公众号ID string[1,32] 是 直连商户申请的公众号或移动应用appid.
private String mchid ;//直连商户号 sring[1,32] 是 直连商户的商户号,由微信支付生成并下发.
private String out_trade_no ;//商户订单号 sring[6,32] 是 商户系统内部订单号,只能是数字、大小写字母_-*且在同一个商户号下唯一,详见【商户订单号】. 特殊规则:最小字符长度为6 示例值:1217752501201407033233368018
private String transaction_id ;//微信支付订单号 sring[1,32] 否 微信支付系统生成的订单号. 示例值:1217752501201407033233368018
private String trade_type ;//交易类型 sring[1,16] 否 交易类型,枚举值: JSAPI:公众号支付 NATIVE:扫码支付 APP:APP支付 MICROPAY:付款码支付 MWEB:H5支付 FACEPAY:刷脸支付 示例值:MICROPAY
private String trade_state ;//交易状态 sring[1,32] 是 交易状态,枚举值: SUCCESS:支付成功 REFUND:转入退款 NOTPAY:未支付 CLOSED:已关闭 REVOKED:已撤销(付款码支付) USERPAYING:用户支付中(付款码支付) PAYERROR:支付失败(其他原因,如银行返回失败) 示例值:SUCCESS
private String trade_state_desc ;//交易状态描述 sring[1,256] 是 交易状态描述 示例值:支付失败,请重新下单支付
private String bank_type ;//付款银行 sring[1,16] 否 银行类型,采用字符串类型的银行标识. 示例值:CMC
private String attach ;//附加数据 sring[1,128] 否 附加数据,在查询API和支付通知中原样返回,可作为自定义参数使用 示例值:自定义数据
private String success_time ;//支付完成时间 sring[1,64] 否 支付完成时间,遵循rfc3339标准格式,格式为YYYY-MM-DDTHH:mm:ss+TIMEZONE,YYYY-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss表示时分秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间).例如:2015-05-20T13:29:35+08:00表示,北京时间2015年5月20日 13点29分35秒. 示例值:2018-06-08T10:34:56+08:00
private Map combine_payer_info ;//支付者 object 否 示例值:见请求示例
private Map amount ;//订单金额信息
private Map scene_info ;//场景信息
private Map promotion_detail ; // 优惠功能
public String getAppid() {
return appid;
}
public void setAppid(String appid) {
this.appid = appid;
}
public String getMchid() {
return mchid;
}
public void setMchid(String mchid) {
this.mchid = mchid;
}
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 getTransaction_id() {
return transaction_id;
}
public void setTransaction_id(String transaction_id) {
this.transaction_id = transaction_id;
}
public String getTrade_type() {
return trade_type;
}
public void setTrade_type(String trade_type) {
this.trade_type = trade_type;
}
public String getTrade_state() {
return trade_state;
}
public void setTrade_state(String trade_state) {
this.trade_state = trade_state;
}
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 getBank_type() {
return bank_type;
}
public void setBank_type(String bank_type) {
this.bank_type = bank_type;
}
public String getAttach() {
return attach;
}
public void setAttach(String attach) {
this.attach = attach;
}
public String getSuccess_time() {
return success_time;
}
public void setSuccess_time(String success_time) {
this.success_time = success_time;
}
public Map getCombine_payer_info() {
return combine_payer_info;
}
public void setCombine_payer_info(Map combine_payer_info) {
this.combine_payer_info = combine_payer_info;
}
public Map getAmount() {
return amount;
}
public void setAmount(Map amount) {
this.amount = amount;
}
public Map getScene_info() {
return scene_info;
}
public void setScene_info(Map scene_info) {
this.scene_info = scene_info;
}
public Map getPromotion_detail() {
return promotion_detail;
}
public void setPromotion_detail(Map promotion_detail) {
this.promotion_detail = promotion_detail;
}
}