public class PaymentGatewayOPI extends Object implements PaymentGateway
| Constructor and Description |
|---|
PaymentGatewayOPI()
Creates a new instance of PaymentGatewayOPI
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
cancelPayment(Payment payment)
cancelPayment is only used in Payment#revertGatewyPayment
|
Boolean |
cardSwipe() |
Boolean |
diagnosis() |
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)
Returns the payment panel to be used to communicate with the gateway.
|
Boolean |
initIngenico() |
Boolean |
initTerminal() |
boolean |
login() |
Boolean |
logoff() |
Boolean |
reconciliate() |
Boolean |
reconciliateWithClosure() |
boolean |
supportsReconciliation() |
public PaymentGatewayOPI()
public boolean login()
public Boolean reconciliate()
reconciliate in interface PaymentGatewaypublic Boolean reconciliateWithClosure()
reconciliateWithClosure in interface PaymentGatewaypublic Boolean cancelPayment(Payment payment)
PaymentGatewaycancelPayment in interface PaymentGatewaypublic Boolean logoff()
public Boolean initTerminal()
public Boolean initIngenico()
public Boolean diagnosis()
public Boolean cardSwipe()
public PaymentPanel getInfoMagcardFactory(JPaymentNotifier notifier)
getInfoMagcardFactory in interface PaymentGatewaynotifier - notifier.isTopUp indicates a TOPUP rewquest. If false, a
normal payment request, PURCHASE or REFUND will be performed.public void execute(PaymentInfoMagcard payinfo)
PaymentGatewayexecute in interface PaymentGatewaypayinfo - The payinfo object stores all transaction parameters including the return values.public boolean supportsReconciliation()
supportsReconciliation in interface PaymentGatewayCopyright © 2021. All rights reserved.