$dryRun : boolean
If set to true request will be generated but not send to payment api. This is use full for testing.
Invoice B2C secured Payment Class
This payment method is for the secured B2C 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)
finalize(string $paymentReferenceId) : $this
Payment type finalize
This payment type will be used to inform heidelpay about goods ship out. Necessary for secured direct debit,secured invoice and Santander.
reference id (uniqe id of the debit or capture)