新增转账类型定义

This commit is contained in:
egan
2018-09-28 20:57:26 +08:00
parent 5b06b9ec6a
commit aff3d0c6a5
2 changed files with 35 additions and 1 deletions

View File

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

View File

@@ -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();
}