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

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

Public Member Functions

 ByProjectKeyShippingMethodsMatchingLocationHead (IClient apiHttpClient, string projectKey)
 
List< string > GetCountry ()
 
List< string > GetState ()
 
List< string > GetCurrency ()
 
ByProjectKeyShippingMethodsMatchingLocationHead WithCountry (string country)
 
ByProjectKeyShippingMethodsMatchingLocationHead WithState (string state)
 
ByProjectKeyShippingMethodsMatchingLocationHead WithCurrency (string currency)
 
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< ByProjectKeyShippingMethodsMatchingLocationHead >
 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< ByProjectKeyShippingMethodsMatchingLocationHead, 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< ByProjectKeyShippingMethodsMatchingLocationHead >
IErrorableTrait< T > AsErrorableTrait ()
 
AsErrorableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyShippingMethodsMatchingLocationHead >
IDeprecatable200Trait< T > AsDeprecatable200Trait ()
 
AsDeprecatable200TraitToBaseType ()
 

Properties

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

Constructor & Destructor Documentation

◆ ByProjectKeyShippingMethodsMatchingLocationHead()

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

Member Function Documentation

◆ ExecuteAsJsonAsync()

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

◆ ExecuteAsync()

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

◆ GetCountry()

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

◆ GetCurrency()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingLocationHead.GetCurrency ( )
inline

◆ GetState()

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

◆ SendAsJsonAsync()

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

◆ SendAsync()

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

◆ WithCountry()

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

◆ WithCurrency()

ByProjectKeyShippingMethodsMatchingLocationHead commercetools.Sdk.Api.Client.RequestBuilders.ShippingMethods.ByProjectKeyShippingMethodsMatchingLocationHead.WithCurrency ( string  currency)
inline

◆ WithState()

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

Property Documentation

◆ Method

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

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