AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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. }