Skip to content

Commit 9d1b9ce

Browse files
Add media property to Promotion model
1 parent e54dbe8 commit 9d1b9ce

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Models/Vouchers/Promotion.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ public function __construct(
7979
?int $expiration_duration = null,
8080
array $attributes = [],
8181
?string $type = null,
82-
?int $redemptions_per_voucher = null
82+
?int $redemptions_per_voucher = null,
83+
?Media $media = null
8384
) {
8485
$this->uuid = $uuid;
8586
$this->name = $name;
@@ -90,6 +91,7 @@ public function __construct(
9091
$this->attributes = $attributes;
9192
$this->type = $type;
9293
$this->redemptions_per_voucher = $redemptions_per_voucher;
94+
$this->media = $media;
9395
}
9496

9597
public function getName(): string

0 commit comments

Comments
 (0)