parent
3526a49945
commit
af60c18509
@ -0,0 +1,43 @@
|
|||||||
|
package cn.iocoder.mall.pay.api.constant;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 支付通道
|
||||||
|
*/
|
||||||
|
public enum PayChannel {
|
||||||
|
|
||||||
|
WEIXIN_APP(100, "wx", "微信 App 支付"),
|
||||||
|
WEIXIN_PUB(100, "wx", "微信 JS API 支付"),
|
||||||
|
|
||||||
|
ALIPAY(200, "alipay", "微信支付");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 渠道编号
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 编码
|
||||||
|
*/
|
||||||
|
private String code;
|
||||||
|
/**
|
||||||
|
* 渠道名
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
PayChannel(Integer id, String code, String name) {
|
||||||
|
this.id = id;
|
||||||
|
this.code = code;
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCode() {
|
||||||
|
return code;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
package cn.iocoder.mall.pay.dataobject;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class PayNotifyAppLogDO {
|
||||||
|
}
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
package cn.iocoder.mall.pay.dataobject;
|
||||||
|
|
||||||
|
public class PayRefundDO {
|
||||||
|
}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
package cn.iocoder.mall.pay.dataobject;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TODO 重复支付的交易
|
||||||
|
*/
|
||||||
|
public class PayRepeatTransactionDO {
|
||||||
|
}
|
||||||
Loading…
Reference in new issue