Rev 23560 | Rev 23627 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.recharge;import org.springframework.stereotype.Service;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.RechargeCommissionRequest;import com.spice.profitmandi.common.model.RechargeCredential;import com.spice.profitmandi.common.model.RechargeRequest;import com.spice.profitmandi.common.model.RechargeResponse;@Servicepublic interface RechargeService {public RechargeResponse doRecharge(String oxigenRechargeTransactionUrl, String oxigenRechargeAuthKey, String rechargeValidationUrl,String rechargeValidationAuthKey, RechargeCredential thinkWalnutDigitalRechargeTransactionMobileCredential,RechargeCredential thinkWalnutDigitalRechargeTransactionDthCredential, int retailerId, RechargeRequest rechargeRequest)throws ProfitMandiBusinessException;public RechargeResponse checkStatus(String oxigenRechargeEnquiryUrl, String oxigenRechargeAuthKey,RechargeCredential thinkWalnutDigitalRechargeEnquiryCredential, int retailerId, String requestId)throws ProfitMandiBusinessException;public void createRechargeCommission(RechargeCommissionRequest rechargeCommissionRequest) throws ProfitMandiBusinessException;public void updateRechargeCommission(int operatorId, int providerId, String amountTypeString, float amount) throws ProfitMandiBusinessException;public void addCommissionToWallet();}