-
Couldn't load subscription status.
- Fork 4
SmsParams
André Matthies edited this page Feb 6, 2025
·
1 revision
- Full name:
\Seven\Api\Resource\Sms\SmsParams - This class implements:
\Seven\Api\Library\ParamsInterface
protected ?\DateTime $delayprotected array $filesprotected ?bool $flashprotected ?string $foreign_idprotected ?string $fromprotected ?string $labelprotected ?bool $performance_trackingprotected string $textprotected array $toprotected ?int $ttlprotected ?string $udhpublic __construct(string $text, string $to): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$text |
string | |
$to |
string |
public getDelay(): ?\DateTimepublic setDelay(?\DateTime $delay): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$delay |
?\DateTime |
public addFile(array $file): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$file |
array |
public getFiles(): arraypublic setFiles(array $files): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$files |
array |
public removeFile(int $index): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$index |
int |
public removeFiles(): selfpublic getFlash(): ?boolpublic setFlash(?bool $flash): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$flash |
?bool |
public getForeignId(): ?stringpublic setForeignId(?string $foreignId): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$foreignId |
?string |
public getFrom(): ?stringpublic setFrom(?string $from): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$from |
?string |
public getLabel(): ?stringpublic setLabel(?string $label): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$label |
?string |
public getPerformanceTracking(): ?boolpublic setPerformanceTracking(?bool $performanceTracking): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$performanceTracking |
?bool |
public getText(): stringpublic setText(string $text): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$text |
string |
public addTo(string $to): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$to |
string |
public getTo(): arraypublic setTo(array $to): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$to |
array |
public getTtl(): ?intpublic setTtl(?int $ttl): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$ttl |
?int |
public getUdh(): ?stringpublic setUdh(?string $udh): selfParameters:
| Parameter | Type | Description |
|---|---|---|
$udh |
?string |
public toArray(): arrayAutomatically generated on 2025-02-06