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
ConstructorsConstructorDescriptionProjectApiRoot(String projectKey, ApiHttpClient apiHttpClient) ProjectApiRoot(String projectKey, ApiHttpClient apiHttpClient, boolean closeHttpClient) -
Method Summary
Modifier and TypeMethodDescriptioncarts()channels()voidclose()static ProjectApiRootfromClient(String projectKey, ApiHttpClient apiHttpClient) static ProjectApiRootfromClient(String projectKey, ApiHttpClient apiHttpClient, boolean closeHttpClient) get()graphql()head()inBusinessUnit(String businessUnitKey) login()me()messages()static ProjectApiRootstatic ProjectApiRootorders()payments()post(ProjectUpdate projectUpdate) products()quotes()reviews()states()stores()types()with()<R> Rwith(Function<ProjectApiRoot, R> op) static ProjectApiRootwithContext(ProjectApiRoot projectApiRoot, Context context) static ProjectApiRootwithContext(ProjectApiRoot projectApiRoot, Context context, boolean closeHttpClient) static ProjectApiRootwithContext(String projectKey, ApiHttpClient apiHttpClient, Context context) static ProjectApiRootwithContext(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:
within interfaceProjectScopedApiRoot
-
withProjectKey
-
get
- Specified by:
getin interfaceProjectScopedApiRoot
-
head
- Specified by:
headin interfaceProjectScopedApiRoot
-
post
- Specified by:
postin interfaceProjectScopedApiRoot
-
categories
- Specified by:
categoriesin interfaceProjectScopedApiRoot
-
carts
- Specified by:
cartsin interfaceProjectScopedApiRoot
-
cartDiscounts
- Specified by:
cartDiscountsin interfaceProjectScopedApiRoot
-
channels
- Specified by:
channelsin interfaceProjectScopedApiRoot
-
customers
- Specified by:
customersin interfaceProjectScopedApiRoot
-
customerGroups
- Specified by:
customerGroupsin interfaceProjectScopedApiRoot
-
customObjects
- Specified by:
customObjectsin interfaceProjectScopedApiRoot
-
discountCodes
- Specified by:
discountCodesin interfaceProjectScopedApiRoot
-
graphql
- Specified by:
graphqlin interfaceProjectScopedApiRoot
-
inventory
- Specified by:
inventoryin interfaceProjectScopedApiRoot
-
login
- Specified by:
loginin interfaceProjectScopedApiRoot
-
messages
- Specified by:
messagesin interfaceProjectScopedApiRoot
-
orders
- Specified by:
ordersin interfaceProjectScopedApiRoot
-
payments
- Specified by:
paymentsin interfaceProjectScopedApiRoot
-
products
- Specified by:
productsin interfaceProjectScopedApiRoot
-
productDiscounts
- Specified by:
productDiscountsin interfaceProjectScopedApiRoot
-
productProjections
- Specified by:
productProjectionsin interfaceProjectScopedApiRoot
-
productSelections
- Specified by:
productSelectionsin interfaceProjectScopedApiRoot
-
productTypes
- Specified by:
productTypesin interfaceProjectScopedApiRoot
-
reviews
- Specified by:
reviewsin interfaceProjectScopedApiRoot
-
shippingMethods
- Specified by:
shippingMethodsin interfaceProjectScopedApiRoot
-
shoppingLists
- Specified by:
shoppingListsin interfaceProjectScopedApiRoot
-
states
- Specified by:
statesin interfaceProjectScopedApiRoot
-
subscriptions
- Specified by:
subscriptionsin interfaceProjectScopedApiRoot
-
taxCategories
- Specified by:
taxCategoriesin interfaceProjectScopedApiRoot
-
types
- Specified by:
typesin interfaceProjectScopedApiRoot
-
zones
- Specified by:
zonesin interfaceProjectScopedApiRoot
-
me
- Specified by:
mein interfaceProjectScopedApiRoot
-
extensions
- Specified by:
extensionsin interfaceProjectScopedApiRoot
-
apiClients
- Specified by:
apiClientsin interfaceProjectScopedApiRoot
-
stores
- Specified by:
storesin interfaceProjectScopedApiRoot
-
inStore
- Specified by:
inStorein interfaceProjectScopedApiRoot
-
businessUnits
- Specified by:
businessUnitsin interfaceProjectScopedApiRoot
-
quotes
- Specified by:
quotesin interfaceProjectScopedApiRoot
-
quoteRequests
- Specified by:
quoteRequestsin interfaceProjectScopedApiRoot
-
stagedQuotes
- Specified by:
stagedQuotesin interfaceProjectScopedApiRoot
-
standalonePrices
- Specified by:
standalonePricesin interfaceProjectScopedApiRoot
-
attributeGroups
- Specified by:
attributeGroupsin interfaceProjectScopedApiRoot
-
inBusinessUnit
public ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyRequestBuilder inBusinessUnit(String businessUnitKey) - Specified by:
inBusinessUnitin interfaceProjectScopedApiRoot
-
asAssociate
- Specified by:
asAssociatein interfaceProjectScopedApiRoot
-
associateRoles
- Specified by:
associateRolesin interfaceProjectScopedApiRoot
-
productTailoring
- Specified by:
productTailoringin interfaceProjectScopedApiRoot
-
discountGroups
- Specified by:
discountGroupsin interfaceProjectScopedApiRoot
-
paymentMethods
- Specified by:
paymentMethodsin interfaceProjectScopedApiRoot
-
recurringOrders
- Specified by:
recurringOrdersin interfaceProjectScopedApiRoot
-
recurrencePolicies
- Specified by:
recurrencePoliciesin interfaceProjectScopedApiRoot
-
with
- Specified by:
within interfaceProjectScopedApiRoot
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-