commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Project
Project.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Project
;
10
11
use
Commercetools\Api\Models\Message\MessagesConfiguration
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Message\MessagesConfiguration
Definition:
MessagesConfiguration.php:15
Commercetools\Api\Models\Project\BusinessUnitConfiguration
Definition:
BusinessUnitConfiguration.php:16
Commercetools\Api\Models\Project\CartsConfiguration
Definition:
CartsConfiguration.php:15
Commercetools\Api\Models\Project\ExternalOAuth
Definition:
ExternalOAuth.php:15
Commercetools\Api\Models\Project\Project
Definition:
Project.php:17
Commercetools\Api\Models\Project\Project\FIELD_NAME
const FIELD_NAME
Definition:
Project.php:20
Commercetools\Api\Models\Project\Project\setName
setName(?string $name)
Commercetools\Api\Models\Project\Project\setKey
setKey(?string $key)
Commercetools\Api\Models\Project\Project\FIELD_TRIAL_UNTIL
const FIELD_TRIAL_UNTIL
Definition:
Project.php:25
Commercetools\Api\Models\Project\Project\FIELD_BUSINESS_UNITS
const FIELD_BUSINESS_UNITS
Definition:
Project.php:32
Commercetools\Api\Models\Project\Project\FIELD_CARTS
const FIELD_CARTS
Definition:
Project.php:27
Commercetools\Api\Models\Project\Project\FIELD_CURRENCIES
const FIELD_CURRENCIES
Definition:
Project.php:22
Commercetools\Api\Models\Project\Project\setLanguages
setLanguages(?array $languages)
Commercetools\Api\Models\Project\Project\setShippingRateInputType
setShippingRateInputType(?ShippingRateInputType $shippingRateInputType)
Commercetools\Api\Models\Project\Project\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\Project\Project\getBusinessUnits
getBusinessUnits()
Commercetools\Api\Models\Project\Project\FIELD_VERSION
const FIELD_VERSION
Definition:
Project.php:18
Commercetools\Api\Models\Project\Project\setShoppingLists
setShoppingLists(?ShoppingListsConfiguration $shoppingLists)
Commercetools\Api\Models\Project\Project\setTrialUntil
setTrialUntil(?string $trialUntil)
Commercetools\Api\Models\Project\Project\setMessages
setMessages(?MessagesConfiguration $messages)
Commercetools\Api\Models\Project\Project\FIELD_MESSAGES
const FIELD_MESSAGES
Definition:
Project.php:26
Commercetools\Api\Models\Project\Project\getCountries
getCountries()
Commercetools\Api\Models\Project\Project\getMessages
getMessages()
Commercetools\Api\Models\Project\Project\setCarts
setCarts(?CartsConfiguration $carts)
Commercetools\Api\Models\Project\Project\getShippingRateInputType
getShippingRateInputType()
Commercetools\Api\Models\Project\Project\setExternalOAuth
setExternalOAuth(?ExternalOAuth $externalOAuth)
Commercetools\Api\Models\Project\Project\getSearchIndexing
getSearchIndexing()
Commercetools\Api\Models\Project\Project\getCarts
getCarts()
Commercetools\Api\Models\Project\Project\setCountries
setCountries(?array $countries)
Commercetools\Api\Models\Project\Project\FIELD_SEARCH_INDEXING
const FIELD_SEARCH_INDEXING
Definition:
Project.php:31
Commercetools\Api\Models\Project\Project\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\Project\Project\getShoppingLists
getShoppingLists()
Commercetools\Api\Models\Project\Project\getTrialUntil
getTrialUntil()
Commercetools\Api\Models\Project\Project\FIELD_LANGUAGES
const FIELD_LANGUAGES
Definition:
Project.php:23
Commercetools\Api\Models\Project\Project\FIELD_KEY
const FIELD_KEY
Definition:
Project.php:19
Commercetools\Api\Models\Project\Project\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Project\Project\getCurrencies
getCurrencies()
Commercetools\Api\Models\Project\Project\FIELD_COUNTRIES
const FIELD_COUNTRIES
Definition:
Project.php:21
Commercetools\Api\Models\Project\Project\setCurrencies
setCurrencies(?array $currencies)
Commercetools\Api\Models\Project\Project\FIELD_CREATED_AT
const FIELD_CREATED_AT
Definition:
Project.php:24
Commercetools\Api\Models\Project\Project\FIELD_SHOPPING_LISTS
const FIELD_SHOPPING_LISTS
Definition:
Project.php:28
Commercetools\Api\Models\Project\Project\getVersion
getVersion()
Commercetools\Api\Models\Project\Project\FIELD_EXTERNAL_O_AUTH
const FIELD_EXTERNAL_O_AUTH
Definition:
Project.php:30
Commercetools\Api\Models\Project\Project\FIELD_SHIPPING_RATE_INPUT_TYPE
const FIELD_SHIPPING_RATE_INPUT_TYPE
Definition:
Project.php:29
Commercetools\Api\Models\Project\Project\setBusinessUnits
setBusinessUnits(?BusinessUnitConfiguration $businessUnits)
Commercetools\Api\Models\Project\Project\setSearchIndexing
setSearchIndexing(?SearchIndexingConfiguration $searchIndexing)
Commercetools\Api\Models\Project\Project\getName
getName()
Commercetools\Api\Models\Project\Project\getExternalOAuth
getExternalOAuth()
Commercetools\Api\Models\Project\Project\getLanguages
getLanguages()
Commercetools\Api\Models\Project\Project\getKey
getKey()
Commercetools\Api\Models\Project\SearchIndexingConfiguration
Definition:
SearchIndexingConfiguration.php:15
Commercetools\Api\Models\Project\ShippingRateInputType
Definition:
ShippingRateInputType.php:15
Commercetools\Api\Models\Project\ShoppingListsConfiguration
Definition:
ShoppingListsConfiguration.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Project
Definition:
BusinessUnitConfiguration.php:9
Generated by
1.9.1