$dryRun : boolean
If set to true request will be generated but not send to payment api. This is use full for testing.
Invoice Payment Class
This payment method is the classic unsecured invoice.
$adapter : \Heidelpay\PhpPaymentApi\Adapter\HttpAdapterInterface
HTTP Adapter for payment connection
$request : \Heidelpay\PhpPaymentApi\Request
Heidelpay request object
$response : \Heidelpay\PhpPaymentApi\Response
Heidelpay response object
getRequest() : \Heidelpay\PhpPaymentApi\Request
Returns the Request instance.
getResponse() : \Heidelpay\PhpPaymentApi\Response
Returns the Response instance.
Set a HTTP Adapter for payment communication
getAdapter() : \Heidelpay\PhpPaymentApi\Adapter\HttpAdapterInterface
Get HTTP Adapter for payment communication
authorize() : $this
Payment type authorisation
Depending on the payment method this type normally means that the amount of the given account will only be authorized. In case of payment methods like Sofort and Giropay (so called online payments) this type will be used just to get the redirect to their systems.
reversal(mixed $paymentReferenceId) : $this
Payment type reversal
This payment type will be used to give an uncharged amount or even parts of it back to the given account. This can be used to lower an amount on an invoice for example.
payment reference id (unique id of the authorisation)
refund(mixed $paymentReferenceId) : $this
Payment type refund
This payment type will be used to give a charge amount or even parts of it back to the given account.
payment reference id (unique id of the debit or capture)