Class PaymentTransactionService
- Namespace
- Dynamicweb.Ecommerce.Orders.Payment
Transactions
- Assembly
- Dynamicweb.Ecommerce.dll
- Inheritance
-
Payment
Transaction Service
- Inherited Members
Methods
CancelPayment(PaymentTransactionKey)
Attempts to cancel the payment transaction.
Parameters
key
PaymentTransaction Key The key of the payment transaction
Returns
- Payment
Transaction Cancel Result An instance of Payment
Transaction representing the result of the cancellation.Cancel Result
GetByIds(IEnumerable<string>, string)
Gets payment transactions by the provided IDs and payment ID.
Parameters
ids
IEnumerable<string>paymentId
string
Returns
Exceptions
- Argument
Null Exception An exception is thrown if the
ids
is null.
GetByKey(PaymentTransactionKey)
Gets payment transaction by the provided Payment
Parameters
key
PaymentTransaction Key The key of the payment transaction
Returns
GetPaymentTransactionProviderInfo(string)
Gets Payment
Parameters
paymentId
string
Returns
GetPaymentTransactionProviderInfos()
Gets Payment
Returns
GetPaymentTransactionsBySearch(PaymentTransactionSearchFilter, string)
Gets payment transactions by search settings
public virtual PaymentTransactionSearchResult GetPaymentTransactionsBySearch(PaymentTransactionSearchFilter searchFilter, string paymentId)
Parameters
searchFilter
PaymentTransaction Search Filter paymentId
string
Returns
Exceptions
- Argument
Null Exception An exception is thrown if the
searchFilter
is null.