mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-18 04:27:38 +08:00
新增转账类型定义
This commit is contained in:
@@ -18,7 +18,7 @@ public class TransferOrder {
|
||||
private String outNo;
|
||||
|
||||
/**
|
||||
* 收款方账户
|
||||
* 收款方账户, 用户openid
|
||||
*/
|
||||
private String payeeAccount ;
|
||||
|
||||
@@ -50,6 +50,10 @@ public class TransferOrder {
|
||||
* 币种
|
||||
*/
|
||||
private CurType curType;
|
||||
/**
|
||||
* 转账类型,收款方账户类型,比如支付宝账户或者银行卡
|
||||
*/
|
||||
private TransferType transferType;
|
||||
|
||||
public String getOutNo() {
|
||||
return outNo;
|
||||
@@ -114,4 +118,12 @@ public class TransferOrder {
|
||||
public void setCurType(CurType curType) {
|
||||
this.curType = curType;
|
||||
}
|
||||
|
||||
public TransferType getTransferType() {
|
||||
return transferType;
|
||||
}
|
||||
|
||||
public void setTransferType(TransferType transferType) {
|
||||
this.transferType = transferType;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.egzosn.pay.common.bean;
|
||||
|
||||
/**
|
||||
* 转账类型
|
||||
* @author egan
|
||||
* email egzosn@gmail.com
|
||||
* date 2018/9/28.19:45
|
||||
*/
|
||||
public interface TransferType extends TransactionType{
|
||||
|
||||
/**
|
||||
* 获取转账类型
|
||||
* @return 转账类型
|
||||
*/
|
||||
String getType();
|
||||
|
||||
/**
|
||||
* 获取接口
|
||||
* @return 接口
|
||||
*/
|
||||
String getMethod();
|
||||
}
|
||||
Reference in New Issue
Block a user