\Heidelpay\PhpApi\ParameterGroupsPaymentParameterGroup

This class provides the api parameter for payment code

The Payment group determines which payment method and type to use and provides all monetary payment details of the transaction.

Summary

Methods
Properties
Constants
getClassName()
set()
jsonSerialize()
toJson()
getCode()
setCode()
$code
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$code

$code : string

PaymentCode

This prarameter will be used to set the payment method and type. Notation is for example OT.PA. The first 2 digits are the payment method, in this case online transfer and the last are the type here preautorisation. Normally the PhpApi will set the right payment code, but if you want to learn more about this, have a look in Heidelpay whitelable documentation.

Type

string — code (mandatory)

Methods

getClassName()

getClassName() : string

Return the name of the used class

Returns

string —

class name

jsonSerialize()

jsonSerialize() : array

Returns an array for a json representation.

Returns

array

toJson()

toJson(integer  $options) : string

Returns a Json representation of itself.

Parameters

integer $options

Returns

string

getCode()

getCode() : string

PamyentCode getter

Returns

string —

code