commercetools.Sdk
The commercetools platform, import-api and C# sdks generated from our api reference.
Loading...
Searching...
No Matches
Public Member Functions | Properties
commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete Class Reference

Inherits commercetools.Base.Client.ApiMethod< ByProjectKeyProductDiscountsKeyByKeyDelete >, commercetools.Base.Client.IApiMethod< ByProjectKeyProductDiscountsKeyByKeyDelete, commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscount >, commercetools.Sdk.Api.Client.IVersionedTrait< ByProjectKeyProductDiscountsKeyByKeyDelete >, commercetools.Sdk.Api.Client.IConflictingTrait< ByProjectKeyProductDiscountsKeyByKeyDelete >, commercetools.Sdk.Api.Client.IExpandableTrait< ByProjectKeyProductDiscountsKeyByKeyDelete >, commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductDiscountsKeyByKeyDelete >, and commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyProductDiscountsKeyByKeyDelete >.

Public Member Functions

 ByProjectKeyProductDiscountsKeyByKeyDelete (IClient apiHttpClient, string projectKey, string key)
 
List< string > GetVersion ()
 
List< string > GetExpand ()
 
ByProjectKeyProductDiscountsKeyByKeyDelete WithVersion (long version)
 
ByProjectKeyProductDiscountsKeyByKeyDelete WithExpand (string expand)
 
async Task< commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscountExecuteAsync (CancellationToken cancellationToken=default)
 
async Task< string > ExecuteAsJsonAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscount > > SendAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< string > > SendAsJsonAsync (CancellationToken cancellationToken=default)
 
- Public Member Functions inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyProductDiscountsKeyByKeyDelete >
 ApiMethod ()
 
AddQueryParam (string key, string value)
 
WithQueryParam (List< KeyValuePair< string, string > > queryParams)
 
ICollection< KeyValuePair< string, string > > GetQueryParams ()
 
List< string > GetQueryParam (string key)
 
string? GetFirstQueryParam (string key)
 
AddHeader (string key, string value)
 
WithHeaders (ApiHttpHeaders headers)
 
virtual HttpRequestMessage Build ()
 
- Public Member Functions inherited from commercetools.Base.Client.IApiMethod< ByProjectKeyProductDiscountsKeyByKeyDelete, commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscount >
AddQueryParam (string key, string value)
 
WithQueryParam (List< KeyValuePair< string, string > > queryParams)
 
List< string > GetQueryParam (string key)
 
AddHeader (string key, string value)
 
WithHeaders (ApiHttpHeaders headers)
 
HttpRequestMessage Build ()
 
Task< TResult > ExecuteAsync (CancellationToken cancellationToken=default)
 
Task< IApiResponse< TResult > > SendAsync (CancellationToken cancellationToken=default)
 
Task< string > ExecuteAsJsonAsync (CancellationToken cancellationToken=default)
 
Task< IApiResponse< string > > SendAsJsonAsync (CancellationToken cancellationToken=default)
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IVersionedTrait< ByProjectKeyProductDiscountsKeyByKeyDelete >
List< string > GetVersion ()
 
WithVersion (long version)
 
IVersionedTrait< T > AsVersionedTrait ()
 
AsVersionedTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IConflictingTrait< ByProjectKeyProductDiscountsKeyByKeyDelete >
IConflictingTrait< T > AsConflictingTrait ()
 
AsConflictingTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IExpandableTrait< ByProjectKeyProductDiscountsKeyByKeyDelete >
List< string > GetExpand ()
 
WithExpand (string expand)
 
IExpandableTrait< T > AsExpandableTrait ()
 
AsExpandableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductDiscountsKeyByKeyDelete >
IErrorableTrait< T > AsErrorableTrait ()
 
AsErrorableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyProductDiscountsKeyByKeyDelete >
IDeprecatable200Trait< T > AsDeprecatable200Trait ()
 
AsDeprecatable200TraitToBaseType ()
 

Properties

override HttpMethod Method [get]
 
- Properties inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyProductDiscountsKeyByKeyDelete >
HttpMethod Method [get]
 
string RequestUrl [get, set]
 
ApiHttpHeaders Headers [get, set]
 
- Properties inherited from commercetools.Base.Client.IApiMethod< ByProjectKeyProductDiscountsKeyByKeyDelete, commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscount >
HttpMethod Method [get]
 
string RequestUrl [get, set]
 

Constructor & Destructor Documentation

◆ ByProjectKeyProductDiscountsKeyByKeyDelete()

commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.ByProjectKeyProductDiscountsKeyByKeyDelete ( IClient  apiHttpClient,
string  projectKey,
string  key 
)
inline

Member Function Documentation

◆ ExecuteAsJsonAsync()

async Task< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.ExecuteAsJsonAsync ( CancellationToken  cancellationToken = default)
inline

◆ ExecuteAsync()

async Task< commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscount > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.ExecuteAsync ( CancellationToken  cancellationToken = default)
inline

◆ GetExpand()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.GetExpand ( )
inline

◆ GetVersion()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.GetVersion ( )
inline

◆ SendAsJsonAsync()

async Task< IApiResponse< string > > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.SendAsJsonAsync ( CancellationToken  cancellationToken = default)
inline

◆ SendAsync()

async Task< IApiResponse< commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscount > > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.SendAsync ( CancellationToken  cancellationToken = default)
inline

◆ WithExpand()

ByProjectKeyProductDiscountsKeyByKeyDelete commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.WithExpand ( string  expand)
inline

◆ WithVersion()

ByProjectKeyProductDiscountsKeyByKeyDelete commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.WithVersion ( long  version)
inline

Property Documentation

◆ Method

override HttpMethod commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsKeyByKeyDelete.Method
get

The documentation for this class was generated from the following file: