Table of Contents

Class OrderViewModel

Namespace
Dynamicweb.Ecommerce.Frontend
Assembly
Dynamicweb.Ecommerce.dll
OrderViewModel represents the rendering context used when an order is rendered.
public class OrderViewModel : FillableViewModelBase
Inheritance
OrderViewModel
Inherited Members

Properties

Completed

Gets a boolean that indicates that this cart is a completed order
public bool? Completed { get; set; }

Property Value

bool?

CompletedDate

Gets or sets the order completed date.
public DateTime? CompletedDate { get; set; }

Property Value

DateTime?

CreatedAt

Gets or sets the order record creation date. See CompletedDate for the date the order was completed
public DateTime CreatedAt { get; set; }

Property Value

DateTime

CustomerAccepted

Gets or sets a value indicating whether customer has accepted order terms and conditions.
public bool? CustomerAccepted { get; set; }

Property Value

bool?
true if customer was accepted; otherwise, false.

CustomerAddress

Gets or sets the customer address.
public string CustomerAddress { get; set; }

Property Value

string

CustomerAddress2

Gets or sets the customer address2.
public string CustomerAddress2 { get; set; }

Property Value

string

CustomerAddressId

Gets or sets the ID of the UserAddress
public int CustomerAddressId { get; set; }

Property Value

int

CustomerCell

Gets or sets the customer cell.
public string CustomerCell { get; set; }

Property Value

string

CustomerCity

Gets or sets the customer city.
public string CustomerCity { get; set; }

Property Value

string

CustomerComment

Gets or sets the customer comment.
public string CustomerComment { get; set; }

Property Value

string

CustomerCompany

Gets or sets the customer company.
public string CustomerCompany { get; set; }

Property Value

string

CustomerCountry

Gets or sets the customer country.
public string CustomerCountry { get; set; }

Property Value

string

CustomerCountryCode

Gets or sets the customer country code.
public string CustomerCountryCode { get; set; }

Property Value

string

CustomerEan

Gets or sets the customer Ean number.
public string CustomerEan { get; set; }

Property Value

string

CustomerEmail

Gets or sets the customer email.
public string CustomerEmail { get; set; }

Property Value

string

CustomerFirstName

Gets or sets the customer first name.
public string CustomerFirstName { get; set; }

Property Value

string

CustomerHouseNumber

Gets or sets the customer house number.
public string CustomerHouseNumber { get; set; }

Property Value

string

CustomerInitials

Gets or sets the customer initials.
public string CustomerInitials { get; set; }

Property Value

string

CustomerMiddleName

Gets or sets the customer middle name.
public string CustomerMiddleName { get; set; }

Property Value

string

CustomerName

Gets or sets the customer name.
public string CustomerName { get; set; }

Property Value

string

CustomerNumber

Gets or sets the customer number.
public string CustomerNumber { get; set; }

Property Value

string

CustomerPhone

Gets or sets the customer phone.
public string CustomerPhone { get; set; }

Property Value

string

CustomerPrefix

Gets or sets the customer prefix.
public string CustomerPrefix { get; set; }

Property Value

string

CustomerRefId

Gets or sets the customers reference id
public string CustomerRefId { get; set; }

Property Value

string

CustomerRegion

Gets or sets the customer region.
public string CustomerRegion { get; set; }

Property Value

string

CustomerSurname

Gets or sets the customer surname.
public string CustomerSurname { get; set; }

Property Value

string

CustomerTitle

Gets or sets the customer title.
public string CustomerTitle { get; set; }

Property Value

string

CustomerUserId

Gets or sets the customer user Id.
public int CustomerUserId { get; set; }

Property Value

int

CustomerZip

Gets or sets the customer zip code.
public string CustomerZip { get; set; }

Property Value

string

DeliveryAddress

Gets or sets the delivery address.
public string DeliveryAddress { get; set; }

Property Value

string

DeliveryAddress2

Gets or sets the delivery address2.
public string DeliveryAddress2 { get; set; }

Property Value

string

DeliveryAddressId

Gets or sets the ID of the UserAddress
public int DeliveryAddressId { get; set; }

Property Value

int

DeliveryCell

Gets or sets the delivery cell.
public string DeliveryCell { get; set; }

Property Value

string

DeliveryCity

Gets or sets the delivery city.
public string DeliveryCity { get; set; }

Property Value

string

DeliveryCompany

Gets or sets the delivery company.
public string DeliveryCompany { get; set; }

Property Value

string

DeliveryCountry

Gets or sets the delivery country.
public string DeliveryCountry { get; set; }

Property Value

string

DeliveryCountryCode

Gets or sets the delivery country code.
public string DeliveryCountryCode { get; set; }

Property Value

string

DeliveryEmail

Gets or sets the delivery email.
public string DeliveryEmail { get; set; }

Property Value

string

DeliveryFirstName

Gets or sets the delivery first name.
public string DeliveryFirstName { get; set; }

Property Value

string

DeliveryHouseNumber

Gets or sets the delivery house number.
public string DeliveryHouseNumber { get; set; }

Property Value

string

DeliveryInitials

Gets or sets the delivery initials.
public string DeliveryInitials { get; set; }

Property Value

string

DeliveryMiddleName

Gets or sets the delivery middle name.
public string DeliveryMiddleName { get; set; }

Property Value

string

DeliveryName

Gets or sets the delivery name.
public string DeliveryName { get; set; }

Property Value

string

DeliveryPhone

Gets or sets the delivery phone.
public string DeliveryPhone { get; set; }

