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.Payments.ByProjectKeyPaymentsPost Class Reference

Inherits commercetools.Base.Client.ApiMethod< ByProjectKeyPaymentsPost >, commercetools.Base.Client.IApiMethod< ByProjectKeyPaymentsPost, commercetools.Sdk.Api.Models.Payments.IPayment >, commercetools.Sdk.Api.Client.IExpandableTrait< ByProjectKeyPaymentsPost >, commercetools.Sdk.Api.Client.IDeprecatable201Trait< ByProjectKeyPaymentsPost >, and commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyPaymentsPost >.

Public Member Functions

 ByProjectKeyPaymentsPost (IClient apiHttpClient, ISerializerService serializerService, string projectKey, commercetools.Sdk.Api.Models.Payments.IPaymentDraft paymentDraft)
 
List< string > GetExpand ()
 
ByProjectKeyPaymentsPost WithExpand (string expand)
 
async Task< commercetools.Sdk.Api.Models.Payments.IPaymentExecuteAsync (CancellationToken cancellationToken=default)
 
async Task< string > ExecuteAsJsonAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< commercetools.Sdk.Api.Models.Payments.IPayment > > SendAsync (CancellationToken cancellationToken=default)
 
async Task< IApiResponse< string > > SendAsJsonAsync (CancellationToken cancellationToken=default)
 
override HttpRequestMessage Build ()
 
- Public Member Functions inherited from commercetools.Base.Client.ApiMethod< ByProjectKeyPaymentsPost >
 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< ByProjectKeyPaymentsPost, commercetools.Sdk.Api.Models.Payments.IPayment >
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.IExpandableTrait< ByProjectKeyPaymentsPost >
List< string > GetExpand ()
 
WithExpand (string expand)
 
IExpandableTrait< T > AsExpandableTrait ()
 
AsExpandableTraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IDeprecatable201Trait< ByProjectKeyPaymentsPost >
IDeprecatable201Trait< T > AsDeprecatable201Trait ()
 
AsDeprecatable201TraitToBaseType ()
 
- Public Member Functions inherited from commercetools.Sdk.Api.Client.IErrorableTrait< ByProjectKeyPaymentsPost >
IErrorableTrait< T > AsErrorableTrait ()
 
AsErrorableTraitToBaseType ()
 

Properties

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

Constructor & Destructor Documentation

◆ ByProjectKeyPaymentsPost()

commercetools.Sdk.Api.Client.RequestBuilders.Payments.ByProjectKeyPaymentsPost.ByProjectKeyPaymentsPost ( IClient  apiHttpClient,
ISerializerService  serializerService,
string  projectKey,
commercetools::Sdk::Api::Models::Payments::IPaymentDraft  paymentDraft 
)
inline

Member Function Documentation

◆ Build()

override HttpRequestMessage commercetools.Sdk.Api.Client.RequestBuilders.Payments.ByProjectKeyPaymentsPost.Build ( )
inlinevirtual

◆ ExecuteAsJsonAsync()

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

◆ ExecuteAsync()

async Task< commercetools.Sdk.Api.Models.Payments.IPayment > commercetools.Sdk.Api.Client.RequestBuilders.Payments.ByProjectKeyPaymentsPost.ExecuteAsync ( CancellationToken  cancellationToken = default)
inline

◆ GetExpand()

List< string > commercetools.Sdk.Api.Client.RequestBuilders.Payments.ByProjectKeyPaymentsPost.GetExpand ( )
inline

◆ SendAsJsonAsync()

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

◆ SendAsync()

async Task< IApiResponse< commercetools.Sdk.Api.Models.Payments.IPayment > > commercetools.Sdk.Api.Client.RequestBuilders.Payments.ByProjectKeyPaymentsPost.SendAsync ( CancellationToken  cancellationToken = default)
inline

◆ WithExpand()

ByProjectKeyPaymentsPost commercetools.Sdk.Api.Client.RequestBuilders.Payments.ByProjectKeyPaymentsPost.WithExpand ( string  expand)
inline

Property Documentation

◆ Method

override HttpMethod commercetools.Sdk.Api.Client.RequestBuilders.Payments.ByProjectKeyPaymentsPost.Method
get

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