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

Type Date

The date the account was created.

id

Type Number

The system ID that identifies the account.

reference

Type String

The account reference represents the subdomain on the Evance platform for the account.



Methods
domain()

Returns String

The non-http domain name of the account as a subdomain of the Evance platform represented as a String.

owner()

Returns Contact

Returns the owner Contact of the account.

preferredDomain()

Returns 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()

Returns Url

The Account's Evance platform domain name represented as a Url Object.

preferredUrl()

Returns Url

The Account's preferred domain name represented as a Url Object.