commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
PriceDraftImport.php
1<?php
2
3declare(strict_types=1);
10
19use DateTimeImmutable;
20
22{
23 public const FIELD_VALUE = 'value';
24 public const FIELD_COUNTRY = 'country';
25 public const FIELD_CUSTOMER_GROUP = 'customerGroup';
26 public const FIELD_CHANNEL = 'channel';
27 public const FIELD_VALID_FROM = 'validFrom';
28 public const FIELD_VALID_UNTIL = 'validUntil';
29 public const FIELD_CUSTOM = 'custom';
30 public const FIELD_DISCOUNTED = 'discounted';
31 public const FIELD_TIERS = 'tiers';
32 public const FIELD_KEY = 'key';
33
38 public function getValue();
39
46 public function getCountry();
47
54 public function getCustomerGroup();
55
62 public function getChannel();
63
68 public function getValidFrom();
69
74 public function getValidUntil();
75
82 public function getCustom();
83
90 public function getDiscounted();
91
98 public function getTiers();
99
106 public function getKey();
107
111 public function setValue(?TypedMoney $value): void;
112
116 public function setCountry(?string $country): void;
117
121 public function setCustomerGroup(?CustomerGroupKeyReference $customerGroup): void;
122
126 public function setChannel(?ChannelKeyReference $channel): void;
127
131 public function setValidFrom(?DateTimeImmutable $validFrom): void;
132
136 public function setValidUntil(?DateTimeImmutable $validUntil): void;
137
141 public function setCustom(?Custom $custom): void;
142
146 public function setDiscounted(?DiscountedPrice $discounted): void;
147
151 public function setTiers(?PriceTierCollection $tiers): void;
152
156 public function setKey(?string $key): void;
157}
setCustomerGroup(?CustomerGroupKeyReference $customerGroup)