WonderPush PHP library
  • Namespace
  • Class
Navigation
  • Namespace
  • Class
Namespaces
  • WonderPush
    • Api
    • Errors
    • Net
    • Obj
    • Params
    • Util
Classes
  • Application
  • ApplicationCollection
  • BaseObject
  • Collection
  • DeliveriesCreateResponse
  • Event
  • GeoLocation
  • Installation
  • InstallationApplication
  • InstallationApplicationApple
  • InstallationCollection
  • InstallationDevice
  • InstallationDeviceCapabilities
  • InstallationDeviceConfiguration
  • InstallationPreferences
  • InstallationPushToken
  • Notification
  • NotificationAlert
  • NotificationAlertAndroid
  • NotificationAlertAndroidButton
  • NotificationAlertIos
  • NotificationAlertIosAttachment
  • NotificationAlertIosForeground
  • NotificationAlertWeb
  • NotificationAlertWebButton
  • NotificationButton
  • NotificationButtonAction
  • NotificationButtonActionEvent
  • NotificationInApp
  • NotificationInAppButton
  • NotificationInAppMap
  • NotificationInAppMapPlace
  • NotificationPush
  • NotificationPushAndroid
  • NotificationPushIos
  • NotificationPushWeb
  • NullObject
  • Pagination
  • SuccessResponse
  • User
  • WebSdkInitOptions

Class NotificationInApp

DTO part for notification.inApp.

WonderPush\Obj\BaseObject implements WonderPush\Util\JsonSerializable
┗ WonderPush\Obj\NotificationInApp
Namespace: WonderPush\Obj
See: WonderPush\Obj\Notification
Codecoverageignore
Located at Obj/NotificationInApp.php

Methods summary

public static listTypes( void )
public getType( void ) : string

Returns

string
A NotificationType constant
public setType( string $type ) : WonderPush\Obj\NotificationInApp

Parameters

$type
A NotificationType constant

Returns

WonderPush\Obj\NotificationInApp
public getTitle( void ) : string

Returns

string
public setTitle( string $title ) : WonderPush\Obj\NotificationInApp

Parameters

$title

Returns

WonderPush\Obj\NotificationInApp
public getMessage( void ) : string

Returns

string
public setMessage( string $message ) : WonderPush\Obj\NotificationInApp

Parameters

$message

Returns

WonderPush\Obj\NotificationInApp
public getMap( void ) : WonderPush\Obj\NotificationInAppMap

Returns

WonderPush\Obj\NotificationInAppMap
public setMap( WonderPush\Obj\NotificationInAppMap|array $map ) : WonderPush\Obj\NotificationInApp

Parameters

$map

Returns

WonderPush\Obj\NotificationInApp
public getUrl( void ) : string

Returns

string
public setUrl( string $url ) : WonderPush\Obj\NotificationInApp

Parameters

$url

Returns

WonderPush\Obj\NotificationInApp
public getButtons( void ) : WonderPush\Obj\NotificationInAppButton[]

Returns

WonderPush\Obj\NotificationInAppButton[]
public setButtons( WonderPush\Obj\NotificationInAppButton[]|array[] $buttons ) : WonderPush\Obj\NotificationInApp

Parameters

$buttons

Returns

WonderPush\Obj\NotificationInApp

Methods inherited from WonderPush\Obj\BaseObject

__construct(), __toString(), _new(), clearAllFields(), deepClone(), jsonSerialize(), toArray(), toData()

Constants summary

TYPE_TEXT : string
'text'
TYPE_HTML : string
'html'
TYPE_URL : string
'url'
TYPE_MAP : string
'map'
WonderPush PHP library API documentation generated by ApiGen