Package com.commercetools.api.client
Class ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet,OrderPagedQueryResponse>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
- All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
,ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
,ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
,PagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
,QueryTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
,SortableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
,ClientRequestCommand<OrderPagedQueryResponse>
,CreateHttpRequestCommand
,HttpRequestCommand<OrderPagedQueryResponse>
,RequestCommand<OrderPagedQueryResponse>
public class ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
extends TypeApiMethod<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet,OrderPagedQueryResponse>
implements ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>, SortableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>, PagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>, QueryTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>, Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
Returns all Orders in a Store that match a given Query Predicate and contain either a customerId
that matches the customer_id:{id} scope, or an anonymousId
that matches the anonymous_id:{id} scope.
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.order.OrderPagedQueryResponse>> result = apiRoot
.withProjectKey("{projectKey}")
.inStoreKeyWithStoreKeyValue("{storeKey}")
.me()
.orders()
.get()
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,
V> -
Constructor Summary
ConstructorDescriptionByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
(ApiHttpClient apiHttpClient, String projectKey, String storeKey) -
Method Summary
Modifier and TypeMethodDescriptionaddExpand
(Collection<TValue> expand) add additional expand query parametersadd additional expand query parameteradd additional expand query parameteraddExpand
(TValue expand) add additional expand query parameteraddLimit
(Collection<TValue> limit) add additional limit query parametersadd additional limit query parameteradd additional limit query parameteraddLimit
(TValue limit) add additional limit query parameteraddOffset
(Collection<TValue> offset) add additional offset query parametersadd additional offset query parameteradd additional offset query parameteraddOffset
(TValue offset) add additional offset query parameteraddPredicateVar
(String varName, Collection<TValue> predicateVar) add additional predicateVar query parametersaddPredicateVar
(String varName, TValue predicateVar) add additional predicateVar query parameteraddSort
(Collection<TValue> sort) add additional sort query parametersadd additional sort query parameteradd additional sort query parameteraddSort
(TValue sort) add additional sort query parameteraddWhere
(Collection<TValue> where) add additional where query parametersadd additional where query parameteradd additional where query parameteraddWhere
(TValue where) add additional where query parameteraddWithTotal
(Collection<TValue> withTotal) add additional withTotal query parametersadd additional withTotal query parameteraddWithTotal
(Supplier<Boolean> supplier) add additional withTotal query parameteraddWithTotal
(TValue withTotal) add additional withTotal query parameterboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) getLimit()
getSort()
getWhere()
int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<OrderPagedQueryResponse>
void
setProjectKey
(String projectKey) void
setStoreKey
(String storeKey) toString()
withExpand
(Collection<TValue> expand) set expand with the specified valuesset expand with the specified valuewithExpand
(Supplier<String> supplier) set expand with the specified valuewithExpand
(TValue expand) set expand with the specified valuewithLimit
(Collection<TValue> limit) set limit with the specified valuesset limit with the specified valueset limit with the specified valuewithLimit
(TValue limit) set limit with the specified valuewithOffset
(Collection<TValue> offset) set offset with the specified valuesset offset with the specified valuewithOffset
(Supplier<Integer> supplier) set offset with the specified valuewithOffset
(TValue offset) set offset with the specified valuewithPredicateVar
(String varName, Collection<TValue> predicateVar) set predicateVar with the specificied valueswithPredicateVar
(String varName, TValue predicateVar) set predicateVar with the specificied valuewithSort
(Collection<TValue> sort) set sort with the specified valuesset sort with the specified valueset sort with the specified valuewithSort
(TValue sort) set sort with the specified valuewithWhere
(Collection<TValue> where) set where with the specified valuesset where with the specified valueset where with the specified valuewithWhere
(TValue where) set where with the specified valuewithWithTotal
(Collection<TValue> withTotal) set withTotal with the specified valuesset withTotal with the specified valuewithWithTotal
(Supplier<Boolean> supplier) set withTotal with the specified valuewithWithTotal
(TValue withTotal) set withTotal with the specified valueMethods inherited from class io.vrap.rmf.base.client.ApiMethod
addHeader, addQueryParam, addQueryParams, contentType, createHttpRequest, execute, execute, execute, execute, execute, execute, execute, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriString, getQueryParamUriStrings, send, sendBlocking, sendBlocking, with, with, withHeader, withHeaders, withHttpRequest, withoutHeader, withoutQueryParam, withQueryParam, withQueryParams
Methods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlocking
Methods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequest
Methods inherited from interface com.commercetools.api.client.Deprecatable200Trait
asDeprecatable200Trait, asDeprecatable200TraitToBaseType
Methods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseType
Methods inherited from interface com.commercetools.api.client.ExpandableTrait
asExpandableTrait, asExpandableTraitToBaseType
Methods inherited from interface com.commercetools.api.client.PagingTrait
asPagingTrait, asPagingTraitToBaseType
Methods inherited from interface com.commercetools.api.client.QueryTrait
asQueryTrait, asQueryTraitToBaseType
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
Methods inherited from interface com.commercetools.api.client.SortableTrait
asSortableTrait, asSortableTraitToBaseType
-
Constructor Details
-
ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet(ApiHttpClient apiHttpClient, String projectKey, String storeKey) -
ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
-
Method Details
-
resultType
- Specified by:
resultType
in interfaceHttpRequestCommand<OrderPagedQueryResponse>
-
executeBlocking
public ApiHttpResponse<OrderPagedQueryResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceClientRequestCommand<OrderPagedQueryResponse>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet,
OrderPagedQueryResponse>
-
execute
- Specified by:
execute
in interfaceClientRequestCommand<OrderPagedQueryResponse>
- Specified by:
execute
in classApiMethod<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet,
OrderPagedQueryResponse>
-
getProjectKey
-
getStoreKey
-
getExpand
- Specified by:
getExpand
in interfaceExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
-
getSort
- Specified by:
getSort
in interfaceSortableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
-
getLimit
- Specified by:
getLimit
in interfacePagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
-
getOffset
- Specified by:
getOffset
in interfacePagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
-
getWithTotal
- Specified by:
getWithTotal
in interfacePagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
-
getWhere
- Specified by:
getWhere
in interfaceQueryTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
-
setProjectKey
-
setStoreKey
-
withExpand
set expand with the specified value- Specified by:
withExpand
in interfaceExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
expand
- value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addExpand
add additional expand query parameter- Specified by:
addExpand
in interfaceExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
expand
- value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withExpand
set expand with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addExpand
add additional expand query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withExpand
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet withExpand(Function<StringBuilder, StringBuilder> op) set expand with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addExpand
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet addExpand(Function<StringBuilder, StringBuilder> op) add additional expand query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withExpand
set expand with the specified values- Type Parameters:
TValue
- value type- Parameters:
expand
- values to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addExpand
add additional expand query parameters- Type Parameters:
TValue
- value type- Parameters:
expand
- values to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withSort
set sort with the specified value- Specified by:
withSort
in interfaceSortableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addSort
add additional sort query parameter- Specified by:
addSort
in interfaceSortableTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withSort
set sort with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addSort
add additional sort query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withSort
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet withSort(Function<StringBuilder, StringBuilder> op) set sort with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addSort
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet addSort(Function<StringBuilder, StringBuilder> op) add additional sort query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withSort
set sort with the specified values- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addSort
add additional sort query parameters- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withLimit
set limit with the specified value- Specified by:
withLimit
in interfacePagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addLimit
add additional limit query parameter- Specified by:
addLimit
in interfacePagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withLimit
set limit with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addLimit
add additional limit query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withLimit
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet withLimit(Function<StringBuilder, StringBuilder> op) set limit with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addLimit
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet addLimit(Function<StringBuilder, StringBuilder> op) add additional limit query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withLimit
set limit with the specified values- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addLimit
add additional limit query parameters- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withOffset
set offset with the specified value- Specified by:
withOffset
in interfacePagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addOffset
add additional offset query parameter- Specified by:
addOffset
in interfacePagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withOffset
set offset with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addOffset
add additional offset query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withOffset
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet withOffset(Function<StringBuilder, StringBuilder> op) set offset with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addOffset
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet addOffset(Function<StringBuilder, StringBuilder> op) add additional offset query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withOffset
set offset with the specified values- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addOffset
add additional offset query parameters- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withWithTotal
set withTotal with the specified value- Specified by:
withWithTotal
in interfacePagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addWithTotal
add additional withTotal query parameter- Specified by:
addWithTotal
in interfacePagingTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withWithTotal
set withTotal with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addWithTotal
add additional withTotal query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withWithTotal
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet withWithTotal(Function<StringBuilder, StringBuilder> op) set withTotal with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addWithTotal
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet addWithTotal(Function<StringBuilder, StringBuilder> op) add additional withTotal query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withWithTotal
public <TValue> ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet withWithTotal(Collection<TValue> withTotal) set withTotal with the specified values- Type Parameters:
TValue
- value type- Parameters:
withTotal
- values to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addWithTotal
public <TValue> ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet addWithTotal(Collection<TValue> withTotal) add additional withTotal query parameters- Type Parameters:
TValue
- value type- Parameters:
withTotal
- values to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withWhere
set where with the specified value- Specified by:
withWhere
in interfaceQueryTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
where
- value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addWhere
add additional where query parameter- Specified by:
addWhere
in interfaceQueryTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
where
- value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withWhere
set where with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addWhere
add additional where query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withWhere
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet withWhere(Function<StringBuilder, StringBuilder> op) set where with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addWhere
public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet addWhere(Function<StringBuilder, StringBuilder> op) add additional where query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withWhere
set where with the specified values- Type Parameters:
TValue
- value type- Parameters:
where
- values to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addWhere
add additional where query parameters- Type Parameters:
TValue
- value type- Parameters:
where
- values to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withPredicateVar
public <TValue> ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet withPredicateVar(String varName, TValue predicateVar) set predicateVar with the specificied value- Specified by:
withPredicateVar
in interfaceQueryTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
varName
- parameter namepredicateVar
- parameter value- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addPredicateVar
public <TValue> ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet addPredicateVar(String varName, TValue predicateVar) add additional predicateVar query parameter- Specified by:
addPredicateVar
in interfaceQueryTrait<ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet>
- Type Parameters:
TValue
- value type- Parameters:
varName
- parameter namepredicateVar
- parameter value- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
withPredicateVar
public <TValue> ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet withPredicateVar(String varName, Collection<TValue> predicateVar) set predicateVar with the specificied values- Type Parameters:
TValue
- value type- Parameters:
varName
- parameter namepredicateVar
- parameter values- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
addPredicateVar
public <TValue> ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet addPredicateVar(String varName, Collection<TValue> predicateVar) add additional predicateVar query parameters- Type Parameters:
TValue
- value type- Parameters:
varName
- parameter namepredicateVar
- parameter values- Returns:
- ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-