23 lines
626 B
PHP
23 lines
626 B
PHP
<?php
|
|
|
|
namespace App\Integrations\Whmcs\DTOs;
|
|
|
|
class ServiceData
|
|
{
|
|
public function __construct(
|
|
public readonly int $legacyId,
|
|
public readonly ?int $customerId,
|
|
public readonly ?int $productId,
|
|
public readonly int $legacyProductId,
|
|
public readonly ?int $orderItemId,
|
|
public readonly ?string $serverName,
|
|
public readonly string $status,
|
|
public readonly bool $autoRenew,
|
|
public readonly ?string $startedAt,
|
|
public readonly ?string $expiresAt,
|
|
public readonly ?string $cancelledAt,
|
|
public readonly ?string $note,
|
|
) {
|
|
}
|
|
}
|