Commerce v1 Class Reference Model comPaymentMethod

Meta

Relations

  • Transactions: many comTransaction objects (comPaymentMethod.id = comTransaction.method)

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)
enabled_in_test boolean (tinyint[1])
enabled_in_live boolean (tinyint[1])
gateway string (varchar[250])
may be null
name string (varchar[250])
may be null
description string (varchar[250])
may be null
email_note string (text)
may be null
price integer (int[20]) Integer number in the currency base unit (e.g. cents)
price_formatted price passed through the financial formatter
price_percentage float (decimal[20,4])
price_percentage_formatted price_percentage passed through the percentage formatter
minimum_order_total integer (int[20]) Integer number in the currency base unit (e.g. cents)
minimum_order_total_formatted minimum_order_total passed through the financial formatter
maximum_order_total integer (int[20]) Integer number in the currency base unit (e.g. cents)
maximum_order_total_formatted maximum_order_total passed through the financial formatter
minimum_order_items integer (int[10])
maximum_order_items integer (int[10])
allowed_contexts string (text)
may be null
allowed_shipping_methods string (text)
may be null
sortorder integer (int[20])
removed boolean (tinyint[1])
removed_on int (int[20]) UNIX timestamp
removed_on_formatted removed_on passed through the datetime formatter
removed_by boolean (tinyint[1])