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

Inherits commercetools.Base.Client.ApiMethod< ByProjectKeyShippingMethodsMatchingCartLocationHead >, commercetools.Base.Client.IApiMethod< ByProjectKeyShippingMethodsMatchingCartLocationHead, string >, commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyShippingMethodsMatchingCartLocationHead >, and commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyShippingMethodsMatchingCartLocationHead >.

Public Member Functions

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

Properties

override HttpMethod Method [get]
 
- Properties inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyShippingMethodsMatchingCartLocationHead >
HttpMethod Method [get]
 
string RequestUrl [get, set]
 
ApiHttpHeaders Headers [get, set]
 
- Properties inherited from commercetools.Base.Client.IApiMethod< ByProjectKeyShippingMethodsMatchingCartLocationHead, string >
HttpMethod Method [get]
 
string RequestUrl [get, set]
 

Constructor & Destructor Documentation

◆ ByProjectKeyShippingMethodsMatchingCartLocationHead()

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

Member Function Documentation

◆ ExecuteAsJsonAsync()

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

◆ ExecuteAsync()

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

◆ GetCartId()

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

◆ GetCountry()

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

◆ GetState()

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

◆ SendAsJsonAsync()

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

◆ SendAsync()

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

◆ WithCartId()

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

◆ WithCountry()

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

◆ WithState()

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

Property Documentation

◆ Method

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

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