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

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

Public Member Functions

 ByProjectKeyProductsPost (IClient apiHttpClient, ISerializerService serializerService, string projectKey, commercetools.Sdk.Api.Models.Products.IProductDraft productDraft)
 
List< string > GetPriceCurrency ()
 
List< string > GetPriceCountry ()
 
List< string > GetPriceCustomerGroup ()
 
List< string > GetPriceChannel ()
 
List< string > GetLocaleProjection ()
 
List< string > GetExpand ()
 
ByProjectKeyProductsPost WithPriceCurrency (string priceCurrency)
 
ByProjectKeyProductsPost WithPriceCountry (string priceCountry)
 
ByProjectKeyProductsPost WithPriceCustomerGroup (string priceCustomerGroup)
 
ByProjectKeyProductsPost WithPriceChannel (string priceChannel)
 
ByProjectKeyProductsPost WithLocaleProjection (string localeProjection)
 
ByProjectKeyProductsPost 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)
 
override HttpRequestMessage Build ()
 
- Public Member Functions inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyProductsPost >
 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)
 
- Public Member Functions inherited from commercetools.Base.Client.IApiMethod< ByProjectKeyProductsPost, 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< ByProjectKeyProductsPost >
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< ByProjectKeyProductsPost >
List< string > GetExpand ()
 
WithExpand (string expand)
 
IExpandableTrait< T > AsExpandableTrait ()
 
AsExpandableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IDeprecatable201Trait< ByProjectKeyProductsPost >
IDeprecatable201Trait< T > AsDeprecatable201Trait ()
 
AsDeprecatable201TraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyProductsPost >
IErrorableTrait< T > AsErrorableTrait ()
 
AsErrorableTraitToBaseType ()
 

Properties

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

Constructor & Destructor Documentation

◆ ByProjectKeyProductsPost()

commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsPost.ByProjectKeyProductsPost ( IClient  apiHttpClient,
ISerializerService  serializerService,
string  projectKey,
commercetools::Sdk::Api::Models::Products::IProductDraft  productDraft 
)
inline

Member Function Documentation

◆ Build()

override HttpRequestMessage commercetools.Sdk.Api.Client.RequestBuilders.Products.ByProjectKeyProductsPost.Build ( )
inlinevirtual

◆ ExecuteAsJsonAsync()

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

◆ ExecuteAsync()

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

◆ GetExpand()

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

◆ GetLocaleProjection()

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

◆ GetPriceChannel()

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

◆ GetPriceCountry()

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

◆ GetPriceCurrency()

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

◆ GetPriceCustomerGroup()

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

◆ SendAsJsonAsync()

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

◆ SendAsync()

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

◆ WithExpand()

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

◆ WithLocaleProjection()

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

◆ WithPriceChannel()

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

◆ WithPriceCountry()

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

◆ WithPriceCurrency()

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

◆ WithPriceCustomerGroup()

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

Property Documentation

◆ Method

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

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