|
|
|
@ -3,6 +3,7 @@ package au.com.royalpay.payment.manage.merchants.core;
|
|
|
|
|
import au.com.royalpay.payment.core.exceptions.EmailException;
|
|
|
|
|
import au.com.royalpay.payment.manage.appclient.beans.AppClientBean;
|
|
|
|
|
import au.com.royalpay.payment.manage.appclient.beans.AppMerchantBean;
|
|
|
|
|
import au.com.royalpay.payment.manage.appclient.beans.RSvcMchBean;
|
|
|
|
|
import au.com.royalpay.payment.manage.merchants.beans.*;
|
|
|
|
|
import au.com.royalpay.payment.manage.tradelog.beans.TradeLogQuery;
|
|
|
|
|
import au.com.royalpay.payment.tools.merchants.beans.QRCodeConfig;
|
|
|
|
@ -40,7 +41,7 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
JSONObject listClients(JSONObject manager, PartnerQuery query);
|
|
|
|
|
|
|
|
|
|
void exportClients(JSONObject manager,PartnerQuery query,HttpServletResponse resp);
|
|
|
|
|
void exportClients(JSONObject manager, PartnerQuery query, HttpServletResponse resp);
|
|
|
|
|
|
|
|
|
|
JSONObject listClientsByApp(JSONObject manager, AppMerchantBean query);
|
|
|
|
|
|
|
|
|
@ -136,7 +137,7 @@ public interface ClientManager {
|
|
|
|
|
void toggleAccountReceiveNoticeByOpenId(String openid, boolean enable);
|
|
|
|
|
|
|
|
|
|
@Transactional
|
|
|
|
|
void togglePayNotice(JSONObject account,String clientMoniker, boolean enable);
|
|
|
|
|
void togglePayNotice(JSONObject account, String clientMoniker, boolean enable);
|
|
|
|
|
|
|
|
|
|
@Transactional
|
|
|
|
|
void changeRole(JSONObject manager, String clientMoniker, String accountId, int role);
|
|
|
|
@ -150,7 +151,7 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
JSONObject getAccountByOpenId(String openid);
|
|
|
|
|
|
|
|
|
|
void updateClientBDUser(JSONObject account,String clientMoniker, int managerId);
|
|
|
|
|
void updateClientBDUser(JSONObject account, String clientMoniker, int managerId);
|
|
|
|
|
|
|
|
|
|
void refreshClientCredentialCode(JSONObject manager, String clientMoniker);
|
|
|
|
|
|
|
|
|
@ -183,13 +184,13 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
JSONObject getQRCode(JSONObject manager, String clientMoniker, QRCodeConfig config);
|
|
|
|
|
|
|
|
|
|
String getQrCodeBoard(JSONObject client, QRCodeConfig config,JSONObject account,String plantform);
|
|
|
|
|
String getQrCodeBoard(JSONObject client, QRCodeConfig config, JSONObject account, String plantform);
|
|
|
|
|
|
|
|
|
|
void writeAggregateQrCodeBoard(JSONObject manager, String clientMoniker, QRCodeConfig config, OutputStream ous,String plantform);
|
|
|
|
|
void writeAggregateQrCodeBoard(JSONObject manager, String clientMoniker, QRCodeConfig config, OutputStream ous, String plantform);
|
|
|
|
|
|
|
|
|
|
void writeCBBankAggregateQrCodeBoard(JSONObject manager, String clientMoniker, OutputStream ous,String plantform);
|
|
|
|
|
void writeCBBankAggregateQrCodeBoard(JSONObject manager, String clientMoniker, OutputStream ous, String plantform);
|
|
|
|
|
|
|
|
|
|
void writeQrCodeBoard(JSONObject manager, String clientMoniker, QRCodeConfig config, OutputStream ous,String plantform);
|
|
|
|
|
void writeQrCodeBoard(JSONObject manager, String clientMoniker, QRCodeConfig config, OutputStream ous, String plantform);
|
|
|
|
|
|
|
|
|
|
void writePoster(JSONObject manager, String clientMoniker, OutputStream ous);
|
|
|
|
|
|
|
|
|
@ -198,7 +199,7 @@ public interface ClientManager {
|
|
|
|
|
void writeActivityPoster(JSONObject manager, String clientMoniker, String activityName, OutputStream ous) throws IOException;
|
|
|
|
|
|
|
|
|
|
@Transactional
|
|
|
|
|
void updateTimeZone(JSONObject account,String clientMoniker, String timezone);
|
|
|
|
|
void updateTimeZone(JSONObject account, String clientMoniker, String timezone);
|
|
|
|
|
|
|
|
|
|
JSONObject listClientDevices(JSONObject manager, String clientMoniker, String remark, int page, int limit, String client_type, String[] client_ids);
|
|
|
|
|
|
|
|
|
@ -219,19 +220,19 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
JSONObject getBankInfo(JSONObject manager, String clientMoniker, String bsb_no);
|
|
|
|
|
|
|
|
|
|
void setMaxOrderAmount(JSONObject account,String clientMoniker, BigDecimal limit);
|
|
|
|
|
void setMaxOrderAmount(JSONObject account, String clientMoniker, BigDecimal limit);
|
|
|
|
|
|
|
|
|
|
void setClientQRCodePaySurCharge(JSONObject account,String clientMoniker, boolean paySurcharge);
|
|
|
|
|
void setClientQRCodePaySurCharge(JSONObject account, String clientMoniker, boolean paySurcharge);
|
|
|
|
|
|
|
|
|
|
void setClientApiPaySurCharge(JSONObject account,String clientMoniker, boolean enableApiSurcharge);
|
|
|
|
|
void setClientApiPaySurCharge(JSONObject account, String clientMoniker, boolean enableApiSurcharge);
|
|
|
|
|
|
|
|
|
|
void setClientRetailPaySurCharge(JSONObject account,String clientMoniker, boolean paySurcharge);
|
|
|
|
|
void setClientRetailPaySurCharge(JSONObject account, String clientMoniker, boolean paySurcharge);
|
|
|
|
|
|
|
|
|
|
void setClientCBBankPaySurCharge(JSONObject account,String clientMoniker, boolean paySurcharge);
|
|
|
|
|
void setClientCBBankPaySurCharge(JSONObject account, String clientMoniker, boolean paySurcharge);
|
|
|
|
|
|
|
|
|
|
void setClientTaxInSurcharge(JSONObject account,String clientMoniker, boolean taxInSurcharge);
|
|
|
|
|
void setClientTaxInSurcharge(JSONObject account, String clientMoniker, boolean taxInSurcharge);
|
|
|
|
|
|
|
|
|
|
void setClientCustomerTaxFree(JSONObject account,String clientMoniker, boolean customerTaxFree);
|
|
|
|
|
void setClientCustomerTaxFree(JSONObject account, String clientMoniker, boolean customerTaxFree);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> listClientsForSettlement();
|
|
|
|
|
|
|
|
|
@ -291,7 +292,7 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
void changeCBBankPaymentPage(JSONObject account, String paypad_version);
|
|
|
|
|
|
|
|
|
|
void changeManualSettle(JSONObject account , int client_id, boolean manual_settle,String operator_id,int type,String operation);
|
|
|
|
|
void changeManualSettle(JSONObject account, int client_id, boolean manual_settle, String operator_id, int type, String operation);
|
|
|
|
|
|
|
|
|
|
void changeQRCodePaySurcharge(JSONObject account, boolean paySurcharge);
|
|
|
|
|
|
|
|
|
@ -305,37 +306,37 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
void changeRequireRemark(JSONObject account, boolean requireRemark);
|
|
|
|
|
|
|
|
|
|
void changeSurcharge(JSONObject account,JSONObject device, UpdateSurchargeDTO updateSurchargeDTO);
|
|
|
|
|
void changeSurcharge(JSONObject account, JSONObject device, UpdateSurchargeDTO updateSurchargeDTO);
|
|
|
|
|
|
|
|
|
|
void refusePartner(String clientMoniker, JSONObject manager, String refuse_remark);
|
|
|
|
|
|
|
|
|
|
JSONArray getAllClientIds(int clientId);
|
|
|
|
|
|
|
|
|
|
void updateAppClient(JSONObject account,int client_id, AppClientBean appClientBean);
|
|
|
|
|
void updateAppClient(JSONObject account, int client_id, AppClientBean appClientBean);
|
|
|
|
|
|
|
|
|
|
void setSkipClearing(JSONObject account,String clientMoniker, Boolean skip_clearing,String remark);
|
|
|
|
|
void setSkipClearing(JSONObject account, String clientMoniker, Boolean skip_clearing, String remark);
|
|
|
|
|
|
|
|
|
|
void setSurchargeMode(JSONObject account, String clientMoniker, String surcharge_mode);
|
|
|
|
|
|
|
|
|
|
JSONObject surchargeAccount(JSONObject account, String clientMoniker);
|
|
|
|
|
|
|
|
|
|
void setAllowSurchargeCredit(JSONObject account,String clientMoniker, Boolean allow_surcharge_credit);
|
|
|
|
|
void setAllowSurchargeCredit(JSONObject account, String clientMoniker, Boolean allow_surcharge_credit);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> getAccountTransactions(JSONObject account,String clientMoniker);
|
|
|
|
|
List<JSONObject> getAccountTransactions(JSONObject account, String clientMoniker);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> getAccountDetailByMonths(JSONObject account,String clientMoniker);
|
|
|
|
|
List<JSONObject> getAccountDetailByMonths(JSONObject account, String clientMoniker);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> getAccountTransactionsByDetailId(JSONObject account,String clientMoniker, String detailId);
|
|
|
|
|
List<JSONObject> getAccountTransactionsByDetailId(JSONObject account, String clientMoniker, String detailId);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> getAccountMonthDetails(JSONObject account,String clientMoniker);
|
|
|
|
|
List<JSONObject> getAccountMonthDetails(JSONObject account, String clientMoniker);
|
|
|
|
|
|
|
|
|
|
void saveAccountTransaction(JSONObject account,String clientMoniker, JSONObject transaction);
|
|
|
|
|
void saveAccountTransaction(JSONObject account, String clientMoniker, JSONObject transaction);
|
|
|
|
|
|
|
|
|
|
void enableGatewayUpgrade(JSONObject account,String clientMoniker, boolean gatewayUpgrade);
|
|
|
|
|
void enableGatewayUpgrade(JSONObject account, String clientMoniker, boolean gatewayUpgrade);
|
|
|
|
|
|
|
|
|
|
void enableGatewayAlipayOnline(JSONObject account,String clientMoniker, boolean gatewayAlipayOnline);
|
|
|
|
|
void enableGatewayAlipayOnline(JSONObject account, String clientMoniker, boolean gatewayAlipayOnline);
|
|
|
|
|
|
|
|
|
|
void setCustomerSurchargeRate(JSONObject account,String clientMoniker, BigDecimal customer_surcharge_rate);
|
|
|
|
|
void setCustomerSurchargeRate(JSONObject account, String clientMoniker, BigDecimal customer_surcharge_rate);
|
|
|
|
|
|
|
|
|
|
void setPartnerPublicKeyConfig(JSONObject account, String ipWhitelistConfig);
|
|
|
|
|
|
|
|
|
@ -343,17 +344,17 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
void setIpWhitelistConfig(JSONObject account, String ipWhitelistConfig);
|
|
|
|
|
|
|
|
|
|
void setOrderExpiryConfig(JSONObject account,String clientMoniker, String orderExpiryConfig);
|
|
|
|
|
void setOrderExpiryConfig(JSONObject account, String clientMoniker, String orderExpiryConfig);
|
|
|
|
|
|
|
|
|
|
void getAgreeFile(String clientMoniker, JSONObject manager) throws Exception;
|
|
|
|
|
|
|
|
|
|
void getAggregateAgreeFile(String clientMoniker, JSONObject manager,boolean renewal) throws Exception;
|
|
|
|
|
void getAggregateAgreeFile(String clientMoniker, JSONObject manager, boolean renewal) throws Exception;
|
|
|
|
|
|
|
|
|
|
void getNewAggregateAgreeFile(String clientMoniker, JSONObject manager,boolean renewal) throws Exception;
|
|
|
|
|
void getNewAggregateAgreeFile(String clientMoniker, JSONObject manager, boolean renewal) throws Exception;
|
|
|
|
|
|
|
|
|
|
void temporaryExportPdf(String clientMoniker, JSONObject manager, HttpServletResponse httpResponse) throws Exception;
|
|
|
|
|
|
|
|
|
|
void importAgreeFile(String clientMoniker, JSONObject manager, String sourceFile,boolean renewal);
|
|
|
|
|
void importAgreeFile(String clientMoniker, JSONObject manager, String sourceFile, boolean renewal);
|
|
|
|
|
|
|
|
|
|
void completeAgree(String clientMoniker, JSONObject manager);
|
|
|
|
|
|
|
|
|
@ -365,17 +366,18 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 导出清算日志
|
|
|
|
|
*
|
|
|
|
|
* @param manager
|
|
|
|
|
* @param clientMoniker
|
|
|
|
|
* @param query
|
|
|
|
|
*/
|
|
|
|
|
void excelSettlementLog(JSONObject manager, String clientMoniker, TradeLogQuery query,HttpServletResponse response);
|
|
|
|
|
void excelSettlementLog(JSONObject manager, String clientMoniker, TradeLogQuery query, HttpServletResponse response);
|
|
|
|
|
|
|
|
|
|
void updateRefundPwd(JSONObject account, String pwd);
|
|
|
|
|
|
|
|
|
|
void validRefundPwd(JSONObject account, String pwd);
|
|
|
|
|
|
|
|
|
|
void setWeekendDelay(JSONObject account,String client_moniker,int clientId, boolean delay);
|
|
|
|
|
void setWeekendDelay(JSONObject account, String client_moniker, int clientId, boolean delay);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> listSubMerchantIdApplys(JSONObject manager, String clientMoniker);
|
|
|
|
|
|
|
|
|
@ -383,7 +385,7 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
List<JSONObject> listYeepaySubMerchantIdApplys(JSONObject manager, String clientMoniker);
|
|
|
|
|
|
|
|
|
|
String subMerchantApplication(String clientMoniker, SubMerchantIdApply subMerchantApply,JSONObject manager);
|
|
|
|
|
String subMerchantApplication(String clientMoniker, SubMerchantIdApply subMerchantApply, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
void registerAlipayGms(String clientMoniker, JSONObject manager);
|
|
|
|
|
|
|
|
|
@ -399,25 +401,25 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
String queryAlipayOnlineGmsStatus(String clientMoniker, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> listMerchantIds(String clientMoniker,JSONObject manager);
|
|
|
|
|
List<JSONObject> listMerchantIds(String clientMoniker, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
void clearCacheSubMerchantIdApplices(String clientMoniker);
|
|
|
|
|
|
|
|
|
|
JSONObject getCheckClientInfo(int client_id,String account_id, String channel);
|
|
|
|
|
JSONObject getCheckClientInfo(int client_id, String account_id, String channel);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> getClientSubMerchantIdLogs(String clientMoniker,JSONObject manager);
|
|
|
|
|
List<JSONObject> getClientSubMerchantIdLogs(String clientMoniker, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
void applyToCompliance(String client_moniker, JSONObject account);
|
|
|
|
|
|
|
|
|
|
void sendVerifyEmail(JSONObject client,String accountId);
|
|
|
|
|
void sendVerifyEmail(JSONObject client, String accountId);
|
|
|
|
|
|
|
|
|
|
JSONObject getWithConfig(int client_id);
|
|
|
|
|
|
|
|
|
|
List<JSONObject> getClientsByBD(String bd_user);
|
|
|
|
|
|
|
|
|
|
JSONObject simpleQuery(JSONObject param, int page,int limit);
|
|
|
|
|
JSONObject simpleQuery(JSONObject param, int page, int limit);
|
|
|
|
|
|
|
|
|
|
JSONObject getByEmail(String email, int page, int limit,List<String> ExceptClientIds);
|
|
|
|
|
JSONObject getByEmail(String email, int page, int limit, List<String> ExceptClientIds);
|
|
|
|
|
|
|
|
|
|
void addSub(String client_moniker, JSONObject manager);
|
|
|
|
|
|
|
|
|
@ -425,25 +427,25 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
String getShortLink(String client_moniker);
|
|
|
|
|
|
|
|
|
|
String getGatewayShortLink(String client_moniker,String channel);
|
|
|
|
|
String getGatewayShortLink(String client_moniker, String channel);
|
|
|
|
|
|
|
|
|
|
@Transactional
|
|
|
|
|
void switchHfLink(JSONObject manager, String clientMoniker,boolean allow);
|
|
|
|
|
void switchHfLink(JSONObject manager, String clientMoniker, boolean allow);
|
|
|
|
|
|
|
|
|
|
@Transactional
|
|
|
|
|
void switchGatewayLink(JSONObject manager, String clientMoniker,String channel,boolean allow);
|
|
|
|
|
void switchGatewayLink(JSONObject manager, String clientMoniker, String channel, boolean allow);
|
|
|
|
|
|
|
|
|
|
void sendHfEmailNotice(JSONObject order);
|
|
|
|
|
|
|
|
|
|
void sendGatewayEmailNotice(JSONObject order);
|
|
|
|
|
|
|
|
|
|
void subRpayMerchantApplication(String clientMoniker,JSONObject merchantInfo, JSONObject manager);
|
|
|
|
|
void subRpayMerchantApplication(String clientMoniker, JSONObject merchantInfo, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
void subYeepayMerchantApplication(String clientMoniker,JSONObject merchantInfo, JSONObject manager);
|
|
|
|
|
void subYeepayMerchantApplication(String clientMoniker, JSONObject merchantInfo, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
void subYeepayMerchantAdd(String clientMoniker,JSONObject merchantInfo, JSONObject manager);
|
|
|
|
|
void subYeepayMerchantAdd(String clientMoniker, JSONObject merchantInfo, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
void reSubYeepayMerchantApplication(String clientMoniker,JSONObject merchantInfo, JSONObject manager);
|
|
|
|
|
void reSubYeepayMerchantApplication(String clientMoniker, JSONObject merchantInfo, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
void updateAllPartnerPassword(String clientMoniker);
|
|
|
|
|
|
|
|
|
@ -454,7 +456,7 @@ public interface ClientManager {
|
|
|
|
|
*
|
|
|
|
|
* @param clientId
|
|
|
|
|
*/
|
|
|
|
|
boolean postponeClientRate(int clientId, String clientMoniker,String nextYearExipryDate);
|
|
|
|
|
boolean postponeClientRate(int clientId, String clientMoniker, String nextYearExipryDate);
|
|
|
|
|
|
|
|
|
|
JSONObject comListPartnerSelection(JSONObject manager, PartnerQuery query);
|
|
|
|
|
|
|
|
|
@ -483,7 +485,7 @@ public interface ClientManager {
|
|
|
|
|
*/
|
|
|
|
|
void resetRefundPassword(JSONObject account, JSONObject json);
|
|
|
|
|
|
|
|
|
|
void resetRefundPasswordByManage(String clientMoniker,JSONObject manage, JSONObject json);
|
|
|
|
|
void resetRefundPasswordByManage(String clientMoniker, JSONObject manage, JSONObject json);
|
|
|
|
|
|
|
|
|
|
List<Integer> listLevel3Client(int client_id);
|
|
|
|
|
|
|
|
|
@ -505,24 +507,30 @@ public interface ClientManager {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 保存/修改增值服务配置
|
|
|
|
|
*
|
|
|
|
|
* @param clientMoniker
|
|
|
|
|
* @param incrementalService
|
|
|
|
|
*/
|
|
|
|
|
void changePartnerIncrementalService(String clientMoniker, JSONObject incrementalService,JSONObject manager);
|
|
|
|
|
void changePartnerIncrementalService(String clientMoniker, JSONObject incrementalService, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 禁用/启用增值服务
|
|
|
|
|
*
|
|
|
|
|
* @param clientMoniker
|
|
|
|
|
* @param incrementalService
|
|
|
|
|
*/
|
|
|
|
|
void changeSwitchIncrementalService(String clientMoniker, JSONObject incrementalService,JSONObject manager);
|
|
|
|
|
void changeSwitchIncrementalService(String clientMoniker, JSONObject incrementalService, JSONObject manager);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取商户增值服务详情
|
|
|
|
|
*
|
|
|
|
|
* @param clientMoniker
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
JSONObject partnerIncrementalServiceInfo(String clientMoniker, String incrementalId);
|
|
|
|
|
|
|
|
|
|
JSONObject findByLookupCode(String code);
|
|
|
|
|
|
|
|
|
|
RSvcMchBean findSvcMchByAccountId(String accountId);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|