weixin.popular.bean.paymch.SecapiPayRefund Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weixin-popular Show documentation
Show all versions of weixin-popular Show documentation
The weixin-popular is a JAVA SDK for weixin. Weixin web url is https://mp.weixin.qq.com.
package weixin.popular.bean.paymch;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.math.BigDecimal;
/**
* 退款申请
*
* @author Yi
*
*/
@XmlRootElement(name = "xml")
@XmlAccessorType(XmlAccessType.FIELD)
public class SecapiPayRefund {
private String appid;
private String mch_id;
private String device_info;
private String nonce_str;
private String sign;
private String sign_type;
private String transaction_id;
private String out_trade_no;
private String out_refund_no;
private Integer total_fee;
private BigDecimal order_amount;
private Integer refund_fee;
private String refund_fee_type;
/**
* @since 2.8.21
*/
private String refund_desc;
private String op_user_id;
/**
* @since 2.8.5
*/
private String sub_appid;
/**
* @since 2.8.5
*/
private String sub_mch_id;
/**
* @since 2.8.5
*/
private String refund_account; //退款资金来源
//REFUND_SOURCE_UNSETTLED_FUNDS ---未结算资金退款(默认使用未结算资金退款)
//REFUND_SOURCE_RECHARGE_FUNDS ---可用余额退款
/**
* @since 2.8.19
*/
private String notify_url;
public String getAppid() {
return appid;
}
public void setAppid(String appid) {
this.appid = appid;
}
public String getMch_id() {
return mch_id;
}
public void setMch_id(String mch_id) {
this.mch_id = mch_id;
}
public String getDevice_info() {
return device_info;
}
public void setDevice_info(String device_info) {
this.device_info = device_info;
}
public String getNonce_str() {
return nonce_str;
}
public void setNonce_str(String nonce_str) {
this.nonce_str = nonce_str;
}
public String getSign() {
return sign;
}
public void setSign(String sign) {
this.sign = sign;
}
public String getTransaction_id() {
return transaction_id;
}
public void setTransaction_id(String transaction_id) {
this.transaction_id = transaction_id;
}
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 getOut_refund_no() {
return out_refund_no;
}
public void setOut_refund_no(String out_refund_no) {
this.out_refund_no = out_refund_no;
}
public Integer getTotal_fee() {
return total_fee;
}
public void setTotal_fee(Integer total_fee) {
this.total_fee = total_fee;
}
public Integer getRefund_fee() {
return refund_fee;
}
public void setRefund_fee(Integer refund_fee) {
this.refund_fee = refund_fee;
}
public BigDecimal getOrder_amount() {
return order_amount;
}
public void setOrder_amount(BigDecimal order_amount) {
this.order_amount = order_amount;
}
public String getOp_user_id() {
return op_user_id;
}
public void setOp_user_id(String op_user_id) {
this.op_user_id = op_user_id;
}
public String getRefund_fee_type() {
return refund_fee_type;
}
public void setRefund_fee_type(String refund_fee_type) {
this.refund_fee_type = refund_fee_type;
}
public String getSub_appid() {
return sub_appid;
}
public void setSub_appid(String sub_appid) {
this.sub_appid = sub_appid;
}
public String getSub_mch_id() {
return sub_mch_id;
}
public void setSub_mch_id(String sub_mch_id) {
this.sub_mch_id = sub_mch_id;
}
public String getRefund_account() {
return refund_account;
}
public void setRefund_account(String refund_account) {
this.refund_account = refund_account;
}
public String getSign_type() {
return sign_type;
}
/**
* 签名类型
* @since 2.8.5
* @param sign_type HMAC-SHA256和MD5
*/
public void setSign_type(String sign_type) {
this.sign_type = sign_type;
}
public String getNotify_url() {
return notify_url;
}
public void setNotify_url(String notify_url) {
this.notify_url = notify_url;
}
public String getRefund_desc() {
return refund_desc;
}
public void setRefund_desc(String refund_desc) {
this.refund_desc = refund_desc;
}
}