Package DE_EPAGES::EasyDebit::API::RemoteEasyDebit
Functions
- CancelTransaction
- CaptureAmount
- CaptureBalance
- GetConfig
- RefundAmount
CancelTransaction
excutes a cancel
Syntax |
CancelTransaction($PaymentLineItem);
|
Input |
- $PaymentLineItem (object)
- the payment line what should be cancelled
|
Return |
- success (int)
- 1 if transaction was successful
|
CaptureAmount
excutes a payment capture
Syntax |
CaptureAmount($PaymentLineItem, $Amount);
|
Input |
- $PaymentLineItem (object)
- the payment line what should be captured
- $Amount (int)
- amount to capute
|
Return |
- success (int)
- 1 if transaction was successful
|
CaptureBalance
excute a "buy" transaction to capture the remaining amount of an authorisation
Syntax |
CaptureBalance($PaymentLineItem);
|
Input |
- $PaymentLineItem (object)
- the payment line what should be "bought"
|
Return |
- success (int)
- 1 if transaction was successful
|
GetConfig
gets the current config for the payment method from easyDebit
Syntax |
GetConfig($PaymentMethod);
|
Input |
- $PaymentMethod (object)
- the PaymentMethod, for which we should read the configuration
|
Return |
- $Configuration (ref.hash.array)
- hash with configuration data
|
RefundAmount
excutes a refund
Syntax |
RefundAmount($PaymentLineItem, $Amount);
|
Input |
- $PaymentLineItem (object)
- the payment line item for what the refund should be done
- $Amount (int)
- amount to refund
|
Return |
- success (int)
- 1 if transaction was successful
|