Package com.commercetools.api.client
Class ByProjectKeyProductsKeyByKeyGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyProductsKeyByKeyGet,Product>
com.commercetools.api.client.ByProjectKeyProductsKeyByKeyGet
- All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyProductsKeyByKeyGet>
,ErrorableTrait<ByProjectKeyProductsKeyByKeyGet>
,ExpandableTrait<ByProjectKeyProductsKeyByKeyGet>
,PriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
,ClientRequestCommand<Product>
,CreateHttpRequestCommand
,HttpRequestCommand<Product>
,RequestCommand<Product>
public class ByProjectKeyProductsKeyByKeyGet
extends TypeApiMethod<ByProjectKeyProductsKeyByKeyGet,Product>
implements PriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>, ExpandableTrait<ByProjectKeyProductsKeyByKeyGet>, ErrorableTrait<ByProjectKeyProductsKeyByKeyGet>, Deprecatable200Trait<ByProjectKeyProductsKeyByKeyGet>
If Product price selection query parameters are provided, the selected Prices are added to the response.
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product.Product>> result = apiRoot
.withProjectKey("{projectKey}")
.products()
.withKey("{key}")
.get()
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,
V> -
Constructor Summary
ConstructorDescriptionByProjectKeyProductsKeyByKeyGet
(ApiHttpClient apiHttpClient, String projectKey, String key) -
Method Summary
Modifier and TypeMethodDescription<TValue> ByProjectKeyProductsKeyByKeyGet
addExpand
(Collection<TValue> expand) add additional expand query parametersadd additional expand query parameteradd additional expand query parameter<TValue> ByProjectKeyProductsKeyByKeyGet
addExpand
(TValue expand) add additional expand query parameter<TValue> ByProjectKeyProductsKeyByKeyGet
addPriceChannel
(Collection<TValue> priceChannel) add additional priceChannel query parametersadd additional priceChannel query parameteraddPriceChannel
(Supplier<String> supplier) add additional priceChannel query parameter<TValue> ByProjectKeyProductsKeyByKeyGet
addPriceChannel
(TValue priceChannel) add additional priceChannel query parameter<TValue> ByProjectKeyProductsKeyByKeyGet
addPriceCountry
(Collection<TValue> priceCountry) add additional priceCountry query parametersadd additional priceCountry query parameteraddPriceCountry
(Supplier<String> supplier) add additional priceCountry query parameter<TValue> ByProjectKeyProductsKeyByKeyGet
addPriceCountry
(TValue priceCountry) add additional priceCountry query parameter<TValue> ByProjectKeyProductsKeyByKeyGet
addPriceCurrency
(Collection<TValue> priceCurrency) add additional priceCurrency query parametersadd additional priceCurrency query parameteraddPriceCurrency
(Supplier<String> supplier) add additional priceCurrency query parameter<TValue> ByProjectKeyProductsKeyByKeyGet
addPriceCurrency
(TValue priceCurrency) add additional priceCurrency query parameter<TValue> ByProjectKeyProductsKeyByKeyGet
addPriceCustomerGroup
(Collection<TValue> priceCustomerGroup) add additional priceCustomerGroup query parametersadd additional priceCustomerGroup query parameteraddPriceCustomerGroup
(Supplier<String> supplier) add additional priceCustomerGroup query parameter<TValue> ByProjectKeyProductsKeyByKeyGet
addPriceCustomerGroup
(TValue priceCustomerGroup) add additional priceCustomerGroup query parameterboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) getKey()
int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<Product>
void
void
setProjectKey
(String projectKey) toString()
<TValue> ByProjectKeyProductsKeyByKeyGet
withExpand
(Collection<TValue> expand) set expand with the specified valuesset expand with the specified valuewithExpand
(Supplier<String> supplier) set expand with the specified value<TValue> ByProjectKeyProductsKeyByKeyGet
withExpand
(TValue expand) set expand with the specified value<TValue> ByProjectKeyProductsKeyByKeyGet
withPriceChannel
(Collection<TValue> priceChannel) set priceChannel with the specified valuesset priceChannel with the specified valuewithPriceChannel
(Supplier<String> supplier) set priceChannel with the specified value<TValue> ByProjectKeyProductsKeyByKeyGet
withPriceChannel
(TValue priceChannel) set priceChannel with the specified value<TValue> ByProjectKeyProductsKeyByKeyGet
withPriceCountry
(Collection<TValue> priceCountry) set priceCountry with the specified valuesset priceCountry with the specified valuewithPriceCountry
(Supplier<String> supplier) set priceCountry with the specified value<TValue> ByProjectKeyProductsKeyByKeyGet
withPriceCountry
(TValue priceCountry) set priceCountry with the specified value<TValue> ByProjectKeyProductsKeyByKeyGet
withPriceCurrency
(Collection<TValue> priceCurrency) set priceCurrency with the specified valuesset priceCurrency with the specified valuewithPriceCurrency
(Supplier<String> supplier) set priceCurrency with the specified value<TValue> ByProjectKeyProductsKeyByKeyGet
withPriceCurrency
(TValue priceCurrency) set priceCurrency with the specified value<TValue> ByProjectKeyProductsKeyByKeyGet
withPriceCustomerGroup
(Collection<TValue> priceCustomerGroup) set priceCustomerGroup with the specified valuesset priceCustomerGroup with the specified valuewithPriceCustomerGroup
(Supplier<String> supplier) set priceCustomerGroup with the specified value<TValue> ByProjectKeyProductsKeyByKeyGet
withPriceCustomerGroup
(TValue priceCustomerGroup) set priceCustomerGroup 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.PriceselectingTrait
asPriceselectingTrait, asPriceselectingTraitToBaseType
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
-
Constructor Details
-
ByProjectKeyProductsKeyByKeyGet
-
ByProjectKeyProductsKeyByKeyGet
-
-
Method Details
-
resultType
- Specified by:
resultType
in interfaceHttpRequestCommand<Product>
-
executeBlocking
- Specified by:
executeBlocking
in interfaceClientRequestCommand<Product>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyProductsKeyByKeyGet,
Product>
-
execute
- Specified by:
execute
in interfaceClientRequestCommand<Product>
- Specified by:
execute
in classApiMethod<ByProjectKeyProductsKeyByKeyGet,
Product>
-
getProjectKey
-
getKey
-
getPriceCurrency
- Specified by:
getPriceCurrency
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
-
getPriceCountry
- Specified by:
getPriceCountry
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
-
getPriceCustomerGroup
- Specified by:
getPriceCustomerGroup
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
-
getPriceChannel
- Specified by:
getPriceChannel
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
-
getExpand
- Specified by:
getExpand
in interfaceExpandableTrait<ByProjectKeyProductsKeyByKeyGet>
-
setProjectKey
-
setKey
-
withPriceCurrency
set priceCurrency with the specified value- Specified by:
withPriceCurrency
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
priceCurrency
- value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCurrency
add additional priceCurrency query parameter- Specified by:
addPriceCurrency
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
priceCurrency
- value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCurrency
set priceCurrency with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCurrency
add additional priceCurrency query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCurrency
set priceCurrency with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCurrency
add additional priceCurrency query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCurrency
set priceCurrency with the specified values- Type Parameters:
TValue
- value type- Parameters:
priceCurrency
- values to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCurrency
add additional priceCurrency query parameters- Type Parameters:
TValue
- value type- Parameters:
priceCurrency
- values to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCountry
set priceCountry with the specified value- Specified by:
withPriceCountry
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
priceCountry
- value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCountry
add additional priceCountry query parameter- Specified by:
addPriceCountry
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
priceCountry
- value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCountry
set priceCountry with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCountry
add additional priceCountry query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCountry
set priceCountry with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCountry
add additional priceCountry query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCountry
set priceCountry with the specified values- Type Parameters:
TValue
- value type- Parameters:
priceCountry
- values to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCountry
add additional priceCountry query parameters- Type Parameters:
TValue
- value type- Parameters:
priceCountry
- values to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCustomerGroup
set priceCustomerGroup with the specified value- Specified by:
withPriceCustomerGroup
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
priceCustomerGroup
- value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCustomerGroup
add additional priceCustomerGroup query parameter- Specified by:
addPriceCustomerGroup
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
priceCustomerGroup
- value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCustomerGroup
set priceCustomerGroup with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCustomerGroup
add additional priceCustomerGroup query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCustomerGroup
public ByProjectKeyProductsKeyByKeyGet withPriceCustomerGroup(Function<StringBuilder, StringBuilder> op) set priceCustomerGroup with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCustomerGroup
public ByProjectKeyProductsKeyByKeyGet addPriceCustomerGroup(Function<StringBuilder, StringBuilder> op) add additional priceCustomerGroup query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceCustomerGroup
public <TValue> ByProjectKeyProductsKeyByKeyGet withPriceCustomerGroup(Collection<TValue> priceCustomerGroup) set priceCustomerGroup with the specified values- Type Parameters:
TValue
- value type- Parameters:
priceCustomerGroup
- values to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceCustomerGroup
public <TValue> ByProjectKeyProductsKeyByKeyGet addPriceCustomerGroup(Collection<TValue> priceCustomerGroup) add additional priceCustomerGroup query parameters- Type Parameters:
TValue
- value type- Parameters:
priceCustomerGroup
- values to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceChannel
set priceChannel with the specified value- Specified by:
withPriceChannel
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
priceChannel
- value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceChannel
add additional priceChannel query parameter- Specified by:
addPriceChannel
in interfacePriceselectingTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
priceChannel
- value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceChannel
set priceChannel with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceChannel
add additional priceChannel query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceChannel
set priceChannel with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceChannel
add additional priceChannel query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withPriceChannel
set priceChannel with the specified values- Type Parameters:
TValue
- value type- Parameters:
priceChannel
- values to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addPriceChannel
add additional priceChannel query parameters- Type Parameters:
TValue
- value type- Parameters:
priceChannel
- values to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withExpand
set expand with the specified value- Specified by:
withExpand
in interfaceExpandableTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
expand
- value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addExpand
add additional expand query parameter- Specified by:
addExpand
in interfaceExpandableTrait<ByProjectKeyProductsKeyByKeyGet>
- Type Parameters:
TValue
- value type- Parameters:
expand
- value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withExpand
set expand with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addExpand
add additional expand query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withExpand
set expand with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addExpand
add additional expand query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
withExpand
set expand with the specified values- Type Parameters:
TValue
- value type- Parameters:
expand
- values to be set- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
addExpand
add additional expand query parameters- Type Parameters:
TValue
- value type- Parameters:
expand
- values to be added- Returns:
- ByProjectKeyProductsKeyByKeyGet
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-