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.ByProjectKeyProductDiscountsGet Class Reference

Inherits commercetools.Sdk.Api.Client.IPagedQueryResourceRequest< ByProjectKeyProductDiscountsGet, IProductDiscountPagedQueryResponse, ProductDiscountQueryBuilderDsl >, commercetools.Sdk.Api.Models.IPagedQueryResourceRequest< ByProjectKeyProductDiscountsGet, commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscountPagedQueryResponse >, commercetools.Base.Client.ApiMethod< ByProjectKeyProductDiscountsGet >, commercetools.Base.Client.IApiMethod< ByProjectKeyProductDiscountsGet, commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscountPagedQueryResponse >, commercetools.Sdk.Api.Client.IExpandableTrait< ByProjectKeyProductDiscountsGet >, commercetools.Sdk.Api.Client.ISortableTrait< ByProjectKeyProductDiscountsGet >, commercetools.Sdk.Api.Client.IPagingTrait< ByProjectKeyProductDiscountsGet >, commercetools.Sdk.Api.Client.IQueryTrait< ByProjectKeyProductDiscountsGet >, commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductDiscountsGet >, and commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyProductDiscountsGet >.

Public Member Functions

 ByProjectKeyProductDiscountsGet (IClient apiHttpClient, string projectKey)
 
List< string > GetExpand ()
 
List< string > GetSort ()
 
List< string > GetLimit ()
 
List< string > GetOffset ()
 
List< string > GetWithTotal ()
 
List< string > GetWhere ()
 
ByProjectKeyProductDiscountsGet WithExpand (string expand)
 
ByProjectKeyProductDiscountsGet WithSort (string sort)
 
ByProjectKeyProductDiscountsGet WithLimit (long limit)
 
ByProjectKeyProductDiscountsGet WithOffset (long offset)
 
ByProjectKeyProductDiscountsGet WithWithTotal (bool withTotal)
 
ByProjectKeyProductDiscountsGet WithWhere (string where)
 
ByProjectKeyProductDiscountsGet WithPredicateVar (string varName, string predicateVar)
 
async Task< commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscountPagedQueryResponseExecuteAsync (CancellationToken cancellationToken=default)
 
async Task< string > ExecuteAsJsonAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscountPagedQueryResponse > > SendAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< string > > SendAsJsonAsync (CancellationToken cancellationToken=default)
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IPagedQueryResourceRequest< ByProjectKeyProductDiscountsGet, IProductDiscountPagedQueryResponse, ProductDiscountQueryBuilderDsl >
WithExpand (string expand)
 
- Public Member Functions inherited from commercetools.Sdk.Api.Models.IPagedQueryResourceRequest< ByProjectKeyProductDiscountsGet, commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscountPagedQueryResponse >
WithLimit (long limit)
 
WithOffset (long offset)
 
WithSort (string sort)
 
WithWhere (string where)
 
WithExpand (string expand)
 
WithWithTotal (bool withTotal)
 
WithPredicateVar (string varName, string predicateVar)
 
List< string > GetQueryParam (string key)
 
- Public Member Functions inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyProductDiscountsGet >
 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< ByProjectKeyProductDiscountsGet, commercetools.Sdk.Api.Models.ProductDiscounts.IProductDiscountPagedQueryResponse >
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.IExpandableTrait< ByProjectKeyProductDiscountsGet >
List< string > GetExpand ()
 
WithExpand (string expand)
 
IExpandableTrait< T > AsExpandableTrait ()
 
AsExpandableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.ISortableTrait< ByProjectKeyProductDiscountsGet >
List< string > GetSort ()
 
WithSort (string sort)
 
ISortableTrait< T > AsSortableTrait ()
 
AsSortableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IPagingTrait< ByProjectKeyProductDiscountsGet >
List< string > GetLimit ()
 
List< string > GetOffset ()
 
List< string > GetWithTotal ()
 
WithLimit (long limit)
 
WithOffset (long offset)
 
WithWithTotal (bool withTotal)
 
IPagingTrait< T > AsPagingTrait ()
 
AsPagingTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IQueryTrait< ByProjectKeyProductDiscountsGet >
List< string > GetWhere ()
 
WithWhere (string where)
 
WithPredicateVar (string varName, string predicateVar)
 
IQueryTrait< T > AsQueryTrait ()
 
AsQueryTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductDiscountsGet >
IErrorableTrait< T > AsErrorableTrait ()
 
AsErrorableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyProductDiscountsGet >
IDeprecatable200Trait< T > AsDeprecatable200Trait ()
 
AsDeprecatable200TraitToBaseType ()
 

Properties

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

Constructor & Destructor Documentation

◆ ByProjectKeyProductDiscountsGet()

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

Member Function Documentation

◆ ExecuteAsJsonAsync()

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

◆ ExecuteAsync()

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

◆ GetExpand()

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

◆ GetLimit()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.GetLimit ( )
inline

◆ GetOffset()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.GetOffset ( )
inline

◆ GetSort()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.GetSort ( )
inline

◆ GetWhere()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.GetWhere ( )
inline

◆ GetWithTotal()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.GetWithTotal ( )
inline

◆ SendAsJsonAsync()

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

◆ SendAsync()

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

◆ WithExpand()

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

◆ WithLimit()

ByProjectKeyProductDiscountsGet commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.WithLimit ( long  limit)
inline

◆ WithOffset()

ByProjectKeyProductDiscountsGet commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.WithOffset ( long  offset)
inline

◆ WithPredicateVar()

ByProjectKeyProductDiscountsGet commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.WithPredicateVar ( string  varName,
string  predicateVar 
)
inline

◆ WithSort()

ByProjectKeyProductDiscountsGet commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.WithSort ( string  sort)
inline

◆ WithWhere()

ByProjectKeyProductDiscountsGet commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.WithWhere ( string  where)
inline

◆ WithWithTotal()

ByProjectKeyProductDiscountsGet commercetools.Sdk.Api.Client.RequestBuilders.ProductDiscounts.ByProjectKeyProductDiscountsGet.WithWithTotal ( bool  withTotal)
inline

Property Documentation

◆ Method

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

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