\Gomoob\Pushwoosh\Model\RequestUnregisterDeviceRequest

Class which represents Pushwoosh '/unregisterDevice' request.

Summary

Methods
Properties
Constants
create()
getApplication()
getHwid()
setApplication()
setHwid()
toJSON()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$application
$hwid
N/A

Properties

$application

$application : string

The Pushwoosh application ID for which one to register a new device.

Type

string

$hwid

$hwid : string

The Unique string to identify the device (Please note that accessing UDID on iOS is deprecated and not allowed, one of the alternative ways now is to use MAC address).

Type

string

Methods

getApplication()

getApplication() : string

Gets the Pushwoosh application ID for which one to register a new device.

Returns

string —

the Pushwoosh application ID for which one to register a new device.

getHwid()

getHwid() : string

Gets the Unique string to identify the device (Please note that accessing UDID on iOS is deprecated and not allowed, one of the alternative ways now is to use MAC address).

Returns

string —

the Unique string to identify the device (Please note that accessing UDID on iOS is deprecated and

    not allowed, one of the alternative ways now is to use MAC address).

setApplication()

setApplication(string $application) : \Gomoob\Pushwoosh\Model\Request\UnregisterDeviceRequest

Sets the Pushwoosh application ID for which one to register a new device.

Parameters

string $application

the the Pushwoosh application ID for which one to register a new device.

Returns

\Gomoob\Pushwoosh\Model\Request\UnregisterDeviceRequest

this instance.

setHwid()

setHwid(string $hwid) : \Gomoob\Pushwoosh\Model\Request\UnregisterDeviceRequest

Sets the Unique string to identify the device (Please note that accessing UDID on iOS is deprecated and not allowed, one of the alternative ways now is to use MAC address).

Parameters

string $hwid

the Unique string to identify the device (Please note that accessing UDID on iOS is

   deprecated and not allowed, one of the alternative ways now is to use MAC address).

Returns

\Gomoob\Pushwoosh\Model\Request\UnregisterDeviceRequest

this instance.

toJSON()

toJSON() : array

Creates a JSON representation of this request.

Returns

array —

a PHP which can be passed to the 'json_encode' PHP method.