mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-06-24 03:18:32 +08:00
Payoneer 支付
This commit is contained in:
89
pay-java-payoneer/test/java/PayoneerRequestBean.java
Normal file
89
pay-java-payoneer/test/java/PayoneerRequestBean.java
Normal file
@@ -0,0 +1,89 @@
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.egzosn.pay.common.bean.CurType;
|
||||
|
||||
/**
|
||||
* @author Fuzx
|
||||
* @create 2018 2018/1/22 0022
|
||||
*/
|
||||
public class PayoneerRequestBean {
|
||||
public PayoneerRequestBean() {
|
||||
|
||||
}
|
||||
|
||||
public PayoneerRequestBean(String payeeId) {
|
||||
this.payeeId = payeeId;
|
||||
}
|
||||
public PayoneerRequestBean(String payeeId, String amount, String clientReferenceId, CurType currency, String description) {
|
||||
this.payeeId = payeeId;
|
||||
this.amount = amount;
|
||||
this.clientReferenceId = clientReferenceId;
|
||||
if (null == currency){
|
||||
currency = CurType.USD;
|
||||
}
|
||||
this.currency = currency;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
/**
|
||||
* 收款id
|
||||
*/
|
||||
@JSONField(name="payee_id")
|
||||
private String payeeId;
|
||||
/**
|
||||
* 收款金额
|
||||
*/
|
||||
private String amount;
|
||||
/**
|
||||
* 订单id
|
||||
*/
|
||||
@JSONField(name="client_reference_id")
|
||||
private String clientReferenceId;
|
||||
/**
|
||||
* 币种
|
||||
*/
|
||||
private CurType currency;
|
||||
/**
|
||||
* 订单详情 (选填)
|
||||
*/
|
||||
private String description;
|
||||
|
||||
public String getPayeeId() {
|
||||
return payeeId;
|
||||
}
|
||||
|
||||
public void setPayeeId(String payeeId) {
|
||||
this.payeeId = payeeId;
|
||||
}
|
||||
|
||||
public String getAmount() {
|
||||
return amount;
|
||||
}
|
||||
|
||||
public void setAmount(String amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
|
||||
public String getClientReferenceId() {
|
||||
return clientReferenceId;
|
||||
}
|
||||
|
||||
public void setClientReferenceId(String clientReferenceId) {
|
||||
this.clientReferenceId = clientReferenceId;
|
||||
}
|
||||
|
||||
public CurType getCurrency() {
|
||||
return currency;
|
||||
}
|
||||
|
||||
public void setCurrency(CurType currency) {
|
||||
this.currency = currency;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user