public class PaymentGatewayFake extends Object implements PaymentGateway
Constructor and Description |
---|
PaymentGatewayFake(AppProperties props)
Creates a new instance of PaymentGatewayAuthorizeNet
|
Modifier and Type | Method and Description |
---|---|
Boolean |
cancelPayment(Payment payment)
cancelPayment is only used in Payment#revertGatewyPayment
|
void |
doAuthCapture(PaymentInfoMagcard payinfo) |
void |
execute(PaymentInfoMagcard payinfo)
Execute must pass a payment request to the gateway using the parameters in PaymentInfoMagcard and write
the results back into PaymentInfoMagcard.
|
PaymentPanel |
getInfoMagcardFactory(JPaymentNotifier notifier) |
Boolean |
reconciliate() |
Boolean |
reconciliateWithClosure() |
boolean |
supportsReconciliation() |
public PaymentGatewayFake(AppProperties props)
props
- public PaymentPanel getInfoMagcardFactory(JPaymentNotifier notifier)
getInfoMagcardFactory
in interface PaymentGateway
public void execute(PaymentInfoMagcard payinfo)
PaymentGateway
execute
in interface PaymentGateway
payinfo
- The payinfo object stores all transaction parameters including the return values.public void doAuthCapture(PaymentInfoMagcard payinfo)
public Boolean reconciliate()
reconciliate
in interface PaymentGateway
public Boolean reconciliateWithClosure()
reconciliateWithClosure
in interface PaymentGateway
public Boolean cancelPayment(Payment payment)
PaymentGateway
cancelPayment
in interface PaymentGateway
public boolean supportsReconciliation()
supportsReconciliation
in interface PaymentGateway
Copyright © 2021. All rights reserved.