A structured address.
| EMS. | A structured address. |
| Properties | |
| number | {String} This is the street number and maybe null. |
| street | {EMS.Street} This is the street object and maybe null. |
| suburb | {String} This is the suburb and maybe null. |
| postcode | {String} This is the postcode and maybe null. |
| regions | {Array} This is the regions that the address is within. |
| region | {String} This is the region name. |
| type | {String} This is the region type, only applicable if the address itself is a region. |
| state | {String} This is the state. |
| Constructor | |
| EMS. | |
| Functions | |
| equals | |
| clone | {EMS.Address} Returns a clone/copy of this address. |
| toString | {String} The address as a string. |
{EMS.Street} This is the street object and maybe null.
| address | {Mixed} is either an EMS.Address or simply an {Object} to copy. |
equals: function( address )
| address | {Mixed} is the address to compare to. This maybe just a plain {Object} or an EMS.Address. |
{Boolean} Returns true if the address is equal.
equals: function( address )
{EMS.Address} Returns a clone/copy of this address.
clone: function()
{String} The address as a string.
toString: function()