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 PaymentGatewaynotifier - 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 PaymentGatewaypinfo - carries the information for the payment request.public Boolean reconciliate()
reconciliate in interface PaymentGatewaypublic Boolean reconciliateWithClosure()
reconciliateWithClosure in interface PaymentGatewaypublic Boolean cancelPayment(Payment payment)
PaymentGatewaycancelPayment in interface PaymentGatewaypublic boolean supportsReconciliation()
supportsReconciliation in interface PaymentGatewayCopyright © 2021. All rights reserved.