\Clx\Xms\ApiMtBatchBinarySmsUpdate

Describes updates to a binary SMS batch.

Summary

Methods
Properties
Constants
getRecipientInsertions()
setRecipientInsertions()
getRecipientRemovals()
setRecipientRemovals()
getSender()
setSender()
getDeliveryReport()
resetDeliveryReport()
setDeliveryReport()
getSendAt()
resetSendAt()
setSendAt()
getExpireAt()
resetExpireAt()
setExpireAt()
getCallbackUrl()
resetCallbackUrl()
setCallbackUrl()
getBody()
setBody()
getUdh()
setUdh()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getRecipientInsertions()

getRecipientInsertions() : array<mixed,string>|null

Get the message destinations to add to the batch.

Returns

array<mixed,string>|null —

a list of MSISDNs or group IDs

setRecipientInsertions()

setRecipientInsertions(array<mixed,string>|null  $recipientInsertions) : void

Set the message destinations to add to the batch.

Parameters

array<mixed,string>|null $recipientInsertions

a list of MSISDNs or group IDs

getRecipientRemovals()

getRecipientRemovals() : array<mixed,string>|null

Get the message destinations to remove from the batch.

Returns

array<mixed,string>|null —

a list of MSISDNs or group IDs

setRecipientRemovals()

setRecipientRemovals(array<mixed,string>|null  $recipientRemovals) : void

Set the message destinations to remove from the batch.

Parameters

array<mixed,string>|null $recipientRemovals

a list of MSISDNs or group IDs

getSender()

getSender() : string|null

Get the message originator.

If null then the batch sender will remain unchanged.

Returns

string|null —

an MSISDN or short code

setSender()

setSender(string|null  $sender) : void

Set the message originator.

If null then the batch sender will remain unchanged.

Parameters

string|null $sender

an MSISDN or short code

getDeliveryReport()

getDeliveryReport() : string|null|\Clx\Xms\Api\Reset

Get description of how to update the batch delivery report value.

Returns

string|null|\Clx\Xms\Api\Reset

an update description

resetDeliveryReport()

resetDeliveryReport() : void

Resets delivery report field to the XMS default value.

setDeliveryReport()

setDeliveryReport(string|null  $deliveryReport) : void

Set updated batch delivery report value.

If null then the current value is left unchanged.

Parameters

string|null $deliveryReport

an update description

getSendAt()

getSendAt() : \DateTime|null|\Clx\Xms\Api\Reset

Get description of how to update the batch send at value.

Returns

\DateTime|null|\Clx\Xms\Api\Reset

an update description

resetSendAt()

resetSendAt() : \Clx\Xms\Api\MtBatchUpdate

Resets the send at field to the XMS default value.

Returns

\Clx\Xms\Api\MtBatchUpdate —

this object for use in a chained invocation

setSendAt()

setSendAt(\DateTime|null  $sendAt) : void

Set updated batch scheduled send at value.

If null then the current value is left unchanged.

Parameters

\DateTime|null $sendAt

scheduled send time

getExpireAt()

getExpireAt() : \DateTime|null|\Clx\Xms\Api\Reset

Get description of how to update the batch expire at value.

Returns

\DateTime|null|\Clx\Xms\Api\Reset

an update description

resetExpireAt()

resetExpireAt() : \Clx\Xms\Api\MtBatchUpdate

Resets the expire at field to the XMS default value.

Returns

\Clx\Xms\Api\MtBatchUpdate —

this object for use in a chained invocation

setExpireAt()

setExpireAt(\DateTime|null  $expireAt) : void

Set updated batch expire at value.

If null then the current value is left unchanged.

Parameters

\DateTime|null $expireAt

expire at time

getCallbackUrl()

getCallbackUrl() : string|null|\Clx\Xms\Api\Reset

Get description of how to update the batch callback URL.

Returns

string|null|\Clx\Xms\Api\Reset

an update description

resetCallbackUrl()

resetCallbackUrl() : void

Resets the callback URL to the XMS default value.

setCallbackUrl()

setCallbackUrl(string|null  $callbackUrl) : void

Set new batch callback URL.

If null then the current value is left unchanged.

Parameters

string|null $callbackUrl

updated callback URL

getBody()

getBody() : string|null

Get the updated binary batch body.

If null then the existing body is left as-is.

Returns

string|null —

the batch body

setBody()

setBody(string|null  $body) : void

Set the updated binary batch body.

If null then the existing body is left as-is.

Parameters

string|null $body

the batch body

getUdh()

getUdh() : string|null

Get the updated binary User Data Header.

If null then the existing UDH is left as-is.

Returns

string|null —

the UDH

setUdh()

setUdh(string|null  $udh) : void

Set the updated binary User Data Header.

If null then the existing UDH is left as-is.

Parameters

string|null $udh

the UDH