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 OK
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
-
Method Summary
Modifier and TypeMethodDescription<TValue> ByProjectKeyMeDelete
addVersion
(Collection<TValue> version) add additional version query parametersadd additional version query parameteraddVersion
(Supplier<Long> supplier) add additional version query parameter<TValue> ByProjectKeyMeDelete
addVersion
(TValue version) add additional version query parameterboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<Customer>
void
setProjectKey
(String projectKey) toString()
<TValue> ByProjectKeyMeDelete
withVersion
(Collection<TValue> version) set version with the specified valuesset version with the specified valuewithVersion
(Supplier<Long> supplier) set version with the specified value<TValue> ByProjectKeyMeDelete
withVersion
(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, withQueryParams
Methods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlocking
Methods inherited from interface com.commercetools.api.client.ConflictingTrait
asConflictingTrait, asConflictingTraitToBaseType
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 io.vrap.rmf.base.client.RequestCommand
executeBlocking
Methods inherited from interface com.commercetools.api.client.VersionedTrait
asVersionedTrait, asVersionedTraitToBaseType
-
Constructor Details
-
ByProjectKeyMeDelete
-
ByProjectKeyMeDelete
-
-
Method Details
-
resultType
- Specified by:
resultType
in interfaceHttpRequestCommand<Customer>
-
executeBlocking
- Specified by:
executeBlocking
in interfaceClientRequestCommand<Customer>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyMeDelete,
Customer>
-
execute
- Specified by:
execute
in interfaceClientRequestCommand<Customer>
- Specified by:
execute
in classApiMethod<ByProjectKeyMeDelete,
Customer>
-
getProjectKey
-
getVersion
- Specified by:
getVersion
in interfaceVersionedTrait<ByProjectKeyMeDelete>
-
setProjectKey
-
withVersion
set version with the specified value- Specified by:
withVersion
in interfaceVersionedTrait<ByProjectKeyMeDelete>
- Type Parameters:
TValue
- value type- Parameters:
version
- value to be set- Returns:
- ByProjectKeyMeDelete
-
addVersion
add additional version query parameter- Specified by:
addVersion
in 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()
-