Package com.commercetools.api.client
Class ByProjectKeyMeDelete
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyMeDelete,Customer>
com.commercetools.api.client.ByProjectKeyMeDelete
- All Implemented Interfaces:
ConflictingTrait<ByProjectKeyMeDelete>,Deprecatable200Trait<ByProjectKeyMeDelete>,ErrorableTrait<ByProjectKeyMeDelete>,VersionedTrait<ByProjectKeyMeDelete>,ClientRequestCommand<Customer>,CreateHttpRequestCommand,HttpRequestCommand<Customer>,RequestCommand<Customer>
public class ByProjectKeyMeDelete
extends TypeApiMethod<ByProjectKeyMeDelete,Customer>
implements VersionedTrait<ByProjectKeyMeDelete>, ConflictingTrait<ByProjectKeyMeDelete>, ErrorableTrait<ByProjectKeyMeDelete>, Deprecatable200Trait<ByProjectKeyMeDelete>
Deletes the Customer specified in the customer:{id} scope. Returns a 200 status if successful.
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.Customer>> result = apiRoot
.withProjectKey("{projectKey}")
.me()
.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
Constructors -
Method Summary
Modifier and TypeMethodDescription<TValue> ByProjectKeyMeDeleteaddVersion(Collection<TValue> version) add additional version query parametersadd additional version query parameteraddVersion(Supplier<Long> supplier) add additional version query parameter<TValue> ByProjectKeyMeDeleteaddVersion(TValue version) add additional version query parameterbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<Customer>voidsetProjectKey(String projectKey) toString()<TValue> ByProjectKeyMeDeletewithVersion(Collection<TValue> version) set version with the specified valuesset version with the specified valuewithVersion(Supplier<Long> supplier) set version with the specified value<TValue> ByProjectKeyMeDeletewithVersion(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 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 io.vrap.rmf.base.client.RequestCommand
executeBlockingMethods inherited from interface com.commercetools.api.client.VersionedTrait
asVersionedTrait, asVersionedTraitToBaseType
-
Constructor Details
-
ByProjectKeyMeDelete
-
ByProjectKeyMeDelete
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<Customer>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<Customer>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyMeDelete,Customer>
-
execute
- Specified by:
executein interfaceClientRequestCommand<Customer>- Specified by:
executein classApiMethod<ByProjectKeyMeDelete,Customer>
-
getProjectKey
-
getVersion
- Specified by:
getVersionin interfaceVersionedTrait<ByProjectKeyMeDelete>
-
setProjectKey
-
withVersion
set version with the specified value- Specified by:
withVersionin interfaceVersionedTrait<ByProjectKeyMeDelete>- Type Parameters:
TValue- value type- Parameters:
version- value to be set- Returns:
- ByProjectKeyMeDelete
-
addVersion
add additional version query parameter- Specified by:
addVersionin interfaceVersionedTrait<ByProjectKeyMeDelete>- Type Parameters:
TValue- value type- Parameters:
version- value to be added- Returns:
- ByProjectKeyMeDelete
-
withVersion
set version with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyMeDelete
-
addVersion
add additional version query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyMeDelete
-
withVersion
set version with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyMeDelete
-
addVersion
add additional version query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyMeDelete
-
withVersion
set version with the specified values- Type Parameters:
TValue- value type- Parameters:
version- values to be set- Returns:
- ByProjectKeyMeDelete
-
addVersion
add additional version query parameters- Type Parameters:
TValue- value type- Parameters:
version- values to be added- Returns:
- ByProjectKeyMeDelete
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-