$baseURL
$baseURL : null|array
Base API URL
Base API URL comprised of environment variables passed to the ORM constructor.
ORM Mobile Phone Client
Communicates with an ORM API to preform mobile phone operations.
$orm : null|\OpenResourceManager\ORM
ORM Connection
The current ORM connection.
__construct(\OpenResourceManager\ORM $orm)
Client Constructor
Constructs a client.
\OpenResourceManager\ORM | $orm |
getORM() : \OpenResourceManager\ORM
Get ORM Connection
Returns the current ORM object
store(integer $account_id = null, string $identifier = null, string $username = null, string $number, string $country_code = null, integer $mobile_carrier_id = null, string $mobile_carrier_code = null, boolean $verified = null, string $upstream_app_name = null, string $verification_callback = null) : \Unirest\Response
Create Or Update Mobile Phone
Create or update a mobile phone, based the phone number. An account ID, identifier, or username can be provided to associate the mobile phone with an account.
integer | $account_id | |
string | $identifier | |
string | $username | |
string | $number | |
string | $country_code | |
integer | $mobile_carrier_id | |
string | $mobile_carrier_code | |
boolean | $verified | |
string | $upstream_app_name | |
string | $verification_callback |