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.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet Class Reference

Inherits commercetools.Base.Client.ApiMethod< ByProjectKeyShippingMethodsMatchingCartLocationGet >, commercetools.Base.Client.IApiMethod< ByProjectKeyShippingMethodsMatchingCartLocationGet, commercetools.Sdk.Api.Models.ShippingMethods.IShippingMethodPagedQueryResponse >, commercetools.Sdk.Api.Client.IExpandableTrait< ByProjectKeyShippingMethodsMatchingCartLocationGet >, commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyShippingMethodsMatchingCartLocationGet >, and commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyShippingMethodsMatchingCartLocationGet >.

Public Member Functions

 ByProjectKeyShippingMethodsMatchingCartLocationGet (IClient apiHttpClient, string projectKey)
 
List< string > GetCountry ()
 
List< string > GetState ()
 
List< string > GetCartId ()
 
List< string > GetExpand ()
 
ByProjectKeyShippingMethodsMatchingCartLocationGet WithCountry (string country)
 
ByProjectKeyShippingMethodsMatchingCartLocationGet WithState (string state)
 
ByProjectKeyShippingMethodsMatchingCartLocationGet WithCartId (string cartId)
 
ByProjectKeyShippingMethodsMatchingCartLocationGet WithExpand (string expand)
 
async Task< commercetools.Sdk.Api.Models.ShippingMethods.IShippingMethodPagedQueryResponseExecuteAsync (CancellationToken cancellationToken=default)
 
async Task< string > ExecuteAsJsonAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< commercetools.Sdk.Api.Models.ShippingMethods.IShippingMethodPagedQueryResponse > > SendAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< string > > SendAsJsonAsync (CancellationToken cancellationToken=default)
 
- Public Member Functions inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyShippingMethodsMatchingCartLocationGet >
 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< ByProjectKeyShippingMethodsMatchingCartLocationGet, commercetools.Sdk.Api.Models.ShippingMethods.IShippingMethodPagedQueryResponse >
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< ByProjectKeyShippingMethodsMatchingCartLocationGet >
List< string > GetExpand ()
 
WithExpand (string expand)
 
IExpandableTrait< T > AsExpandableTrait ()
 
AsExpandableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyShippingMethodsMatchingCartLocationGet >
IErrorableTrait< T > AsErrorableTrait ()
 
AsErrorableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyShippingMethodsMatchingCartLocationGet >
IDeprecatable200Trait< T > AsDeprecatable200Trait ()
 
AsDeprecatable200TraitToBaseType ()
 

Properties

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

Constructor & Destructor Documentation

◆ ByProjectKeyShippingMethodsMatchingCartLocationGet()

commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.ByProjectKeyShippingMethodsMatchingCartLocationGet ( IClient  apiHttpClient,
string  projectKey 
)
inline

Member Function Documentation

◆ ExecuteAsJsonAsync()

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

◆ ExecuteAsync()

async Task< commercetools.Sdk.Api.Models.ShippingMethods.IShippingMethodPagedQueryResponse > commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.ExecuteAsync ( CancellationToken  cancellationToken = default)
inline

◆ GetCartId()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.GetCartId ( )
inline

◆ GetCountry()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.GetCountry ( )
inline

◆ GetExpand()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.GetExpand ( )
inline

◆ GetState()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.GetState ( )
inline

◆ SendAsJsonAsync()

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

◆ SendAsync()

async Task< IApiResponse< commercetools.Sdk.Api.Models.ShippingMethods.IShippingMethodPagedQueryResponse > > commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.SendAsync ( CancellationToken  cancellationToken = default)
inline

◆ WithCartId()

ByProjectKeyShippingMethodsMatchingCartLocationGet commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.WithCartId ( string  cartId)
inline

◆ WithCountry()

ByProjectKeyShippingMethodsMatchingCartLocationGet commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.WithCountry ( string  country)
inline

◆ WithExpand()

ByProjectKeyShippingMethodsMatchingCartLocationGet commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.WithExpand ( string  expand)
inline

◆ WithState()

ByProjectKeyShippingMethodsMatchingCartLocationGet commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.WithState ( string  state)
inline

Property Documentation

◆ Method

override HttpMethod commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingCartLocationGet.Method
get

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