Account

Extends Object. The Account Object represents basic information about the merchant's Evance Account and is instantiated on all pages in an 'account' variable. You cannot instantiate an Account Object manually.  

Properties
created Date
The date the account was created.
id Number
The system ID that identifies the account.
reference String
The account reference represents the subdomain on the Evance platform for the account.


Methods
domain() String
The non-http domain name of the account as a subdomain of the Evance platform represented as a String.
owner() Contact
Returns the owner Contact of the account.
preferredDomain() String
The non-http preferred domain name of the account. This will be the preferred custom domain, or the Account's domain on the Evance platform represented as a String.
url() Url
The Account's Evance platform domain name represented as a Url Object.
preferredUrl() Url
The Account's preferred domain name represented as a Url Object.