mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-16 11:31:05 +08:00
新增支付配置泛型,使得支付扩展更方便,具体支付服务使用具体支付配置
This commit is contained in:
@@ -15,7 +15,7 @@ import java.util.Map;
|
||||
*
|
||||
*/
|
||||
|
||||
public interface AdvancedPayService extends PayService {
|
||||
public interface AdvancedPayService extends PayService<PayoneerConfigStorage> {
|
||||
/**
|
||||
* 获取授权页面
|
||||
* @param payeeId 用户id
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.egzosn.pay.payoneer.api;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.egzosn.pay.common.api.BasePayService;
|
||||
import com.egzosn.pay.common.api.PayConfigStorage;
|
||||
import com.egzosn.pay.common.bean.*;
|
||||
import com.egzosn.pay.common.bean.outbuilder.PayTextOutMessage;
|
||||
import com.egzosn.pay.common.bean.result.PayException;
|
||||
@@ -33,7 +32,7 @@ import java.util.*;
|
||||
* create 2018-01-19
|
||||
* </pre>
|
||||
*/
|
||||
public class PayoneerPayService extends BasePayService implements AdvancedPayService {
|
||||
public class PayoneerPayService extends BasePayService<PayoneerConfigStorage> implements AdvancedPayService {
|
||||
/**
|
||||
* 测试地址
|
||||
*/
|
||||
@@ -52,11 +51,11 @@ public class PayoneerPayService extends BasePayService implements AdvancedPaySer
|
||||
private final static String OUT_TRADE_NO = "client_reference_id";
|
||||
|
||||
|
||||
public PayoneerPayService(PayConfigStorage payConfigStorage) {
|
||||
public PayoneerPayService(PayoneerConfigStorage payConfigStorage) {
|
||||
super(payConfigStorage);
|
||||
}
|
||||
|
||||
public PayoneerPayService(PayConfigStorage payConfigStorage, HttpConfigStorage configStorage) {
|
||||
public PayoneerPayService(PayoneerConfigStorage payConfigStorage, HttpConfigStorage configStorage) {
|
||||
super(payConfigStorage, configStorage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user