class DepositCreate extends AbstractDeposit

Create a new cash management deposit record

Traits

Methods

getControlId()

Get control ID

setControlId($controlId = null)

Set control ID

__construct(string $controlId = null)

Initializes the class with the given parameters.

writeXml(XMLWriter $xml)

Write the function block XML

array
getCustomFields()

Get custom fields

setCustomFields(array $customFields)

Set custom fields

string
getBankAccountId()

Get bank account ID

setBankAccountId(string $bankAccountId)

Set bank account ID

getDepositDate()

Get deposit date

setDepositDate(DateType $depositDate)

Set deposit date

string
getDepositSlipId()

Get deposit slip ID

setDepositSlipId(string $depositSlipId)

Set deposit slip ID

string
getDescription()

Get description

setDescription(string $description)

Set description

string
getAttachmentsId()

Get attachments ID

setAttachmentsId(string $attachmentsId)

Set attachments ID

int[]
getTransactionKeysToDeposit()

Get transaction keys to deposit

setTransactionKeysToDeposit(int[] $transactionKeysToDeposit)

Set transaction keys to deposit

Details

in AbstractFunction at line line 35
getControlId()

Get control ID

in AbstractFunction at line line 46
setControlId($controlId = null)

Set control ID

Parameters

$controlId

Exceptions

InvalidArgumentException

in AbstractFunction at line line 67
__construct(string $controlId = null)

Initializes the class with the given parameters.

Parameters

string $controlId Control ID, default=random UUID

at line line 35
writeXml(XMLWriter $xml)

Write the function block XML

Parameters

XMLWriter $xml

in CustomFieldsTrait at line line 33
array getCustomFields()

Get custom fields

Return Value

array

in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)

Set custom fields

Parameters

array $customFields

in AbstractDeposit at line line 52
string getBankAccountId()

Get bank account ID

Return Value

string

in AbstractDeposit at line line 62
setBankAccountId(string $bankAccountId)

Set bank account ID

Parameters

string $bankAccountId

in AbstractDeposit at line line 72
DateType getDepositDate()

Get deposit date

Return Value

DateType

in AbstractDeposit at line line 82
setDepositDate(DateType $depositDate)

Set deposit date

Parameters

DateType $depositDate

in AbstractDeposit at line line 92
string getDepositSlipId()

Get deposit slip ID

Return Value

string

in AbstractDeposit at line line 102
setDepositSlipId(string $depositSlipId)

Set deposit slip ID

Parameters

string $depositSlipId

in AbstractDeposit at line line 112
string getDescription()

Get description

Return Value

string

in AbstractDeposit at line line 122
setDescription(string $description)

Set description

Parameters

string $description

in AbstractDeposit at line line 132
string getAttachmentsId()

Get attachments ID

Return Value

string

in AbstractDeposit at line line 142
setAttachmentsId(string $attachmentsId)

Set attachments ID

Parameters

string $attachmentsId

in AbstractDeposit at line line 152
int[] getTransactionKeysToDeposit()

Get transaction keys to deposit

Return Value

int[]

in AbstractDeposit at line line 162
setTransactionKeysToDeposit(int[] $transactionKeysToDeposit)

Set transaction keys to deposit

Parameters

int[] $transactionKeysToDeposit