Commerce Commerce 1.x Class Reference Model comAddress
Meta
- Extends:
comSimpleObject
- Table:
modx_commerce_address
Relations
-
User
: onemodUser
object (comAddress.user = modUser.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) |
user | int (int[10] )may be null |
|
type Default: billing |
string (varchar[190] ) |
|
last_used | int (int[20] ) |
UNIX timestamp |
last_used_formatted | last_used passed through the datetime formatter |
|
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 |
|
remember | bool (tinyint[1] )may be null |