diff --git a/src/Models/Statistics/Order.php b/src/Models/Statistics/Order.php index 4cb9c80..5299297 100644 --- a/src/Models/Statistics/Order.php +++ b/src/Models/Statistics/Order.php @@ -30,6 +30,8 @@ class Order implements HelloassoObject private string $organizationSlug; private MetaModel $meta; + private ?int $checkoutIntentId = null; + public function getPayer(): PayerLight { return $this->payer; @@ -173,4 +175,16 @@ public function setMeta(MetaModel $meta): self return $this; } + + public function getCheckoutIntentId(): ?int + { + return $this->checkoutIntentId; + } + + public function setCheckoutIntentId(?int $checkoutIntentId): self + { + $this->checkoutIntentId = $checkoutIntentId; + + return $this; + } } diff --git a/src/Models/Statistics/OrderLight.php b/src/Models/Statistics/OrderLight.php index b8d2c44..2b19481 100644 --- a/src/Models/Statistics/OrderLight.php +++ b/src/Models/Statistics/OrderLight.php @@ -20,6 +20,8 @@ class OrderLight implements HelloassoObject private FormType $formType; private MetaModel $meta; + private ?int $checkoutIntentId = null; + public function getId(): int { return $this->id; @@ -103,4 +105,16 @@ public function setMeta(MetaModel $meta): self return $this; } + + public function getCheckoutIntentId(): ?int + { + return $this->checkoutIntentId; + } + + public function setCheckoutIntentId(?int $checkoutIntentId): self + { + $this->checkoutIntentId = $checkoutIntentId; + + return $this; + } }