Inherits commercetools.Base.Client.ApiMethod< ByProjectKeyProductDiscountsMatchingPost >, commercetools.Base.Client.IApiMethod< ByProjectKeyProductDiscountsMatchingPost, commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscount >, and commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductDiscountsMatchingPost >.
|
| ByProjectKeyProductDiscountsMatchingPost (IClient apiHttpClient, ISerializerService serializerService, string projectKey, commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscountMatchQuery productDiscountMatchQuery) |
|
async Task< commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscount > | ExecuteAsync (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) |
|
override HttpRequestMessage | Build () |
|
| ApiMethod () |
|
T | AddQueryParam (string key, string value) |
|
T | WithQueryParam (List< KeyValuePair< string, string > > queryParams) |
|
ICollection< KeyValuePair< string, string > > | GetQueryParams () |
|
List< string > | GetQueryParam (string key) |
|
string? | GetFirstQueryParam (string key) |
|
T | AddHeader (string key, string value) |
|
T | WithHeaders (ApiHttpHeaders headers) |
|
T | AddQueryParam (string key, string value) |
|
T | WithQueryParam (List< KeyValuePair< string, string > > queryParams) |
|
List< string > | GetQueryParam (string key) |
|
T | AddHeader (string key, string value) |
|
T | 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) |
|
IErrorableTrait< T > | AsErrorableTrait () |
|
T | AsErrorableTraitToBaseType () |
|
◆ ByProjectKeyProductDiscountsMatchingPost()
◆ Build()
override HttpRequestMessage commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsMatchingPost.Build |
( |
| ) |
|
|
inlinevirtual |
◆ ExecuteAsJsonAsync()
async Task< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsMatchingPost.ExecuteAsJsonAsync |
( |
CancellationToken |
cancellationToken = default | ) |
|
|
inline |
◆ ExecuteAsync()
◆ SendAsJsonAsync()
async Task< IApiResponse< string > > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsMatchingPost.SendAsJsonAsync |
( |
CancellationToken |
cancellationToken = default | ) |
|
|
inline |
◆ SendAsync()
◆ Method
override HttpMethod commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsMatchingPost.Method |
|
get |
The documentation for this class was generated from the following file:
- commercetools.Sdk/commercetools.Sdk.Api/Generated/Client/RequestBuilders/ProductDiscounts/ByProjectKeyProductDiscountsMatchingPost.cs