We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb6a5b commit ebf3a81Copy full SHA for ebf3a81
src/SMS/Webhook/DeliveryReceipt.php
@@ -151,7 +151,6 @@ class DeliveryReceipt
151
'msisdn',
152
'network-code',
153
'price',
154
- 'scts',
155
'status',
156
'to'
157
];
@@ -230,14 +229,17 @@ public function __construct(array $data)
230
229
$this->msisdn = $data['msisdn'];
231
$this->networkCode = $data['network-code'];
232
$this->price = $data['price'];
233
- $this->scts = $data['scts'];
234
$this->status = $data['status'];
235
$this->to = $data['to'];
236
$this->apiKey = $data['api-key'];
237
238
if (isset($data['client-ref'])) {
239
$this->clientRef = $data['client-ref'];
240
}
+
+ if (isset($data['scts'])) {
241
+ $this->scts = $data['scts'];
242
+ }
243
244
245
public function getErrCode(): int
0 commit comments