commercetools.Sdk
The commercetools platform, import-api and C# sdks generated from our api reference.
|
Public Member Functions | |
T | AddQueryParam (string key, string value) |
T | WithQueryParam (List< KeyValuePair< string, string > > queryParams) |
List< string > | GetQueryParam (string key) |
T | AddHeader (string key, string value) |
T | 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] |
T commercetools.Base.Client.IApiMethod< T, TResult >.AddHeader | ( | string | key, |
string | value | ||
) |
T commercetools.Base.Client.IApiMethod< T, TResult >.AddQueryParam | ( | string | key, |
string | value | ||
) |
HttpRequestMessage commercetools.Base.Client.IApiMethod< T, TResult >.Build | ( | ) |
Task< string > commercetools.Base.Client.IApiMethod< T, TResult >.ExecuteAsJsonAsync | ( | CancellationToken | cancellationToken = default | ) |
Task< TResult > commercetools.Base.Client.IApiMethod< T, TResult >.ExecuteAsync | ( | CancellationToken | cancellationToken = default | ) |
List< string > commercetools.Base.Client.IApiMethod< T, TResult >.GetQueryParam | ( | string | key | ) |
Task< IApiResponse< string > > commercetools.Base.Client.IApiMethod< T, TResult >.SendAsJsonAsync | ( | CancellationToken | cancellationToken = default | ) |
Task< IApiResponse< TResult > > commercetools.Base.Client.IApiMethod< T, TResult >.SendAsync | ( | CancellationToken | cancellationToken = default | ) |
T commercetools.Base.Client.IApiMethod< T, TResult >.WithHeaders | ( | ApiHttpHeaders | headers | ) |
T commercetools.Base.Client.IApiMethod< T, TResult >.WithQueryParam | ( | List< KeyValuePair< string, string > > | queryParams | ) |
|
get |
|
getset |