Table of Contents

Struct PaymentTransactionProviderInfo

Namespace
Dynamicweb.Ecommerce.Orders.PaymentTransactions
Assembly
Dynamicweb.Ecommerce.dll

Describes information about a IPaymentTransactionProvider.

public readonly record struct PaymentTransactionProviderInfo : IEquatable<PaymentTransactionProviderInfo>
Implements
Inherited Members

Constructors

PaymentTransactionProviderInfo(IPaymentTransactionProvider, string, bool)

Initializes a new instance of the PaymentTransactionProviderInfo class.

public PaymentTransactionProviderInfo(IPaymentTransactionProvider Provider, string PaymentId, bool IsPaymentActive)

Parameters

Provider IPaymentTransactionProvider
PaymentId string
IsPaymentActive bool

Exceptions

ArgumentNullException

If Provider is null.

ArgumentException

If PaymentId is null or empty.

Properties

IsPaymentActive

Indicates whether the underlying Payment is active or not.

public bool IsPaymentActive { get; }

Property Value

bool

PaymentId

The ID of the related Payment used

public string PaymentId { get; }

Property Value

string

Provider

The actual instance implementing IPaymentTransactionProvider

public IPaymentTransactionProvider Provider { get; }

Property Value

IPaymentTransactionProvider
To top