__construct() __construct(string $login, string $key) : void Create a new API service Parameters string $login The Octopush login key string $key The Octopush API key available on your Octopush manager.
getResponse() getResponse() : array Returns the client response Returns array — The client response php array
getBalance() getBalance() : array Returns the array remaining balance with premium and low cost value Returns array — The balance array
getPremiumBalance() getPremiumBalance() : integer Returns the remaining balance in premium Returns integer — the value in sms
getLowCostBalance() getLowCostBalance() : integer Returns the remaining balance in low cost Returns integer — the value in sms
sendMessage() sendMessage(string $message, array $options = array()) : boolean Send a sms message Parameters string $message The string message array $options The array options Returns boolean — true if message is send otherwise false