Property Value

string

DeliveryPrefix

Gets or sets the delivery prefix.
public string DeliveryPrefix { get; set; }

Property Value

string

DeliveryRegion

Gets or sets the delivery region.
public string DeliveryRegion { get; set; }

Property Value

string

DeliverySurname

Gets or sets the delivery surname.
public string DeliverySurname { get; set; }

Property Value

string

DeliveryTitle

Gets or sets the delivery title.
public string DeliveryTitle { get; set; }

Property Value

string

DeliveryZip

Gets or sets the delivery ZIP.
public string DeliveryZip { get; set; }

Property Value

string

DisplayName

Gets or sets the order display name.
public string DisplayName { get; set; }

Property Value

string

Id

Gets or sets the order Id.
public string Id { get; set; }

Property Value

string

IntegrationOrderId

Gets or sets the order id in the integrated system
public string IntegrationOrderId { get; set; }

Property Value

string

LedgerType

Gets or sets the ledger type.
public string LedgerType { get; set; }

Property Value

string

Modified

Gets or sets the order record modified date.
public DateTime Modified { get; set; }

Property Value

DateTime

NewsletterSubscribe

Gets or sets a value indicating whether customer wants to subscribe for a newsletter.
public bool NewsletterSubscribe { get; set; }

Property Value

bool
true if newsletter was subscribed; otherwise, false.

OrderFields

public Dictionary<string, FieldValueViewModel> OrderFields { get; set; }

Property Value

Dictionary<string, FieldValueViewModel>

OrderLines

public IList<OrderLineViewModel> OrderLines { get; set; }

Property Value

IList<OrderLineViewModel>

ParentOrderId

Gets or sets the parent ID.
public string ParentOrderId { get; set; }

Property Value

string

PaymentFee

public PriceViewModel PaymentFee { get; set; }

Property Value

PriceViewModel

PaymentMethod

public PaymentViewModel PaymentMethod { get; set; }

Property Value

PaymentViewModel

Price

public PriceViewModel Price { get; set; }

Property Value

PriceViewModel

PriceBeforeFees

public PriceViewModel PriceBeforeFees { get; set; }

Property Value

PriceViewModel

RecurringOrderId

Gets or sets the id used for creating recurring orders.
public int? RecurringOrderId { get; set; }

Property Value

int?

Reference

Gets or sets the reference.
public string Reference { get; set; }

Property Value

string

SecondaryUserId

Gets or sets the impersonated access user ID.
public int SecondaryUserId { get; set; }

Property Value

int

SecondaryUserName

Gets the impersonated access user Name.
public string SecondaryUserName { get; set; }

Property Value

string

Secret

Gets or sets the order secret.
public string Secret { get; set; }

Property Value

string

ShippingDate

public DateTime? ShippingDate { get; set; }

Property Value

DateTime?

ShippingFee

public PriceViewModel ShippingFee { get; set; }

Property Value

PriceViewModel

ShippingMethod

public ShippingViewModel ShippingMethod { get; set; }

Property Value

ShippingViewModel

ShopId

Gets or sets the order shop id.
public string ShopId { get; set; }

Property Value

string

StateDescription

Gets or sets the order state description.
public string StateDescription { get; set; }

Property Value

string

StateId

Gets or sets the order state Id.
public string StateId { get; set; }

Property Value

string

StateName

Gets or sets the order state name.
public string StateName { get; set; }

Property Value

string

TotalDiscount

public PriceViewModel TotalDiscount { get; set; }

Property Value

PriceViewModel

TotalOrderDiscount

public PriceViewModel TotalOrderDiscount { get; set; }

Property Value

PriceViewModel

TotalPriceBeforeFeesAndTaxes

public PriceViewModel TotalPriceBeforeFeesAndTaxes { get; set; }

Property Value

PriceViewModel

TotalPriceWithoutDiscountsFeesAndTaxes

public PriceViewModel TotalPriceWithoutDiscountsFeesAndTaxes { get; set; }

Property Value

PriceViewModel

TotalPriceWithoutOrderDiscountsAndFeesAndTaxes

public PriceViewModel TotalPriceWithoutOrderDiscountsAndFeesAndTaxes { get; set; }

Property Value

PriceViewModel

TotalProductDiscount

public PriceViewModel TotalProductDiscount { get; set; }

Property Value

PriceViewModel

TotalTaxes

public PriceViewModel TotalTaxes { get; set; }

Property Value

PriceViewModel

TrackAndTraceName

Gets or sets the track and trace name.
public string TrackAndTraceName { get; set; }

Property Value

string

TrackAndTraceNumber

Gets or sets the track and trace number.
public string TrackAndTraceNumber { get; set; }

Property Value

string

TrackAndTraceURL

Gets or sets the track and trace URL.
public string TrackAndTraceURL { get; set; }

Property Value

string

TransactionCardnumber

public string TransactionCardnumber { get; set; }

Property Value

string

TransactionCardType

public string TransactionCardType { get; set; }

Property Value

string

TransactionNumber

public string TransactionNumber { get; set; }

Property Value

string

TransactionStatus

public string TransactionStatus { get; set; }

Property Value

string

Volume

Gets or sets the total volume of the ordered products.
public double Volume { get; set; }

Property Value

double

VoucherCode

Gets or sets the voucher code for the order to trigger discounts
public string VoucherCode { get; set; }

Property Value

string

Weight

Gets or sets the total weight of the ordered products.
public double Weight { get; set; }

Property Value

double
To top