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.Products.ByProjectKeyProductsByIDGet Class Reference

Inherits commercetools.Base.Client.ApiMethod< ByProjectKeyProductsByIDGet >, commercetools.Base.Client.IApiMethod< ByProjectKeyProductsByIDGet, commercetools.Sdk.Api.Models.Products.IProduct >, commercetools.Sdk.Api.Client.IPriceselectingTrait< ByProjectKeyProductsByIDGet >, commercetools.Sdk.Api.Client.IExpandableTrait< ByProjectKeyProductsByIDGet >, commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductsByIDGet >, and commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyProductsByIDGet >.

Public Member Functions

 ByProjectKeyProductsByIDGet (IClient apiHttpClient, string projectKey, string id)
 
List< string > GetPriceCurrency ()
 
List< string > GetPriceCountry ()
 
List< string > GetPriceCustomerGroup ()
 
List< string > GetPriceChannel ()
 
List< string > GetLocaleProjection ()
 
List< string > GetExpand ()
 
ByProjectKeyProductsByIDGet WithPriceCurrency (string priceCurrency)
 
ByProjectKeyProductsByIDGet WithPriceCountry (string priceCountry)
 
ByProjectKeyProductsByIDGet WithPriceCustomerGroup (string priceCustomerGroup)
 
ByProjectKeyProductsByIDGet WithPriceChannel (string priceChannel)
 
ByProjectKeyProductsByIDGet WithLocaleProjection (string localeProjection)
 
ByProjectKeyProductsByIDGet WithExpand (string expand)
 
async Task< commercetools.Sdk.Api.Models.Products.IProductExecuteAsync (CancellationToken cancellationToken=default)
 
async Task< string > ExecuteAsJsonAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< commercetools.Sdk.Api.Models.Products.IProduct > > SendAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< string > > SendAsJsonAsync (CancellationToken cancellationToken=default)
 
- Public Member Functions inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyProductsByIDGet >
 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< ByProjectKeyProductsByIDGet, commercetools.Sdk.Api.Models.Products.IProduct >
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.IPriceselectingTrait< ByProjectKeyProductsByIDGet >
List< string > GetPriceCurrency ()
 
List< string > GetPriceCountry ()
 
List< string > GetPriceCustomerGroup ()
 
List< string > GetPriceChannel ()
 
List< string > GetLocaleProjection ()
 
WithPriceCurrency (string priceCurrency)
 
WithPriceCountry (string priceCountry)
 
WithPriceCustomerGroup (string priceCustomerGroup)
 
WithPriceChannel (string priceChannel)
 
WithLocaleProjection (string localeProjection)
 
IPriceselectingTrait< T > AsPriceselectingTrait ()
 
AsPriceselectingTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IExpandableTrait< ByProjectKeyProductsByIDGet >
List< string > GetExpand ()
 
WithExpand (string expand)
 
IExpandableTrait< T > AsExpandableTrait ()
 
AsExpandableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductsByIDGet >
IErrorableTrait< T > AsErrorableTrait ()
 
AsErrorableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IDeprecatable200Trait< ByProjectKeyProductsByIDGet >
IDeprecatable200Trait< T > AsDeprecatable200Trait ()
 
AsDeprecatable200TraitToBaseType ()
 

Properties

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

Constructor & Destructor Documentation

◆ ByProjectKeyProductsByIDGet()

commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.ByProjectKeyProductsByIDGet ( IClient  apiHttpClient,
string  projectKey,
string  id 
)
inline

Member Function Documentation

◆ ExecuteAsJsonAsync()

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

◆ ExecuteAsync()

async Task< commercetools.Sdk.Api.Models.Products.IProduct > commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.ExecuteAsync ( CancellationToken  cancellationToken = default)
inline

◆ GetExpand()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.GetExpand ( )
inline

◆ GetLocaleProjection()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.GetLocaleProjection ( )
inline

◆ GetPriceChannel()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.GetPriceChannel ( )
inline

◆ GetPriceCountry()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.GetPriceCountry ( )
inline

◆ GetPriceCurrency()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.GetPriceCurrency ( )
inline

◆ GetPriceCustomerGroup()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.GetPriceCustomerGroup ( )
inline

◆ SendAsJsonAsync()

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

◆ SendAsync()

async Task< IApiResponse< commercetools.Sdk.Api.Models.Products.IProduct > > commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.SendAsync ( CancellationToken  cancellationToken = default)
inline

◆ WithExpand()

ByProjectKeyProductsByIDGet commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.WithExpand ( string  expand)
inline

◆ WithLocaleProjection()

ByProjectKeyProductsByIDGet commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.WithLocaleProjection ( string  localeProjection)
inline

◆ WithPriceChannel()

ByProjectKeyProductsByIDGet commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.WithPriceChannel ( string  priceChannel)
inline

◆ WithPriceCountry()

ByProjectKeyProductsByIDGet commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.WithPriceCountry ( string  priceCountry)
inline

◆ WithPriceCurrency()

ByProjectKeyProductsByIDGet commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.WithPriceCurrency ( string  priceCurrency)
inline

◆ WithPriceCustomerGroup()

ByProjectKeyProductsByIDGet commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.WithPriceCustomerGroup ( string  priceCustomerGroup)
inline

Property Documentation

◆ Method

override HttpMethod commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsByIDGet.Method
get

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