Table of Contents

Class ConsolidatedPaymentBalance

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

Record representing the balance of an order that may have one or more associated consolidated payments.

public record ConsolidatedPaymentBalance : IEquatable<ConsolidatedPaymentBalance>
Inheritance
ConsolidatedPaymentBalance
Implements
Inherited Members

Constructors

ConsolidatedPaymentBalance(Order, PriceInfo)

Record representing the balance of an order that may have one or more associated consolidated payments.

public ConsolidatedPaymentBalance(Order PaidOrder, PriceInfo PaidAmount)

Parameters

PaidOrder Order

The order to get the balance for.

PaidAmount PriceInfo

The amount that has been paid.

Properties

PaidAmount

The amount that has been paid.

public PriceInfo PaidAmount { get; init; }

Property Value

PriceInfo

PaidOrder

The order to get the balance for.

public Order PaidOrder { get; init; }

Property Value

Order

Remaining

Gets the remaining price after subtracting the paid amount from the order price.

public PriceInfo Remaining { get; }

Property Value

PriceInfo
To top