Commit 250cfbb8 authored by 刘李鹏's avatar 刘李鹏

增加枚举

parent bae82627
...@@ -11,7 +11,7 @@ public interface Acquirer { ...@@ -11,7 +11,7 @@ public interface Acquirer {
Object code(); Object code();
JsonNode pay(PayRequestData payRequestData, PayHistoryEntity payHistoryEntity); JsonNode pay(PayRequestData payRequestData, PayHistoryEntity payHistoryEntity);
void refund(); JsonNode refund();
void check(); JsonNode check();
void close(); JsonNode close();
} }
...@@ -70,17 +70,17 @@ public class MerchantAcquirer implements Acquirer { ...@@ -70,17 +70,17 @@ public class MerchantAcquirer implements Acquirer {
} }
@Override @Override
public void refund() { public JsonNode refund() {
throw new NotSupportedException(); throw new NotSupportedException();
} }
@Override @Override
public void check() { public JsonNode check() {
throw new NotSupportedException(); throw new NotSupportedException();
} }
@Override @Override
public void close() { public JsonNode close() {
throw new NotSupportedException();
} }
} }
...@@ -5,6 +5,9 @@ package cn.quant.baa.pay.dict; ...@@ -5,6 +5,9 @@ package cn.quant.baa.pay.dict;
*/ */
public enum AccessCode { public enum AccessCode {
REFUND("退款"),
CHECK("订单查询"),
CLOSE("关闭订单"),
WEB("电脑网站支付"), WEB("电脑网站支付"),
APP("应用支付"), APP("应用支付"),
H5("H5页支付"), H5("H5页支付"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment