Table of Contents

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

Type PaymentTransactionCancelResult.ResultType
IsSuccess bool
Message string

Properties

IsSuccess

Indicates whether the payment transaction cancellation was successful

public bool IsSuccess { get; }

Property Value

bool

Message

The message associated with the payment transaction cancellation

public string? Message { get; }

Property Value

string

Type

The result type of the payment transaction cancellation

public PaymentTransactionCancelResult.ResultType Type { get; }

Property Value

PaymentTransactionCancelResult.ResultType
To top