Table of Contents

Class OrderDataBase<TOrderItem, TAddressDto>

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Shopping cart data to create order from.

public class OrderDataBase<TOrderItem, TAddressDto> : IOrderData where TOrderItem : IOrderItem<ProductIdentifier> where TAddressDto : AddressDto, new()

Type Parameters

TOrderItem

Product items in shopping carty type.

TAddressDto

Address type.

Inheritance
object
OrderDataBase<TOrderItem, TAddressDto>
Implements
Derived
Extension Methods

Constructors

OrderDataBase()

public OrderDataBase()

Properties

BillingAddress

Billing address.

public TAddressDto BillingAddress { get; set; }

Property Value

TAddressDto

LanguageName

Language name. Used to fetch localized ProductData from the underlying product store during price calculation.

public string LanguageName { get; init; }

Property Value

string

Remarks

The language name is used for product data localization during product data retrieval via IProductDataRetriever<TProductIdentifier, TProductData>.

See Also

MemberId

Member ID of logged customer.

public int? MemberId { get; set; }

Property Value

int?

OrderItems

public IEnumerable<TOrderItem> OrderItems { get; set; }

Property Value

IEnumerable<TOrderItem>

OrderNumber

Order number.

public string OrderNumber { get; set; }

Property Value

string

PaymentMethodId

Payment method ID.

public int? PaymentMethodId { get; set; }

Property Value

int?

ShippingAddress

Shipping address.

public TAddressDto ShippingAddress { get; set; }

Property Value

TAddressDto

ShippingMethodId

Shipping method ID.

public int? ShippingMethodId { get; set; }

Property Value

int?