Package com.commercetools.api.client
Class ByProjectKeyTaxCategoriesByIDDelete
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyTaxCategoriesByIDDelete,TaxCategory>
com.commercetools.api.client.ByProjectKeyTaxCategoriesByIDDelete
- All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyTaxCategoriesByIDDelete,,TaxCategory> ConflictingTrait<ByProjectKeyTaxCategoriesByIDDelete>,Deprecatable200Trait<ByProjectKeyTaxCategoriesByIDDelete>,ErrorableTrait<ByProjectKeyTaxCategoriesByIDDelete>,ExpandableTrait<ByProjectKeyTaxCategoriesByIDDelete>,VersionedTrait<ByProjectKeyTaxCategoriesByIDDelete>,ClientRequestCommand<TaxCategory>,CreateHttpRequestCommand,HttpRequestCommand<TaxCategory>,RequestCommand<TaxCategory>
public class ByProjectKeyTaxCategoriesByIDDelete
extends TypeApiMethod<ByProjectKeyTaxCategoriesByIDDelete,TaxCategory>
implements ApiDeleteMethod<ByProjectKeyTaxCategoriesByIDDelete,TaxCategory>, VersionedTrait<ByProjectKeyTaxCategoriesByIDDelete>, ConflictingTrait<ByProjectKeyTaxCategoriesByIDDelete>, ExpandableTrait<ByProjectKeyTaxCategoriesByIDDelete>, ErrorableTrait<ByProjectKeyTaxCategoriesByIDDelete>, Deprecatable200Trait<ByProjectKeyTaxCategoriesByIDDelete>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.tax_category.TaxCategory>> result = apiRoot
.withProjectKey("{projectKey}")
.taxCategories()
.withId("{ID}")
.delete()
.withVersion(version)
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyTaxCategoriesByIDDelete(ApiHttpClient apiHttpClient, String projectKey, String ID) -
Method Summary
Modifier and TypeMethodDescription<TValue> ByProjectKeyTaxCategoriesByIDDeleteaddExpand(Collection<TValue> expand) add additional expand query parametersadd additional expand query parameteradd additional expand query parameter<TValue> ByProjectKeyTaxCategoriesByIDDeleteaddExpand(TValue expand) add additional expand query parameter<TValue> ByProjectKeyTaxCategoriesByIDDeleteaddVersion(Collection<TValue> version) add additional version query parametersadd additional version query parameteraddVersion(Supplier<Long> supplier) add additional version query parameter<TValue> ByProjectKeyTaxCategoriesByIDDeleteaddVersion(TValue version) add additional version query parameterbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getID()inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<TaxCategory>voidvoidsetProjectKey(String projectKey) toString()<TValue> ByProjectKeyTaxCategoriesByIDDeletewithExpand(Collection<TValue> expand) set expand with the specified valuesset expand with the specified valuewithExpand(Supplier<String> supplier) set expand with the specified value<TValue> ByProjectKeyTaxCategoriesByIDDeletewithExpand(TValue expand) set expand with the specified value<TValue> ByProjectKeyTaxCategoriesByIDDeletewithVersion(Collection<TValue> version) set version with the specified valuesset version with the specified valuewithVersion(Supplier<Long> supplier) set version with the specified value<TValue> ByProjectKeyTaxCategoriesByIDDeletewithVersion(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, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriString, getQueryParamUriStrings, send, sendBlocking, sendBlocking, with, with, withHeader, withHeaders, withHttpRequest, withoutHeader, withoutQueryParam, withQueryParam, withQueryParamsMethods inherited from interface com.commercetools.api.client.ApiDeleteMethod
asBaseTypeMethods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlockingMethods inherited from interface com.commercetools.api.client.ConflictingTrait
asConflictingTrait, asConflictingTraitToBaseTypeMethods 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 io.vrap.rmf.base.client.RequestCommand
execute, executeBlocking, executeBlockingMethods inherited from interface com.commercetools.api.client.VersionedTrait
asVersionedTrait, asVersionedTraitToBaseType
-
Constructor Details
-
ByProjectKeyTaxCategoriesByIDDelete
public ByProjectKeyTaxCategoriesByIDDelete(ApiHttpClient apiHttpClient, String projectKey, String ID) -
ByProjectKeyTaxCategoriesByIDDelete
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<TaxCategory>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<TaxCategory>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyTaxCategoriesByIDDelete,TaxCategory>
-
execute
- Specified by:
executein interfaceClientRequestCommand<TaxCategory>- Specified by:
executein classApiMethod<ByProjectKeyTaxCategoriesByIDDelete,TaxCategory>
-
getProjectKey
-
getID
-
getVersion
- Specified by:
getVersionin interfaceApiDeleteMethod<ByProjectKeyTaxCategoriesByIDDelete,TaxCategory> - Specified by:
getVersionin interfaceVersionedTrait<ByProjectKeyTaxCategoriesByIDDelete>
-
getExpand
- Specified by:
getExpandin interfaceExpandableTrait<ByProjectKeyTaxCategoriesByIDDelete>
-
setProjectKey
-
setID
-
withVersion
set version with the specified value- Specified by:
withVersionin interfaceApiDeleteMethod<ByProjectKeyTaxCategoriesByIDDelete,TaxCategory> - Specified by:
withVersionin interfaceVersionedTrait<ByProjectKeyTaxCategoriesByIDDelete>- Type Parameters:
TValue- value type- Parameters:
version- value to be set- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
addVersion
add additional version query parameter- Specified by:
addVersionin interfaceApiDeleteMethod<ByProjectKeyTaxCategoriesByIDDelete,TaxCategory> - Specified by:
addVersionin interfaceVersionedTrait<ByProjectKeyTaxCategoriesByIDDelete>- Type Parameters:
TValue- value type- Parameters:
version- value to be added- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
withVersion
set version with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
addVersion
add additional version query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
withVersion
set version with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
addVersion
add additional version query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
withVersion
set version with the specified values- Type Parameters:
TValue- value type- Parameters:
version- values to be set- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
addVersion
add additional version query parameters- Type Parameters:
TValue- value type- Parameters:
version- values to be added- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
withExpand
set expand with the specified value- Specified by:
withExpandin interfaceExpandableTrait<ByProjectKeyTaxCategoriesByIDDelete>- Type Parameters:
TValue- value type- Parameters:
expand- value to be set- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
addExpand
add additional expand query parameter- Specified by:
addExpandin interfaceExpandableTrait<ByProjectKeyTaxCategoriesByIDDelete>- Type Parameters:
TValue- value type- Parameters:
expand- value to be added- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
withExpand
set expand with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
addExpand
add additional expand query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
withExpand
set expand with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
addExpand
add additional expand query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
withExpand
set expand with the specified values- Type Parameters:
TValue- value type- Parameters:
expand- values to be set- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
addExpand
add additional expand query parameters- Type Parameters:
TValue- value type- Parameters:
expand- values to be added- Returns:
- ByProjectKeyTaxCategoriesByIDDelete
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-