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 PaymentGateway
public Boolean reconciliateWithClosure()
reconciliateWithClosure
in interface PaymentGateway
public Boolean cancelPayment(Payment payment)
PaymentGateway
cancelPayment
in interface PaymentGateway
public Boolean logoff()
public Boolean initTerminal()
public Boolean initIngenico()
public Boolean diagnosis()
public Boolean cardSwipe()
public PaymentPanel getInfoMagcardFactory(JPaymentNotifier notifier)
getInfoMagcardFactory
in interface PaymentGateway
notifier
- notifier.isTopUp indicates a TOPUP rewquest. If false, a
normal payment request, PURCHASE or REFUND will be performed.public void execute(PaymentInfoMagcard payinfo)
PaymentGateway
execute
in interface PaymentGateway
payinfo
- The payinfo object stores all transaction parameters including the return values.public boolean supportsReconciliation()
supportsReconciliation
in interface PaymentGateway
Copyright © 2021. All rights reserved.