TxAmount Property
This is the amount of money exchanged during a given transaction.
Object Oriented Interface
public function getTxAmount($txindex);
Procedural Interface
ipworksofx_ccstatement_get($res, 55 , $txindex);
Default Value
''
Remarks
This is the amount of money exchanged during a given transaction.
Note: the financial institution usually returns amounts as a string that includes the sign (+/-) of the amount. However, the server may sometimes leave out a particular field if it is not required by the OFX specification. To avoid confusion that can be caused by returning integers, the class will return all amount types as a string, with the empty string ("") for fields not returned by the server.
Where there is a value returned by the server, the class will attempt to convert the string into a format that can be easily parsed into an integer value. This behavior can be controlled by the CurrencyFormat config setting. .
The $txindex parameter specifies the index of the item in the array. The size of the array is controlled by the TxCount property.
This property is read-only and not available at design time.
Data Type
String