Commerce Commerce 1.x Class Reference Model comOrderAddress
An address that has been added to the order.
Meta
- Extends:
comSimpleObject
- Table:
modx_commerce_order_address
Relations
-
Address
: onecomAddress
object (comOrderAddress.address = comAddress.id
) -
Order
: onecomOrder
object (comOrderAddress.order = comOrder.id
)
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) |
order | integer (int[10] ) |
|
type Default: billing |
string (varchar[190] ) |
|
user_address | integer (int[10] )may be null |
|
fullname | string (varchar[190] )may be null |
|
firstname | string (varchar[190] )may be null |
|
lastname | string (varchar[190] )may be null |
|
company | string (varchar[190] )may be null |
|
address1 | string (varchar[190] )may be null |
|
address2 | string (varchar[190] )may be null |
|
address3 | string (varchar[190] )may be null |
|
zip | string (varchar[190] )may be null |
|
city | string (varchar[190] )may be null |
|
state | string (varchar[190] )may be null |
|
country | string (varchar[190] )may be null |
|
phone | string (varchar[190] )may be null |
|
mobile | string (varchar[190] )may be null |
|
string (varchar[190] )may be null |
||
notes | string (text )may be null |
|
address | integer (int[10] ) |