Package com.commercetools.api.client
Class ByProjectKeyPaymentMethodsGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyPaymentMethodsGet,PaymentMethodPagedQueryResponse>
com.commercetools.api.client.ByProjectKeyPaymentMethodsGet
- All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyPaymentMethodsGet>,ErrorableTrait<ByProjectKeyPaymentMethodsGet>,ExpandableTrait<ByProjectKeyPaymentMethodsGet>,PagingTrait<ByProjectKeyPaymentMethodsGet>,QueryTrait<ByProjectKeyPaymentMethodsGet>,SortableTrait<ByProjectKeyPaymentMethodsGet>,ClientRequestCommand<PaymentMethodPagedQueryResponse>,CreateHttpRequestCommand,HttpRequestCommand<PaymentMethodPagedQueryResponse>,RequestCommand<PaymentMethodPagedQueryResponse>
public class ByProjectKeyPaymentMethodsGet
extends TypeApiMethod<ByProjectKeyPaymentMethodsGet,PaymentMethodPagedQueryResponse>
implements ExpandableTrait<ByProjectKeyPaymentMethodsGet>, SortableTrait<ByProjectKeyPaymentMethodsGet>, PagingTrait<ByProjectKeyPaymentMethodsGet>, QueryTrait<ByProjectKeyPaymentMethodsGet>, ErrorableTrait<ByProjectKeyPaymentMethodsGet>, Deprecatable200Trait<ByProjectKeyPaymentMethodsGet>
Retrieves all PaymentMethods in the Project.
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.payment_method.PaymentMethodPagedQueryResponse>> result = apiRoot
.withProjectKey("{projectKey}")
.paymentMethods()
.get()
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyPaymentMethodsGet(ApiHttpClient apiHttpClient, String projectKey) -
Method Summary
Modifier and TypeMethodDescription<TValue> ByProjectKeyPaymentMethodsGetaddExpand(Collection<TValue> expand) add additional expand query parametersadd additional expand query parameteradd additional expand query parameter<TValue> ByProjectKeyPaymentMethodsGetaddExpand(TValue expand) add additional expand query parameter<TValue> ByProjectKeyPaymentMethodsGetaddLimit(Collection<TValue> limit) add additional limit query parametersadd additional limit query parameteradd additional limit query parameter<TValue> ByProjectKeyPaymentMethodsGetaddLimit(TValue limit) add additional limit query parameter<TValue> ByProjectKeyPaymentMethodsGetaddOffset(Collection<TValue> offset) add additional offset query parametersadd additional offset query parameteradd additional offset query parameter<TValue> ByProjectKeyPaymentMethodsGetaddOffset(TValue offset) add additional offset query parameter<TValue> ByProjectKeyPaymentMethodsGetaddPredicateVar(String varName, Collection<TValue> predicateVar) add additional predicateVar query parameters<TValue> ByProjectKeyPaymentMethodsGetaddPredicateVar(String varName, TValue predicateVar) add additional predicateVar query parameter<TValue> ByProjectKeyPaymentMethodsGetaddSort(Collection<TValue> sort) add additional sort query parametersadd additional sort query parameteradd additional sort query parameter<TValue> ByProjectKeyPaymentMethodsGetaddSort(TValue sort) add additional sort query parameter<TValue> ByProjectKeyPaymentMethodsGetaddWhere(Collection<TValue> where) add additional where query parametersadd additional where query parameteradd additional where query parameter<TValue> ByProjectKeyPaymentMethodsGetaddWhere(TValue where) add additional where query parameter<TValue> ByProjectKeyPaymentMethodsGetaddWithTotal(Collection<TValue> withTotal) add additional withTotal query parametersadd additional withTotal query parameteraddWithTotal(Supplier<Boolean> supplier) add additional withTotal query parameter<TValue> ByProjectKeyPaymentMethodsGetaddWithTotal(TValue withTotal) add additional withTotal query parameterbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getLimit()getSort()getWhere()inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<PaymentMethodPagedQueryResponse>voidsetProjectKey(String projectKey) toString()<TValue> ByProjectKeyPaymentMethodsGetwithExpand(Collection<TValue> expand) set expand with the specified valuesset expand with the specified valuewithExpand(Supplier<String> supplier) set expand with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithExpand(TValue expand) set expand with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithLimit(Collection<TValue> limit) set limit with the specified valuesset limit with the specified valueset limit with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithLimit(TValue limit) set limit with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithOffset(Collection<TValue> offset) set offset with the specified valuesset offset with the specified valuewithOffset(Supplier<Integer> supplier) set offset with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithOffset(TValue offset) set offset with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithPredicateVar(String varName, Collection<TValue> predicateVar) set predicateVar with the specificied values<TValue> ByProjectKeyPaymentMethodsGetwithPredicateVar(String varName, TValue predicateVar) set predicateVar with the specificied value<TValue> ByProjectKeyPaymentMethodsGetwithSort(Collection<TValue> sort) set sort with the specified valuesset sort with the specified valueset sort with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithSort(TValue sort) set sort with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithWhere(Collection<TValue> where) set where with the specified valuesset where with the specified valueset where with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithWhere(TValue where) set where with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithWithTotal(Collection<TValue> withTotal) set withTotal with the specified valuesset withTotal with the specified valuewithWithTotal(Supplier<Boolean> supplier) set withTotal with the specified value<TValue> ByProjectKeyPaymentMethodsGetwithWithTotal(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, withQueryParamsMethods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlockingMethods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequestMethods inherited from interface com.commercetools.api.client.Deprecatable200Trait
asDeprecatable200Trait, asDeprecatable200TraitToBaseTypeMethods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseTypeMethods inherited from interface com.commercetools.api.client.ExpandableTrait
asExpandableTrait, asExpandableTraitToBaseTypeMethods inherited from interface com.commercetools.api.client.PagingTrait
asPagingTrait, asPagingTraitToBaseTypeMethods inherited from interface com.commercetools.api.client.QueryTrait
asQueryTrait, asQueryTraitToBaseTypeMethods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlockingMethods inherited from interface com.commercetools.api.client.SortableTrait
asSortableTrait, asSortableTraitToBaseType
-
Constructor Details
-
ByProjectKeyPaymentMethodsGet
-
ByProjectKeyPaymentMethodsGet
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<PaymentMethodPagedQueryResponse>
-
executeBlocking
public ApiHttpResponse<PaymentMethodPagedQueryResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlockingin interfaceClientRequestCommand<PaymentMethodPagedQueryResponse>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyPaymentMethodsGet,PaymentMethodPagedQueryResponse>
-
execute
public CompletableFuture<ApiHttpResponse<PaymentMethodPagedQueryResponse>> execute(ApiHttpClient client) - Specified by:
executein interfaceClientRequestCommand<PaymentMethodPagedQueryResponse>- Specified by:
executein classApiMethod<ByProjectKeyPaymentMethodsGet,PaymentMethodPagedQueryResponse>
-
getProjectKey
-
getExpand
- Specified by:
getExpandin interfaceExpandableTrait<ByProjectKeyPaymentMethodsGet>
-
getSort
- Specified by:
getSortin interfaceSortableTrait<ByProjectKeyPaymentMethodsGet>
-
getLimit
- Specified by:
getLimitin interfacePagingTrait<ByProjectKeyPaymentMethodsGet>
-
getOffset
- Specified by:
getOffsetin interfacePagingTrait<ByProjectKeyPaymentMethodsGet>
-
getWithTotal
- Specified by:
getWithTotalin interfacePagingTrait<ByProjectKeyPaymentMethodsGet>
-
getWhere
- Specified by:
getWherein interfaceQueryTrait<ByProjectKeyPaymentMethodsGet>
-
setProjectKey
-
withExpand
set expand with the specified value- Specified by:
withExpandin interfaceExpandableTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
expand- value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addExpand
add additional expand query parameter- Specified by:
addExpandin interfaceExpandableTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
expand- value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withExpand
set expand with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addExpand
add additional expand query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withExpand
set expand with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addExpand
add additional expand query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withExpand
set expand with the specified values- Type Parameters:
TValue- value type- Parameters:
expand- values to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addExpand
add additional expand query parameters- Type Parameters:
TValue- value type- Parameters:
expand- values to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withSort
set sort with the specified value- Specified by:
withSortin interfaceSortableTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
sort- value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addSort
add additional sort query parameter- Specified by:
addSortin interfaceSortableTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
sort- value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withSort
set sort with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addSort
add additional sort query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withSort
set sort with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addSort
add additional sort query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withSort
set sort with the specified values- Type Parameters:
TValue- value type- Parameters:
sort- values to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addSort
add additional sort query parameters- Type Parameters:
TValue- value type- Parameters:
sort- values to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withLimit
set limit with the specified value- Specified by:
withLimitin interfacePagingTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
limit- value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addLimit
add additional limit query parameter- Specified by:
addLimitin interfacePagingTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
limit- value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withLimit
set limit with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addLimit
add additional limit query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withLimit
set limit with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addLimit
add additional limit query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withLimit
set limit with the specified values- Type Parameters:
TValue- value type- Parameters:
limit- values to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addLimit
add additional limit query parameters- Type Parameters:
TValue- value type- Parameters:
limit- values to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withOffset
set offset with the specified value- Specified by:
withOffsetin interfacePagingTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
offset- value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addOffset
add additional offset query parameter- Specified by:
addOffsetin interfacePagingTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
offset- value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withOffset
set offset with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addOffset
add additional offset query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withOffset
set offset with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addOffset
add additional offset query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withOffset
set offset with the specified values- Type Parameters:
TValue- value type- Parameters:
offset- values to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addOffset
add additional offset query parameters- Type Parameters:
TValue- value type- Parameters:
offset- values to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withWithTotal
set withTotal with the specified value- Specified by:
withWithTotalin interfacePagingTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
withTotal- value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addWithTotal
add additional withTotal query parameter- Specified by:
addWithTotalin interfacePagingTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
withTotal- value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withWithTotal
set withTotal with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addWithTotal
add additional withTotal query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withWithTotal
set withTotal with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addWithTotal
add additional withTotal query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withWithTotal
set withTotal with the specified values- Type Parameters:
TValue- value type- Parameters:
withTotal- values to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addWithTotal
add additional withTotal query parameters- Type Parameters:
TValue- value type- Parameters:
withTotal- values to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withWhere
set where with the specified value- Specified by:
withWherein interfaceQueryTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
where- value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addWhere
add additional where query parameter- Specified by:
addWherein interfaceQueryTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
where- value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withWhere
set where with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addWhere
add additional where query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withWhere
set where with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addWhere
add additional where query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withWhere
set where with the specified values- Type Parameters:
TValue- value type- Parameters:
where- values to be set- Returns:
- ByProjectKeyPaymentMethodsGet
-
addWhere
add additional where query parameters- Type Parameters:
TValue- value type- Parameters:
where- values to be added- Returns:
- ByProjectKeyPaymentMethodsGet
-
withPredicateVar
set predicateVar with the specificied value- Specified by:
withPredicateVarin interfaceQueryTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
varName- parameter namepredicateVar- parameter value- Returns:
- ByProjectKeyPaymentMethodsGet
-
addPredicateVar
add additional predicateVar query parameter- Specified by:
addPredicateVarin interfaceQueryTrait<ByProjectKeyPaymentMethodsGet>- Type Parameters:
TValue- value type- Parameters:
varName- parameter namepredicateVar- parameter value- Returns:
- ByProjectKeyPaymentMethodsGet
-
withPredicateVar
public <TValue> ByProjectKeyPaymentMethodsGet withPredicateVar(String varName, Collection<TValue> predicateVar) set predicateVar with the specificied values- Type Parameters:
TValue- value type- Parameters:
varName- parameter namepredicateVar- parameter values- Returns:
- ByProjectKeyPaymentMethodsGet
-
addPredicateVar
public <TValue> ByProjectKeyPaymentMethodsGet addPredicateVar(String varName, Collection<TValue> predicateVar) add additional predicateVar query parameters- Type Parameters:
TValue- value type- Parameters:
varName- parameter namepredicateVar- parameter values- Returns:
- ByProjectKeyPaymentMethodsGet
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-