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.Carts.ByProjectKeyCartsGet Class Reference

Inherits commercetools.Sdk.Api.Client.IPagedQueryResourceRequest< ByProjectKeyCartsGet, ICartPagedQueryResponse, CartQueryBuilderDsl >, commercetools.Sdk.Api.Models.IPagedQueryResourceRequest< ByProjectKeyCartsGet, commercetools.Sdk.Api.Models.Carts.ICartPagedQueryResponse >, commercetools.Base.Client.ApiMethod< ByProjectKeyCartsGet >, commercetools.Base.Client.IApiMethod< ByProjectKeyCartsGet, commercetools.Sdk.Api.Models.Carts.ICartPagedQueryResponse >, commercetools.Sdk.Api.Client.IExpandableTrait< ByProjectKeyCartsGet >, commercetools.Sdk.Api.Client.ISortableTrait< ByProjectKeyCartsGet >, commercetools.Sdk.Api.Client.IPagingTrait< ByProjectKeyCartsGet >, commercetools.Sdk.Api.Client.IQueryTrait< ByProjectKeyCartsGet >, commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyCartsGet >, and commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyCartsGet >.

Public Member Functions

 ByProjectKeyCartsGet (IClient apiHttpClient, string projectKey)
 
List< string > GetExpand ()
 
List< string > GetSort ()
 
List< string > GetLimit ()
 
List< string > GetOffset ()
 
List< string > GetWithTotal ()
 
List< string > GetWhere ()
 
ByProjectKeyCartsGet WithExpand (string expand)
 
ByProjectKeyCartsGet WithSort (string sort)
 
ByProjectKeyCartsGet WithLimit (long limit)
 
ByProjectKeyCartsGet WithOffset (long offset)
 
ByProjectKeyCartsGet WithWithTotal (bool withTotal)
 
ByProjectKeyCartsGet WithWhere (string where)
 
ByProjectKeyCartsGet WithPredicateVar (string varName, string predicateVar)
 
async Task< commercetools.Sdk.Api.Models.Carts.ICartPagedQueryResponseExecuteAsync (CancellationToken cancellationToken=default)
 
async Task< string > ExecuteAsJsonAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< commercetools.Sdk.Api.Models.Carts.ICartPagedQueryResponse > > SendAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< string > > SendAsJsonAsync (CancellationToken cancellationToken=default)
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IPagedQueryResourceRequest< ByProjectKeyCartsGet, ICartPagedQueryResponse, CartQueryBuilderDsl >
WithExpand (string expand)
 
- Public Member Functions inherited from commercetools.Sdk.Api.Models.IPagedQueryResourceRequest< ByProjectKeyCartsGet, commercetools.Sdk.Api.Models.Carts.ICartPagedQueryResponse >
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< ByProjectKeyCartsGet >
 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< ByProjectKeyCartsGet, commercetools.Sdk.Api.Models.Carts.ICartPagedQueryResponse >
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< ByProjectKeyCartsGet >
List< string > GetExpand ()
 
WithExpand (string expand)
 
IExpandableTrait< T > AsExpandableTrait ()
 
AsExpandableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.ISortableTrait< ByProjectKeyCartsGet >
List< string > GetSort ()
 
WithSort (string sort)
 
ISortableTrait< T > AsSortableTrait ()
 
AsSortableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IPagingTrait< ByProjectKeyCartsGet >
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< ByProjectKeyCartsGet >
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< ByProjectKeyCartsGet >
IErrorableTrait< T > AsErrorableTrait ()
 
AsErrorableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyCartsGet >
IDeprecatable200Trait< T > AsDeprecatable200Trait ()
 
AsDeprecatable200TraitToBaseType ()
 

Properties

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

Constructor & Destructor Documentation

◆ ByProjectKeyCartsGet()

commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.ByProjectKeyCartsGet ( IClient  apiHttpClient,
string  projectKey 
)
inline

Member Function Documentation

◆ ExecuteAsJsonAsync()

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

◆ ExecuteAsync()

async Task< commercetools.Sdk.Api.Models.Carts.ICartPagedQueryResponse > commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.ExecuteAsync ( CancellationToken  cancellationToken = default)
inline

◆ GetExpand()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.GetExpand ( )
inline

◆ GetLimit()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.GetLimit ( )
inline

◆ GetOffset()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.GetOffset ( )
inline

◆ GetSort()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.GetSort ( )
inline

◆ GetWhere()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.GetWhere ( )
inline

◆ GetWithTotal()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.GetWithTotal ( )
inline

◆ SendAsJsonAsync()

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

◆ SendAsync()

async Task< IApiResponse< commercetools.Sdk.Api.Models.Carts.ICartPagedQueryResponse > > commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.SendAsync ( CancellationToken  cancellationToken = default)
inline

◆ WithExpand()

ByProjectKeyCartsGet commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.WithExpand ( string  expand)
inline

◆ WithLimit()

ByProjectKeyCartsGet commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.WithLimit ( long  limit)
inline

◆ WithOffset()

ByProjectKeyCartsGet commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.WithOffset ( long  offset)
inline

◆ WithPredicateVar()

ByProjectKeyCartsGet commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.WithPredicateVar ( string  varName,
string  predicateVar 
)
inline

◆ WithSort()

ByProjectKeyCartsGet commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.WithSort ( string  sort)
inline

◆ WithWhere()

ByProjectKeyCartsGet commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.WithWhere ( string  where)
inline

◆ WithWithTotal()

ByProjectKeyCartsGet commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.WithWithTotal ( bool  withTotal)
inline

Property Documentation

◆ Method

override HttpMethod commercetools.Sdk.Api.Client.RequestBuilders.Carts.ByProjectKeyCartsGet.Method
get

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