public class PaymentGatewayMemberCard extends Object implements PaymentGateway
Constructor and Description |
---|
PaymentGatewayMemberCard(AppProperties app)
Creates a new instance of PaymentGatewayMemberCard
|
Modifier and Type | Method and Description |
---|---|
Boolean |
cancelPayment(Payment payment)
cancelPayment is only used in Payment#revertGatewyPayment
|
void |
execute(PaymentInfoMagcard pinfo)
Transmit is the operation executing a gateway request based on
PaymentInfoMembercard.
|
PaymentPanel |
getInfoMagcardFactory(JPaymentNotifier notifier)
Returns the payment panel to be used to communicate with the gateway.
|
Boolean |
reconciliate()
TODO reconciliate must print the totals of membercard payments grouped
by card types
|
Boolean |
reconciliateWithClosure() |
boolean |
supportsReconciliation() |
public PaymentGatewayMemberCard(AppProperties app)
app
- public PaymentPanel getInfoMagcardFactory(JPaymentNotifier notifier)
getInfoMagcardFactory
in interface PaymentGateway
notifier
- notifier.isTopUp indicates a TOPUP rewquest. If false, a
normal payment request, ENQUIRY, PURCHASE or REFUND will be performed.public void execute(PaymentInfoMagcard pinfo)
To customize gateway operation look at the transmitted string and the returned params.
POST or GET requests can be configured in config. *
execute
in interface PaymentGateway
pinfo
- carries the information for the payment request.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.