Account
class Account extends BaseModel (View source)
Properties
protected array | $data | Model Data | from BaseModel |
protected string | $account_id | Account ID | |
protected array | $name | User name details | |
protected string | Account Email | ||
protected boolean | $email_verified | Whether the user has verified their e-mail address | |
protected string | $profile_photo_url | Account Profile Pic URL | |
protected boolean | $disabled | Whether the user has been disabled | |
protected string | $country | User's two-letter country code | |
protected string | $locale | Language of User's account | |
protected string | $referral_link | User's referral link | |
protected boolean | $is_paired | Indicates whether a work account is linked | |
protected string | $account_type | User's account type |
Methods
Create a new Account instance
Handle calls to undefined properties.
Get Account ID
Get Account User's Name Details
Get Display name
Get Account Email
Whether account email is verified
Get Profile Pic URL
Whether acocunt has been disabled
Get User's two-lettered country code
Get account language
Get user's referral link
Whether work account is paired
Get Account Type
Details
at line line 88
__construct(array $data)
Create a new Account instance
mixed|null
__get(string $property)
Handle calls to undefined properties.
Check whether an item with the key, same as the property, is available on the data property.
mixed|null
__set(string $property, string $value)
Handle calls to undefined properties.
Sets an item with the defined value on the data property.
at line line 116
string
getAccountId()
Get Account ID
at line line 126
array
getNameDetails()
Get Account User's Name Details
at line line 136
string
getDisplayName()
Get Display name
at line line 152
string
getEmail()
Get Account Email
at line line 162
boolean
emailIsVerified()
Whether account email is verified
at line line 172
string
getProfilePhotoUrl()
Get Profile Pic URL
at line line 182
boolean
isDisabled()
Whether acocunt has been disabled
at line line 192
string
getCountry()
Get User's two-lettered country code
at line line 202
string
getLocale()
Get account language
at line line 212
string
getReferralLink()
Get user's referral link
at line line 222
boolean
isPaired()
Whether work account is paired
at line line 232
string
getAccountType()
Get Account Type