getting started with ecocash integration
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
package zw.qantra.tm.domain.services.processors.payments;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import zw.qantra.tm.domain.models.Transaction;
|
||||||
|
import zw.qantra.tm.domain.services.processors.TransactionProcessorInterface;
|
||||||
|
|
||||||
|
@Service("REQUEST_ECOCASH_REMOTE")
|
||||||
|
public class EcocashRemotePaymentProcessor implements TransactionProcessorInterface {
|
||||||
|
@Override
|
||||||
|
public Object process(Transaction transaction) throws Exception {
|
||||||
|
return transaction;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Object reverse(Transaction transaction) {
|
||||||
|
return transaction;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Object poll(Transaction transaction) throws Exception {
|
||||||
|
return transaction;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user