22 lines
625 B
PHP
22 lines
625 B
PHP
<?php
|
|
|
|
namespace App\Services\Sms;
|
|
|
|
class SmsSendResult
|
|
{
|
|
/**
|
|
* @param array<string, mixed> $requestPayload
|
|
* @param array<string, mixed> $responsePayload
|
|
* @param array<int, string> $providerMessageIds
|
|
* @param array<int, string> $failedNumbers
|
|
*/
|
|
public function __construct(
|
|
public readonly string $serviceName,
|
|
public readonly ?string $providerJobId,
|
|
public readonly array $requestPayload,
|
|
public readonly array $responsePayload,
|
|
public readonly array $providerMessageIds = [],
|
|
public readonly array $failedNumbers = [],
|
|
) {}
|
|
}
|