class ChargeCardTransactionUpdate extends AbstractChargeCardTransaction

Update an existing cash management charge card transaction 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

int
getRecordNo()

Get record number

setRecordNo(int $recordNo)

Set record number

string
getChargeCardId()

Get charge card ID

setChargeCardId(string $chargeCardId)

Set charge card ID

setTransactionDate(DateType $transactionDate)

Set transaction date

string
getReferenceNumber()

Get reference number

setReferenceNumber(string $referenceNumber)

Set reference number

string
getPayee()

Get payee

setPayee(string $payee)

Set payee

string
getDescription()

Get description

setDescription(string $description)

Set description

string
getAttachmentsId()

Get attachments ID

setAttachmentsId(string $attachmentsId)

Set attachments ID

string
getTransactionCurrency()

Get transaction currency

setTransactionCurrency(string $transactionCurrency)

Set transaction currency

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

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

int getRecordNo()

Get record number

Return Value

int

setRecordNo(int $recordNo)

Set record number

Parameters

int $recordNo

string getChargeCardId()

Get charge card ID

Return Value

string

in AbstractChargeCardTransaction at line line 100
setChargeCardId(string $chargeCardId)

Set charge card ID

Parameters

string $chargeCardId

in AbstractChargeCardTransaction at line line 110
DateType getTransactionDate()

Get transaction date

Return Value

DateType

in AbstractChargeCardTransaction at line line 120
setTransactionDate(DateType $transactionDate)

Set transaction date

Parameters

DateType $transactionDate

in AbstractChargeCardTransaction at line line 130
string getReferenceNumber()

Get reference number

Return Value

string

in AbstractChargeCardTransaction at line line 140
setReferenceNumber(string $referenceNumber)

Set reference number

Parameters

string $referenceNumber

in AbstractChargeCardTransaction at line line 150
string getPayee()

Get payee

Return Value

string

in AbstractChargeCardTransaction at line line 160
setPayee(string $payee)

Set payee

Parameters

string $payee

in AbstractChargeCardTransaction at line line 170
string getDescription()

Get description

Return Value

string

in AbstractChargeCardTransaction at line line 180
setDescription(string $description)

Set description

Parameters

string $description

in AbstractChargeCardTransaction at line line 190
string getAttachmentsId()

Get attachments ID

Return Value

string

in AbstractChargeCardTransaction at line line 200
setAttachmentsId(string $attachmentsId)

Set attachments ID

Parameters

string $attachmentsId

in AbstractChargeCardTransaction at line line 210
string getTransactionCurrency()

Get transaction currency

Return Value

string

in AbstractChargeCardTransaction at line line 220
setTransactionCurrency(string $transactionCurrency)

Set transaction currency

Parameters

string $transactionCurrency

in AbstractChargeCardTransaction at line line 230
DateType getExchangeRateDate()

Get exchange rate date

Return Value

DateType

in AbstractChargeCardTransaction at line line 240
setExchangeRateDate(DateType $exchangeRateDate)

Set exchange rate date

Parameters

DateType $exchangeRateDate

in AbstractChargeCardTransaction at line line 250
float getExchangeRateValue()

Get exchange rate value

Return Value

float

in AbstractChargeCardTransaction at line line 260
setExchangeRateValue(float $exchangeRateValue)

Set exchange rate value

Parameters

float $exchangeRateValue

in AbstractChargeCardTransaction at line line 270
string getExchangeRateType()

Get exchange rate type

Return Value

string

in AbstractChargeCardTransaction at line line 280
setExchangeRateType(string $exchangeRateType)

Set exchange rate type

Parameters

string $exchangeRateType

in AbstractChargeCardTransaction at line line 290
AbstractChargeCardTransactionLine[] getLines()

Get transaction lines

in AbstractChargeCardTransaction at line line 300
setLines(AbstractChargeCardTransactionLine[] $lines)

Set transaction lines

Parameters

AbstractChargeCardTransactionLine[] $lines