| 123456789101112131415161718 |
- <?php
-
- namespace App\Commerce\Payments;
-
- /**
- * What the provider says about one payment page.
- */
- final readonly class PaymentStatus
- {
- public function __construct(
- public string $checkoutId,
- public bool $paid,
- /** The provider's id for the payment itself. */
- public ?string $reference = null,
- /** The amount the provider collected, in sen. */
- public ?int $amount = null,
- ) {}
- }
|