commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
PriceImport.php
1 <?php
2 
3 declare(strict_types=1);
10 
22 use DateTimeImmutable;
23 
24 interface PriceImport extends ImportResource
25 {
26  public const FIELD_VALUE = 'value';
27  public const FIELD_COUNTRY = 'country';
28  public const FIELD_VALID_FROM = 'validFrom';
29  public const FIELD_VALID_UNTIL = 'validUntil';
30  public const FIELD_CUSTOMER_GROUP = 'customerGroup';
31  public const FIELD_CHANNEL = 'channel';
32  public const FIELD_DISCOUNTED = 'discounted';
33  public const FIELD_STAGED = 'staged';
34  public const FIELD_TIERS = 'tiers';
35  public const FIELD_CUSTOM = 'custom';
36  public const FIELD_PRODUCT_VARIANT = 'productVariant';
37  public const FIELD_PRODUCT = 'product';
38 
45  public function getKey();
46 
53  public function getValue();
54 
61  public function getCountry();
62 
69  public function getValidFrom();
70 
77  public function getValidUntil();
78 
86  public function getCustomerGroup();
87 
95  public function getChannel();
96 
103  public function getDiscounted();
104 
114  public function getStaged();
115 
122  public function getTiers();
123 
130  public function getCustom();
131 
140  public function getProductVariant();
141 
150  public function getProduct();
151 
155  public function setKey(?string $key): void;
156 
160  public function setValue(?TypedMoney $value): void;
161 
165  public function setCountry(?string $country): void;
166 
170  public function setValidFrom(?DateTimeImmutable $validFrom): void;
171 
175  public function setValidUntil(?DateTimeImmutable $validUntil): void;
176 
180  public function setCustomerGroup(?CustomerGroupKeyReference $customerGroup): void;
181 
185  public function setChannel(?ChannelKeyReference $channel): void;
186 
190  public function setDiscounted(?DiscountedPrice $discounted): void;
191 
195  public function setStaged(?bool $staged): void;
196 
200  public function setTiers(?PriceTierCollection $tiers): void;
201 
205  public function setCustom(?Custom $custom): void;
206 
210  public function setProductVariant(?ProductVariantKeyReference $productVariant): void;
211 
215  public function setProduct(?ProductKeyReference $product): void;
216 }
setProductVariant(?ProductVariantKeyReference $productVariant)
setValidFrom(?DateTimeImmutable $validFrom)
setChannel(?ChannelKeyReference $channel)
setDiscounted(?DiscountedPrice $discounted)
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)
setValidUntil(?DateTimeImmutable $validUntil)
setTiers(?PriceTierCollection $tiers)
setProduct(?ProductKeyReference $product)