commercetools.Sdk
The commercetools platform, import-api and C# sdks generated from our api reference.
Loading...
Searching...
No Matches
Public Member Functions | Properties
commercetools.Base.Client.IApiMethod< T, TResult > Interface Template Reference

Public Member Functions

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)
 

Properties

HttpMethod Method [get]
 
string RequestUrl [get, set]
 

Member Function Documentation

◆ AddHeader()

T commercetools.Base.Client.IApiMethod< T, TResult >.AddHeader ( string  key,
string  value 
)

◆ AddQueryParam()

T commercetools.Base.Client.IApiMethod< T, TResult >.AddQueryParam ( string  key,
string  value 
)

◆ Build()

HttpRequestMessage commercetools.Base.Client.IApiMethod< T, TResult >.Build ( )

◆ ExecuteAsJsonAsync()

Task< string > commercetools.Base.Client.IApiMethod< T, TResult >.ExecuteAsJsonAsync ( CancellationToken  cancellationToken = default)

◆ ExecuteAsync()

Task< TResult > commercetools.Base.Client.IApiMethod< T, TResult >.ExecuteAsync ( CancellationToken  cancellationToken = default)

◆ GetQueryParam()

List< string > commercetools.Base.Client.IApiMethod< T, TResult >.GetQueryParam ( string  key)

◆ SendAsJsonAsync()

Task< IApiResponse< string > > commercetools.Base.Client.IApiMethod< T, TResult >.SendAsJsonAsync ( CancellationToken  cancellationToken = default)

◆ SendAsync()

Task< IApiResponse< TResult > > commercetools.Base.Client.IApiMethod< T, TResult >.SendAsync ( CancellationToken  cancellationToken = default)

◆ WithHeaders()

T commercetools.Base.Client.IApiMethod< T, TResult >.WithHeaders ( ApiHttpHeaders  headers)

◆ WithQueryParam()

T commercetools.Base.Client.IApiMethod< T, TResult >.WithQueryParam ( List< KeyValuePair< string, string > >  queryParams)

Property Documentation

◆ Method

HttpMethod commercetools.Base.Client.IApiMethod< T, TResult >.Method
get

◆ RequestUrl

string commercetools.Base.Client.IApiMethod< T, TResult >.RequestUrl
getset

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