commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
DuplicateStandalonePriceScopeError.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
33 public function getCode();
34
41 public function getMessage();
42
50
57 public function getSku();
58
65 public function getCurrency();
66
73 public function getCountry();
74
81 public function getCustomerGroup();
82
89 public function getChannel();
90
97 public function getValidFrom();
98
105 public function getValidUntil();
106
110 public function setMessage(?string $message): void;
111
115 public function setConflictingStandalonePrice(?StandalonePriceReference $conflictingStandalonePrice): void;
116
120 public function setSku(?string $sku): void;
121
125 public function setCurrency(?string $currency): void;
126
130 public function setCountry(?string $country): void;
131
135 public function setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup): void;
136
140 public function setChannel(?ChannelResourceIdentifier $channel): void;
141
145 public function setValidFrom(?DateTimeImmutable $validFrom): void;
146
150 public function setValidUntil(?DateTimeImmutable $validUntil): void;
151}
setConflictingStandalonePrice(?StandalonePriceReference $conflictingStandalonePrice)
setCustomerGroup(?CustomerGroupResourceIdentifier $customerGroup)