AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

PaymentStatus.php 435B

123456789101112131415161718
  1. <?php
  2. namespace App\Commerce\Payments;
  3. /**
  4. * What the provider says about one payment page.
  5. */
  6. final readonly class PaymentStatus
  7. {
  8. public function __construct(
  9. public string $checkoutId,
  10. public bool $paid,
  11. /** The provider's id for the payment itself. */
  12. public ?string $reference = null,
  13. /** The amount the provider collected, in sen. */
  14. public ?int $amount = null,
  15. ) {}
  16. }