commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
StandalonePriceImport.php
1 <?php
2 
3 declare(strict_types=1);
10 
20 use DateTimeImmutable;
21 
23 {
24  public const FIELD_SKU = 'sku';
25  public const FIELD_VALUE = 'value';
26  public const FIELD_COUNTRY = 'country';
27  public const FIELD_CUSTOMER_GROUP = 'customerGroup';
28  public const FIELD_CHANNEL = 'channel';
29  public const FIELD_VALID_FROM = 'validFrom';
30  public const FIELD_VALID_UNTIL = 'validUntil';
31  public const FIELD_TIERS = 'tiers';
32  public const FIELD_DISCOUNTED = 'discounted';
33  public const FIELD_CUSTOM = 'custom';
34 
41  public function getKey();
42 
49  public function getSku();
50 
57  public function getValue();
58 
66  public function getCountry();
67 
75  public function getCustomerGroup();
76 
84  public function getChannel();
85 
92  public function getValidFrom();
93 
100  public function getValidUntil();
101 
108  public function getTiers();
109 
116  public function getDiscounted();
117 
124  public function getCustom();
125 
129  public function setKey(?string $key): void;
130 
134  public function setSku(?string $sku): void;
135 
139  public function setValue(?TypedMoney $value): void;
140 
144  public function setCountry(?string $country): void;
145 
149  public function setCustomerGroup(?CustomerGroupKeyReference $customerGroup): void;
150 
154  public function setChannel(?ChannelKeyReference $channel): void;
155 
159  public function setValidFrom(?DateTimeImmutable $validFrom): void;
160 
164  public function setValidUntil(?DateTimeImmutable $validUntil): void;
165 
169  public function setTiers(?PriceTierCollection $tiers): void;
170 
174  public function setDiscounted(?DiscountedPrice $discounted): void;
175 
179  public function setCustom(?Custom $custom): void;
180 }
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)