commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
DiscountGroupResourceIdentifierBuilder.php
1<?php
2
3declare(strict_types=1);
10
18use stdClass;
19
24{
29 private $id;
30
35 private $key;
36
44 public function getId()
45 {
46 return $this->id;
47 }
48
56 public function getKey()
57 {
58 return $this->key;
59 }
60
65 public function withId(?string $id)
66 {
67 $this->id = $id;
68
69 return $this;
70 }
71
76 public function withKey(?string $key)
77 {
78 $this->key = $key;
79
80 return $this;
81 }
82
83
85 {
87 $this->id,
88 $this->key
89 );
90 }
91
93 {
94 return new self();
95 }
96}