Table of Contents

Interface IOrderData

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Shopping cart data to create order from.

public interface IOrderData
Extension Methods

Properties

BillingAddress

Billing address.

AddressDto BillingAddress { get; set; }

Property Value

AddressDto

CouponCodes

Collection of coupon codes to be applied during order price calculation. These codes are used to identify and apply promotions to the order and its items.

IEnumerable<string> CouponCodes { get; }

Property Value

IEnumerable<string>

LanguageName

Language name.

string LanguageName { get; init; }

Property Value

string

Remarks

Used to fetch localized ProductData from the underlying product store during price calculation. 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.

int MemberId { get; set; }

Property Value

int

OrderItems

Products in shopping cart, gifts and other products in the order.

IEnumerable<IOrderItem<ProductIdentifier>> OrderItems { get; }

Property Value

IEnumerable<IOrderItem<ProductIdentifier>>

OrderNumber

Order number.

string OrderNumber { get; }

Property Value

string

PaymentMethodId

Payment method ID pointing to PaymentMethodID.

int PaymentMethodId { get; set; }

Property Value

int

ShippingAddress

Shipping address.

AddressDto ShippingAddress { get; set; }

Property Value

AddressDto

ShippingMethodId

Shipping method ID pointing to ShippingMethodID.

int ShippingMethodId { get; set; }

Property Value

int