WonderPush PHP library
  • Namespace
  • Class
Navigation
  • Namespace
  • Class
Namespaces
  • WonderPush
    • Api
    • Errors
    • Net
    • Obj
    • Params
    • Util
Classes
  • AllInstallationsParams
  • CollectionParams
  • DeliveriesCreateParams
  • PatchInstallationParams

Class DeliveriesCreateParams

Base class for DTO objects.

WonderPush\Obj\BaseObject implements WonderPush\Util\JsonSerializable
┗ WonderPush\Params\DeliveriesCreateParams
Namespace: WonderPush\Params
Noinspection: PhpUndefinedClassInspection
Located at Params/DeliveriesCreateParams.php

Methods summary

public getDeliveryDate( void ) : string|null

Returns

string|null
public setDeliveryDate( string $deliveryDate ) : WonderPush\Params\DeliveriesCreateParams

Parameters

$deliveryDate

Returns

WonderPush\Params\DeliveriesCreateParams
public setViewId( string $viewId ) :

Parameters

$viewId

Returns


$this
public setCampaignId( string $campaignId ) :

Parameters

$campaignId

Returns


$this
public setTargetTags( string|string[] $targetTag ) :

Parameters

$targetTag
A single tag, an array of tags, or multiple tag parameters.

Returns


$this
public setTargetSegmentIds( string|string[] $segmentId ) :

Parameters

$segmentId
A single id, an array of ids, or multiple id parameters.

Returns


$this
public setTargetSegmentBody( array $segment ) :

Parameters

$segment
A segment definition

Returns


$this
public setTargetUserIds( string|string[] $userId ) :

Parameters

$userId
A single id, an array of ids, or multiple id parameters.

Returns


$this
public setTargetInstallationIds( string|string[] $installationId ) :

Parameters

$installationId
A single id, an array of ids, or multiple id parameters.

Returns


$this
public setTargetDeviceIds( string|string[] $deviceIds ) :

Parameters

$deviceIds
A single id, an array of ids, or multiple id parameters.

Returns


$this
public setTargetPushTokens( string|string[] $pushTokens ) :

Parameters

$pushTokens
A single token, an array of tokens, or multiple token parameters.

Returns


$this
public setTargetAccessTokens( string|string[] $accessTokens ) :

Parameters

$accessTokens
A single token, an array of tokens, or multiple token parameters.

Returns


$this
public setSegmentParams( array $segmentParams ) :

Parameters

$segmentParams
Segment parameters, or an array of those, one per targeted segment, in the same order.

Returns


$this
public setNotificationId( string $notificationId ) :

Parameters

$notificationId

Returns


$this
public setNotification( WonderPush\Obj\Notification|array $notification ) :

Parameters

$notification

Returns


$this
public setNotificationOverride( WonderPush\Obj\Notification|array $notificationOverride ) :

Parameters

$notificationOverride

Returns


$this
public setNotificationParams( array $notificationParams ) :

Parameters

$notificationParams
Notification parameters.

Returns


$this

Methods inherited from WonderPush\Obj\BaseObject

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

Constants summary

PATH : string

The endpoint of this API.

The endpoint of this API.

'/deliveries'
WonderPush PHP library API documentation generated by ApiGen