<NME> PayoneerRequestBean.java
<BEF> package com.egzosn.pay.payoneer.bean;

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;
        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;
    }
}

<MSG> Payoneer 支付

<DFF> @@ -1,5 +1,3 @@
-package com.egzosn.pay.payoneer.bean;
-
 import com.alibaba.fastjson.annotation.JSONField;
 import com.egzosn.pay.common.bean.CurType;
 
@@ -19,7 +17,10 @@ public class PayoneerRequestBean {
         this.payeeId = payeeId;
         this.amount = amount;
         this.clientReferenceId = clientReferenceId;
-        this.currency = currency;
+        if (null == currency){
+            currency = CurType.USD;
+        }
+            this.currency = currency;
         this.description = description;
     }
 

Payoneer 支付