\Heidelpay\Tests\PhpApi\Unit\PaymentMethodsEasyCreditPaymentMethodTest

easyCredit Tests

Summary

Methods
Properties
Constants
__construct()
setUp()
initialRequest()
No public properties found
No constants found
No protected methods found
$authentification
$customerDetails
$currency
$secret
$paymentObject
N/A
No private methods found
No private properties found
N/A

Properties

$authentification

$authentification : array

Type

array — authentification parameter for heidelpay api

$customerDetails

$customerDetails : array

Type

array — customer address

$currency

$currency : string

Transaction currency

Type

string — currency

$secret

$secret : string

Secret

The secret will be used to generate a hash using transaction id + secret. This hash can be used to verify the the payment response. Can be used for brute force protection.

Type

string — secret

Methods

__construct()

__construct() 

Constructor used to set timezone to utc

setUp()

setUp() 

Set up function will create a invoice object for each testcase

initialRequest()

initialRequest()