Package com.commercetools.api.client
Class ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete,ShoppingList>
com.commercetools.api.client.ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
- All Implemented Interfaces:
ConflictingTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
,DataerasureTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
,Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
,ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
,ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
,VersionedTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
,io.vrap.rmf.base.client.ClientRequestCommand<ShoppingList>
,io.vrap.rmf.base.client.RequestCommand<ShoppingList>
public class ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
extends io.vrap.rmf.base.client.ApiMethod<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete,ShoppingList>
implements DataerasureTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, VersionedTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, ConflictingTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, ExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, ErrorableTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>, Deprecatable200Trait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
If a ShoppingList exists in a Project but does not have the store
field, or the store
field references a different Store, the ResourceNotFound error is returned.
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.shopping_list.ShoppingList>> result = apiRoot
.withProjectKey("{projectKey}")
.inStoreKeyWithStoreKeyValue("{storeKey}")
.shoppingLists()
.withId("{ID}")
.delete()
.withVersion(version)
.execute()
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
(ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete t) ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String storeKey, String ID) -
Method Summary
Modifier and TypeMethodDescriptionaddDataErasure
(Collection<TValue> dataErasure) add additional dataErasure query parametersadd additional dataErasure query parameteraddDataErasure
(Supplier<Boolean> supplier) add additional dataErasure query parameteraddDataErasure
(TValue dataErasure) add additional dataErasure query parameteraddExpand
(Collection<TValue> expand) add additional expand query parametersadd additional expand query parameteradd additional expand query parameteraddExpand
(TValue expand) add additional expand query parameteraddVersion
(Collection<TValue> version) add additional version query parametersadd additional version query parameteraddVersion
(Supplier<Long> supplier) add additional version query parameteraddVersion
(TValue version) add additional version query parameterboolean
CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<ShoppingList>>
execute
(io.vrap.rmf.base.client.ApiHttpClient client) io.vrap.rmf.base.client.ApiHttpResponse<ShoppingList>
executeBlocking
(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) getID()
int
hashCode()
int
void
void
setProjectKey
(String projectKey) void
setStoreKey
(String storeKey) toString()
withDataErasure
(Collection<TValue> dataErasure) set dataErasure with the specified valuesset dataErasure with the specified valuewithDataErasure
(Supplier<Boolean> supplier) set dataErasure with the specified valuewithDataErasure
(TValue dataErasure) set dataErasure with the specified valuewithExpand
(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 valuewithVersion
(Collection<TValue> version) set version with the specified valuesset version with the specified valuewithVersion
(Supplier<Long> supplier) set version with the specified valuewithVersion
(TValue version) set version 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, executeBlocking, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriString, getQueryParamUriStrings, send, sendBlocking, sendBlocking, with, with, withHeader, withHeaders, withHttpRequest, withoutHeader, withoutQueryParam, withQueryParam, withQueryParams
Methods inherited from interface com.commercetools.api.client.ConflictingTrait
asConflictingTrait, asConflictingTraitToBaseType
Methods inherited from interface com.commercetools.api.client.DataerasureTrait
asDataerasureTrait, asDataerasureTraitToBaseType
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.VersionedTrait
asVersionedTrait, asVersionedTraitToBaseType
-
Constructor Details
-
ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String storeKey, String ID) -
ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
-
Method Details
-
executeBlocking
public io.vrap.rmf.base.client.ApiHttpResponse<ShoppingList> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<ShoppingList>
- Specified by:
executeBlocking
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete,
ShoppingList>
-
execute
public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<ShoppingList>> execute(io.vrap.rmf.base.client.ApiHttpClient client) - Specified by:
execute
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<ShoppingList>
- Specified by:
execute
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete,
ShoppingList>
-
getProjectKey
-
getStoreKey
-
getID
-
getExpand
- Specified by:
getExpand
in interfaceExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
-
getDataErasure
- Specified by:
getDataErasure
in interfaceDataerasureTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
-
getVersion
- Specified by:
getVersion
in interfaceVersionedTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
-
setProjectKey
-
setStoreKey
-
setID
-
withExpand
set expand with the specified value- Specified by:
withExpand
in interfaceExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
- Type Parameters:
TValue
- value type- Parameters:
expand
- value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addExpand
add additional expand query parameter- Specified by:
addExpand
in interfaceExpandableTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
- Type Parameters:
TValue
- value type- Parameters:
expand
- value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withExpand
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete withExpand(Supplier<String> supplier) set expand with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addExpand
add additional expand query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withExpand
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete withExpand(Function<StringBuilder, StringBuilder> op) set expand with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addExpand
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete addExpand(Function<StringBuilder, StringBuilder> op) add additional expand query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withExpand
public <TValue> ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete withExpand(Collection<TValue> expand) set expand with the specified values- Type Parameters:
TValue
- value type- Parameters:
expand
- values to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addExpand
public <TValue> ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete addExpand(Collection<TValue> expand) add additional expand query parameters- Type Parameters:
TValue
- value type- Parameters:
expand
- values to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withDataErasure
public <TValue> ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete withDataErasure(TValue dataErasure) set dataErasure with the specified value- Specified by:
withDataErasure
in interfaceDataerasureTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
- Type Parameters:
TValue
- value type- Parameters:
dataErasure
- value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addDataErasure
public <TValue> ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete addDataErasure(TValue dataErasure) add additional dataErasure query parameter- Specified by:
addDataErasure
in interfaceDataerasureTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
- Type Parameters:
TValue
- value type- Parameters:
dataErasure
- value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withDataErasure
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete withDataErasure(Supplier<Boolean> supplier) set dataErasure with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addDataErasure
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete addDataErasure(Supplier<Boolean> supplier) add additional dataErasure query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withDataErasure
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete withDataErasure(Function<StringBuilder, StringBuilder> op) set dataErasure with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addDataErasure
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete addDataErasure(Function<StringBuilder, StringBuilder> op) add additional dataErasure query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withDataErasure
public <TValue> ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete withDataErasure(Collection<TValue> dataErasure) set dataErasure with the specified values- Type Parameters:
TValue
- value type- Parameters:
dataErasure
- values to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addDataErasure
public <TValue> ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete addDataErasure(Collection<TValue> dataErasure) add additional dataErasure query parameters- Type Parameters:
TValue
- value type- Parameters:
dataErasure
- values to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withVersion
set version with the specified value- Specified by:
withVersion
in interfaceVersionedTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
- Type Parameters:
TValue
- value type- Parameters:
version
- value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addVersion
add additional version query parameter- Specified by:
addVersion
in interfaceVersionedTrait<ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete>
- Type Parameters:
TValue
- value type- Parameters:
version
- value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withVersion
set version with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addVersion
add additional version query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withVersion
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete withVersion(Function<StringBuilder, StringBuilder> op) set version with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addVersion
public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete addVersion(Function<StringBuilder, StringBuilder> op) add additional version query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
withVersion
public <TValue> ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete withVersion(Collection<TValue> version) set version with the specified values- Type Parameters:
TValue
- value type- Parameters:
version
- values to be set- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
addVersion
public <TValue> ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete addVersion(Collection<TValue> version) add additional version query parameters- Type Parameters:
TValue
- value type- Parameters:
version
- values to be added- Returns:
- ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete
-
equals
-
hashCode
-
toString
-
reflectionHashCode
public int reflectionHashCode()
-