public class PaymentGatewayHeartland extends Object implements PaymentGateway
Constructor and Description |
---|
PaymentGatewayHeartland(AppProperties props)
Creates a new instance of PaymentGatewayHeartland
|
Modifier and Type | Method and Description |
---|---|
Boolean |
cancelPayment(Payment payment)
cancelPayment is only used in Payment#revertGatewyPayment
|
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() |
HeartlandBatchSummaryResponse |
reportBatchSummary() |
boolean |
supportsReconciliation() |
public PaymentGatewayHeartland(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 HeartlandBatchSummaryResponse reportBatchSummary()
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.