src/Domain/Entity/PaymentLog.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Domain\Entity;
  3. use App\Domain\Entity\Behavior\Identifiable;
  4. use Gedmo\Timestampable\Traits\Timestampable;
  5. /**
  6.  * Class RevisionLog
  7.  *
  8.  * @package App\Domain\Entity
  9.  */
  10. class PaymentLog
  11. {
  12.     use Identifiable;
  13.     use Timestampable;
  14.     public const REFUND_KEEP 'refund_keep';
  15.     public const REFUND_REMOVE 'refund_remove';
  16.     public const STRIPE_ERROR 'stripe_error';
  17.     public const EXPORT 'export';
  18.     public function __construct(
  19.         public string $action,
  20.         public string $entity,
  21.         public ?Person $author null,
  22.         public ?string $entityId null,
  23.         public ?string $data null,
  24.         public ?string $httpAgent null,
  25.     ) {}
  26. }