Package com.commercetools.api.client
Class ProjectApiRoot
java.lang.Object
com.commercetools.api.client.ProjectApiRoot
- All Implemented Interfaces:
ProjectScopedApiRoot
,Closeable
,AutoCloseable
Project scoped API root
-
Constructor Summary
ConstructorDescriptionProjectApiRoot
(String projectKey, ApiHttpClient apiHttpClient) ProjectApiRoot
(String projectKey, ApiHttpClient apiHttpClient, boolean closeHttpClient) -
Method Summary
Modifier and TypeMethodDescriptioncarts()
channels()
void
close()
static ProjectApiRoot
fromClient
(String projectKey, ApiHttpClient apiHttpClient) static ProjectApiRoot
fromClient
(String projectKey, ApiHttpClient apiHttpClient, boolean closeHttpClient) get()
graphql()
head()
inBusinessUnit
(String businessUnitKey) login()
me()
messages()
static ProjectApiRoot
static ProjectApiRoot
orders()
payments()
post
(ProjectUpdate projectUpdate) products()
quotes()
reviews()
states()
stores()
types()
with()
<R> R
with
(Function<ProjectApiRoot, R> op) static ProjectApiRoot
withContext
(ProjectApiRoot projectApiRoot, Context context) static ProjectApiRoot
withContext
(ProjectApiRoot projectApiRoot, Context context, boolean closeHttpClient) static ProjectApiRoot
withContext
(String projectKey, ApiHttpClient apiHttpClient, Context context) static ProjectApiRoot
withContext
(String projectKey, ApiHttpClient apiHttpClient, Context context, boolean closeHttpClient) withProjectKey
(String projectKey) zones()
-
Constructor Details
-
ProjectApiRoot
-
ProjectApiRoot
-
-
Method Details
-
getProjectKey
-
getApiHttpClient
-
of
-
fromClient
-
withContext
public static ProjectApiRoot withContext(String projectKey, ApiHttpClient apiHttpClient, Context context) -
withContext
-
of
-
fromClient
public static ProjectApiRoot fromClient(String projectKey, ApiHttpClient apiHttpClient, boolean closeHttpClient) -
withContext
public static ProjectApiRoot withContext(String projectKey, ApiHttpClient apiHttpClient, Context context, boolean closeHttpClient) -
withContext
public static ProjectApiRoot withContext(ProjectApiRoot projectApiRoot, Context context, boolean closeHttpClient) -
with
- Specified by:
with
in interfaceProjectScopedApiRoot
-
withProjectKey
-
get
- Specified by:
get
in interfaceProjectScopedApiRoot
-
head
- Specified by:
head
in interfaceProjectScopedApiRoot
-
post
- Specified by:
post
in interfaceProjectScopedApiRoot
-
categories
- Specified by:
categories
in interfaceProjectScopedApiRoot
-
carts
- Specified by:
carts
in interfaceProjectScopedApiRoot
-
cartDiscounts
- Specified by:
cartDiscounts
in interfaceProjectScopedApiRoot
-
channels
- Specified by:
channels
in interfaceProjectScopedApiRoot
-
customers
- Specified by:
customers
in interfaceProjectScopedApiRoot
-
customerGroups
- Specified by:
customerGroups
in interfaceProjectScopedApiRoot
-
customObjects
- Specified by:
customObjects
in interfaceProjectScopedApiRoot
-
discountCodes
- Specified by:
discountCodes
in interfaceProjectScopedApiRoot
-
graphql
- Specified by:
graphql
in interfaceProjectScopedApiRoot
-
inventory
- Specified by:
inventory
in interfaceProjectScopedApiRoot
-
login
- Specified by:
login
in interfaceProjectScopedApiRoot
-
messages
- Specified by:
messages
in interfaceProjectScopedApiRoot
-
orders
- Specified by:
orders
in interfaceProjectScopedApiRoot
-
payments
- Specified by:
payments
in interfaceProjectScopedApiRoot
-
products
- Specified by:
products
in interfaceProjectScopedApiRoot
-
productDiscounts
- Specified by:
productDiscounts
in interfaceProjectScopedApiRoot
-
productProjections
- Specified by:
productProjections
in interfaceProjectScopedApiRoot
-
productSelections
- Specified by:
productSelections
in interfaceProjectScopedApiRoot
-
productTypes
- Specified by:
productTypes
in interfaceProjectScopedApiRoot
-
reviews
- Specified by:
reviews
in interfaceProjectScopedApiRoot
-
shippingMethods
- Specified by:
shippingMethods
in interfaceProjectScopedApiRoot
-
shoppingLists
- Specified by:
shoppingLists
in interfaceProjectScopedApiRoot
-
states
- Specified by:
states
in interfaceProjectScopedApiRoot
-
subscriptions
- Specified by:
subscriptions
in interfaceProjectScopedApiRoot
-
taxCategories
- Specified by:
taxCategories
in interfaceProjectScopedApiRoot
-
types
- Specified by:
types
in interfaceProjectScopedApiRoot
-
zones
- Specified by:
zones
in interfaceProjectScopedApiRoot
-
me
- Specified by:
me
in interfaceProjectScopedApiRoot
-
extensions
- Specified by:
extensions
in interfaceProjectScopedApiRoot
-
apiClients
- Specified by:
apiClients
in interfaceProjectScopedApiRoot
-
stores
- Specified by:
stores
in interfaceProjectScopedApiRoot
-
inStore
- Specified by:
inStore
in interfaceProjectScopedApiRoot
-
businessUnits
- Specified by:
businessUnits
in interfaceProjectScopedApiRoot
-
quotes
- Specified by:
quotes
in interfaceProjectScopedApiRoot
-
quoteRequests
- Specified by:
quoteRequests
in interfaceProjectScopedApiRoot
-
stagedQuotes
- Specified by:
stagedQuotes
in interfaceProjectScopedApiRoot
-
standalonePrices
- Specified by:
standalonePrices
in interfaceProjectScopedApiRoot
-
attributeGroups
- Specified by:
attributeGroups
in interfaceProjectScopedApiRoot
-
inBusinessUnit
public ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyRequestBuilder inBusinessUnit(String businessUnitKey) - Specified by:
inBusinessUnit
in interfaceProjectScopedApiRoot
-
asAssociate
- Specified by:
asAssociate
in interfaceProjectScopedApiRoot
-
associateRoles
- Specified by:
associateRoles
in interfaceProjectScopedApiRoot
-
productTailoring
- Specified by:
productTailoring
in interfaceProjectScopedApiRoot
-
with
- Specified by:
with
in interfaceProjectScopedApiRoot
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-