Struct PaymentTransactionCancelResult
- Namespace
- Dynamicweb.Ecommerce.Orders.PaymentTransactions
- Assembly
- Dynamicweb.Ecommerce.dll
Represents the result of a payment transaction cancellation
public readonly record struct PaymentTransactionCancelResult : IEquatable<PaymentTransactionCancelResult>
- Implements
- Inherited Members
Constructors
PaymentTransactionCancelResult(ResultType, bool, string?)
Represents the result of a payment transaction cancellation
public PaymentTransactionCancelResult(PaymentTransactionCancelResult.ResultType Type, bool IsSuccess, string? Message = null)
Parameters
TypePaymentTransactionCancelResult.ResultTypeIsSuccessboolMessagestring
Properties
IsSuccess
Indicates whether the payment transaction cancellation was successful
public bool IsSuccess { get; }
Property Value
Message
The message associated with the payment transaction cancellation
public string? Message { get; }
Property Value
Type
The result type of the payment transaction cancellation
public PaymentTransactionCancelResult.ResultType Type { get; }