Commerce v1 Class Reference Model comTransaction

Meta

Relations

  • Order: one comOrder object (comTransaction.order = comOrder.id)
  • Method: one comPaymentMethod object (comTransaction.method = comPaymentMethod.id)
  • Logs: many comTransactionLog objects (comTransaction.id = comTransactionLog.transaction)

Fields

Field Type Description
id integer (INTEGER) Primary key
class_key string (varchar[100]) Type of object
properties array (text)
may be null
Serialized arbitrary data stored with an object. Use utility methods instead of directly accessing these values: getProperty($key, $default), getProperties(), setProperty($key, $value), setProperties($properties, $merge), unsetProperty($key), unsetProperties($keys)
test boolean (tinyint[1])
order integer (int[10])
status integer (int[10])
method integer (int[10])
reference string (varchar[250])
may be null
currency string (varchar[3])
amount integer (int[20]) Integer number in the currency base unit (e.g. cents)
amount_formatted amount passed through the financial formatter
fee integer (int[20]) Integer number in the currency base unit (e.g. cents)
fee_formatted fee passed through the financial formatter
created_on int (int[20]) UNIX timestamp
created_on_formatted created_on passed through the datetime formatter
completed_on int (int[20]) UNIX timestamp
completed_on_formatted completed_on passed through the datetime formatter