commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
OverlappingStandalonePriceValidityError.php
1<?php
2
3declare(strict_types=1);
10
16use DateTimeImmutable;
17
19{
20 public const FIELD_CONFLICTING_STANDALONE_PRICE = 'conflictingStandalonePrice';
21 public const FIELD_SKU = 'sku';
22 public const FIELD_CURRENCY = 'currency';
23 public const FIELD_COUNTRY = 'country';
24 public const FIELD_CUSTOMER_GROUP = 'customerGroup';
25 public const FIELD_CHANNEL = 'channel';
26 public const FIELD_VALID_FROM = 'validFrom';
27 public const FIELD_VALID_UNTIL = 'validUntil';
28 public const FIELD_CONFLICTING_VALID_FROM = 'conflictingValidFrom';
29 public const FIELD_CONFLICTING_VALID_UNTIL = 'conflictingValidUntil';
30
35 public function getCode();
36
43 public function getMessage();
44
52
59 public function getSku();
60
67 public function getCurrency();
68
75 public function getCountry();
76
83 public function getCustomerGroup();
84
91 public function getChannel();
92
99 public function getValidFrom();
100
107 public function getValidUntil();
108
115 public function getConflictingValidFrom();
116
123 public function getConflictingValidUntil();
124
128 public function setMessage(?string $message): void;
129
133 public function setConflictingStandalonePrice(?StandalonePriceReference $conflictingStandalonePrice): void;
134
138 public function setSku(?string $sku): void;
139
143 public function setCurrency(?string $currency): void;
144
148 public function setCountry(?string $country): void;
149
153 public function setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup): void;
154
158 public function setChannel(?ChannelResourceIdentifier $channel): void;
159
163 public function setValidFrom(?DateTimeImmutable $validFrom): void;
164
168 public function setValidUntil(?DateTimeImmutable $validUntil): void;
169
173 public function setConflictingValidFrom(?DateTimeImmutable $conflictingValidFrom): void;
174
178 public function setConflictingValidUntil(?DateTimeImmutable $conflictingValidUntil): void;
179}
setConflictingStandalonePrice(?StandalonePriceReference $conflictingStandalonePrice)
setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup)
setConflictingValidUntil(?DateTimeImmutable $conflictingValidUntil)
setConflictingValidFrom(?DateTimeImmutable $conflictingValidFrom)