\Octopush\ContractsOctopushApiInterface

The API Interface

Summary

Methods
Constants
getResponse()
getCredit()
getBalance()
sendMessage()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getResponse()

getResponse() : array

Returns the response php array

Returns

array —

the php array response

getCredit()

getCredit() : float

Returns the remaining credit in euro

Returns

float —

the value in sms

getBalance()

getBalance() : array

Returns the remaining balance in premium or standard

Returns

array —

The balance array

sendMessage()

sendMessage(string  $message, array  $options) : 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