commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Project.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 use DateTimeImmutable;
15 
16 interface Project extends JsonObject
17 {
18  public const FIELD_VERSION = 'version';
19  public const FIELD_KEY = 'key';
20  public const FIELD_NAME = 'name';
21  public const FIELD_COUNTRIES = 'countries';
22  public const FIELD_CURRENCIES = 'currencies';
23  public const FIELD_LANGUAGES = 'languages';
24  public const FIELD_CREATED_AT = 'createdAt';
25  public const FIELD_TRIAL_UNTIL = 'trialUntil';
26  public const FIELD_MESSAGES = 'messages';
27  public const FIELD_CARTS = 'carts';
28  public const FIELD_SHOPPING_LISTS = 'shoppingLists';
29  public const FIELD_SHIPPING_RATE_INPUT_TYPE = 'shippingRateInputType';
30  public const FIELD_EXTERNAL_O_AUTH = 'externalOAuth';
31  public const FIELD_SEARCH_INDEXING = 'searchIndexing';
32  public const FIELD_BUSINESS_UNITS = 'businessUnits';
33 
40  public function getVersion();
41 
48  public function getKey();
49 
56  public function getName();
57 
64  public function getCountries();
65 
72  public function getCurrencies();
73 
80  public function getLanguages();
81 
88  public function getCreatedAt();
89 
96  public function getTrialUntil();
97 
104  public function getMessages();
105 
112  public function getCarts();
113 
120  public function getShoppingLists();
121 
128  public function getShippingRateInputType();
129 
136  public function getExternalOAuth();
137 
144  public function getSearchIndexing();
145 
152  public function getBusinessUnits();
153 
157  public function setVersion(?int $version): void;
158 
162  public function setKey(?string $key): void;
163 
167  public function setName(?string $name): void;
168 
172  public function setCountries(?array $countries): void;
173 
177  public function setCurrencies(?array $currencies): void;
178 
182  public function setLanguages(?array $languages): void;
183 
187  public function setCreatedAt(?DateTimeImmutable $createdAt): void;
188 
192  public function setTrialUntil(?string $trialUntil): void;
193 
197  public function setMessages(?MessagesConfiguration $messages): void;
198 
202  public function setCarts(?CartsConfiguration $carts): void;
203 
207  public function setShoppingLists(?ShoppingListsConfiguration $shoppingLists): void;
208 
212  public function setShippingRateInputType(?ShippingRateInputType $shippingRateInputType): void;
213 
217  public function setExternalOAuth(?ExternalOAuth $externalOAuth): void;
218 
222  public function setSearchIndexing(?SearchIndexingConfiguration $searchIndexing): void;
223 
227  public function setBusinessUnits(?BusinessUnitConfiguration $businessUnits): void;
228 }
setShippingRateInputType(?ShippingRateInputType $shippingRateInputType)
setCreatedAt(?DateTimeImmutable $createdAt)
setShoppingLists(?ShoppingListsConfiguration $shoppingLists)
setMessages(?MessagesConfiguration $messages)
setCarts(?CartsConfiguration $carts)
setExternalOAuth(?ExternalOAuth $externalOAuth)
setBusinessUnits(?BusinessUnitConfiguration $businessUnits)
setSearchIndexing(?SearchIndexingConfiguration $searchIndexing)