class AbstractOtherReceipt extends AbstractFunction

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 XML

array
getCustomFields()

Get custom fields

setCustomFields(array $customFields)

Set custom fields

getReceiptDate()

Get receipt date

setReceiptDate(DateType $receiptDate)

Set receipt date

string
getPayer()

Get payer

setPayer(string $payer)

Set payer

string
getPaymentMethod()

Get payment method

setPaymentMethod(string $paymentMethod)

Set payment method

getTransactionDate()

Get transaction date

setTransactionDate(DateType $transactionDate)

Set transaction date

string
getTransactionNo()

Get transaction number

setTransactionNo(string $transactionNo)

Set transaction number

string
getDescription()

Get description

setDescription(string $description)

Set description

string
getAttachmentsId()

Get attachments ID

setAttachmentsId(string $attachmentsId)

Set attachments ID

string
getBankAccountId()

Get bank account ID

setBankAccountId(string $bankAccountId)

Set bank account ID

getDepositDate()

Get deposit date

setDepositDate(DateType $depositDate)

Set deposit date

string
getUndepositedFundsGlAccountNo()

Get undeposited funds GL account number

setUndepositedFundsGlAccountNo(string $undepositedFundsGlAccountNo)

Set undeposited funds GL account number

string
getTransactionCurrency()

Get transaction currency

setTransactionCurrency(string $transactionCurrency)

Set transaction currency

getExchangeRateDate()

Get exchange rate date

setExchangeRateDate(DateType $exchangeRateDate)

Set exchange rate date

float
getExchangeRateValue()

Get exchange rate value

setExchangeRateValue(float $exchangeRateValue)

Set exchange rate value

string
getExchangeRateType()

Get exchange rate type

setExchangeRateType(string $exchangeRateType)

Set exchange rate type

getLines()

Get other receipt lines

setLines(AbstractOtherReceiptLine[] $lines)

Set other receipt lines

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

in AbstractFunction at line line 72
abstract writeXml(XMLWriter $xml)

Write the 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

at line line 79
DateType getReceiptDate()

Get receipt date

Return Value

DateType

at line line 89
setReceiptDate(DateType $receiptDate)

Set receipt date

Parameters

DateType $receiptDate

at line line 99
string getPayer()

Get payer

Return Value

string

at line line 109
setPayer(string $payer)

Set payer

Parameters

string $payer

at line line 119
string getPaymentMethod()

Get payment method

Return Value

string

at line line 129
setPaymentMethod(string $paymentMethod)

Set payment method

Parameters

string $paymentMethod

at line line 139
DateType getTransactionDate()

Get transaction date

Return Value

DateType

at line line 149
setTransactionDate(DateType $transactionDate)

Set transaction date

Parameters

DateType $transactionDate

at line line 159
string getTransactionNo()

Get transaction number

Return Value

string

at line line 169
setTransactionNo(string $transactionNo)

Set transaction number

Parameters

string $transactionNo

at line line 179
string getDescription()

Get description

Return Value

string

at line line 189
setDescription(string $description)

Set description

Parameters

string $description

at line line 199
string getAttachmentsId()

Get attachments ID

Return Value

string

at line line 209
setAttachmentsId(string $attachmentsId)

Set attachments ID

Parameters

string $attachmentsId

at line line 219
string getBankAccountId()

Get bank account ID

Return Value

string

at line line 229
setBankAccountId(string $bankAccountId)

Set bank account ID

Parameters

string $bankAccountId

at line line 239
DateType getDepositDate()

Get deposit date

Return Value

DateType

at line line 249
setDepositDate(DateType $depositDate)

Set deposit date

Parameters

DateType $depositDate

at line line 259
string getUndepositedFundsGlAccountNo()

Get undeposited funds GL account number

Return Value

string

at line line 269
setUndepositedFundsGlAccountNo(string $undepositedFundsGlAccountNo)

Set undeposited funds GL account number

Parameters

string $undepositedFundsGlAccountNo

at line line 279
string getTransactionCurrency()

Get transaction currency

Return Value

string

at line line 289
setTransactionCurrency(string $transactionCurrency)

Set transaction currency

Parameters

string $transactionCurrency

at line line 299
DateType getExchangeRateDate()

Get exchange rate date

Return Value

DateType

at line line 309
setExchangeRateDate(DateType $exchangeRateDate)

Set exchange rate date

Parameters

DateType $exchangeRateDate

at line line 319
float getExchangeRateValue()

Get exchange rate value

Return Value

float

at line line 329
setExchangeRateValue(float $exchangeRateValue)

Set exchange rate value

Parameters

float $exchangeRateValue

at line line 339
string getExchangeRateType()

Get exchange rate type

Return Value

string

at line line 349
setExchangeRateType(string $exchangeRateType)

Set exchange rate type

Parameters

string $exchangeRateType

at line line 359
AbstractOtherReceiptLine[] getLines()

Get other receipt lines

Return Value

AbstractOtherReceiptLine[]

at line line 369
setLines(AbstractOtherReceiptLine[] $lines)

Set other receipt lines

Parameters

AbstractOtherReceiptLine[] $lines