org.redkalex.pay.PayRefundResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redkale-plugins Show documentation
Show all versions of redkale-plugins Show documentation
Redkale-Plugins -- java framework
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.redkalex.pay;
import java.util.Map;
import org.redkale.convert.ConvertDisabled;
/**
* 详情见: https://redkale.org
*
* @author zhangjx
*/
public class PayRefundResponse extends PayResponse {
protected long refundedMoney; // 已退款金额。 单位:分
@Override
public PayRefundResponse retcode(int retcode) {
this.retcode = retcode;
this.retinfo = PayRetCodes.retInfo(retcode);
return this;
}
@Override
public PayRefundResponse retinfo(String retinfo) {
if (retinfo != null) this.retinfo = retinfo;
return this;
}
@Override
public PayRefundResponse result(Map result) {
this.setResult(result);
return this;
}
public long getRefundedMoney() {
return refundedMoney;
}
public void setRefundedMoney(long refundedMoney) {
this.refundedMoney = refundedMoney;
}
@Deprecated
@ConvertDisabled
public long getRefundedmoney() {
return refundedMoney;
}
@Deprecated
@ConvertDisabled
public void setRefundedmoney(long refundedMoney) {
this.refundedMoney = refundedMoney;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy