Interface IOrderData
Shopping cart data to create order from.
public interface IOrderData
- Extension Methods
Properties
BillingAddress
Billing address.
AddressDto BillingAddress { get; set; }
Property Value
BuyerIdentifier
The identifier of the buyer for whom the order is being created. This identifies the customer or registered member in the system and determines which customer-specific pricing, promotions, or customer-specific rules apply.
BuyerIdentifier BuyerIdentifier { get; }
Property Value
Remarks
The BuyerIdentifier may refer to an existing customer (CustomerId) or a registered member who may not yet have a customer record (MemberId). In contexts such as order creation or price calculations, if the MemberId corresponds to an existing customer, this identifier is used to identify the customer, regardless of whether it was created via FromCustomerId(int) or FromMemberId(int).
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.
[Obsolete("Use BuyerIdentifier instead.")]
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
ShippingMethodId
Shipping method ID pointing to ShippingMethodID.
int ShippingMethodId { get; set; }
Property Value
- int