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
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
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
CustomerAddress2
Gets or sets the customer address2.
public string CustomerAddress2 { get; set; }
Property Value
CustomerAddressId
Gets or sets the ID of the UserAddress
public int CustomerAddressId { get; set; }
Property Value
CustomerCell
Gets or sets the customer cell.
public string CustomerCell { get; set; }
Property Value
CustomerCity
Gets or sets the customer city.
public string CustomerCity { get; set; }
Property Value
CustomerComment
Gets or sets the customer comment.
public string CustomerComment { get; set; }
Property Value
CustomerCompany
Gets or sets the customer company.
public string CustomerCompany { get; set; }
Property Value
CustomerCountry
Gets or sets the customer country.
public string CustomerCountry { get; set; }
Property Value
CustomerCountryCode
Gets or sets the customer country code.
public string CustomerCountryCode { get; set; }
Property Value
CustomerEan
Gets or sets the customer Ean number.
public string CustomerEan { get; set; }
Property Value
CustomerEmail
Gets or sets the customer email.
public string CustomerEmail { get; set; }
Property Value
CustomerFirstName
Gets or sets the customer first name.
public string CustomerFirstName { get; set; }
Property Value
CustomerHouseNumber
Gets or sets the customer house number.
public string CustomerHouseNumber { get; set; }
Property Value
CustomerInitials
Gets or sets the customer initials.
public string CustomerInitials { get; set; }
Property Value
CustomerMiddleName
Gets or sets the customer middle name.
public string CustomerMiddleName { get; set; }
Property Value
CustomerName
Gets or sets the customer name.
public string CustomerName { get; set; }
Property Value
CustomerNumber
Gets or sets the customer number.
public string CustomerNumber { get; set; }
Property Value
CustomerPhone
Gets or sets the customer phone.
public string CustomerPhone { get; set; }
Property Value
CustomerPrefix
Gets or sets the customer prefix.
public string CustomerPrefix { get; set; }
Property Value
CustomerRefId
Gets or sets the customers reference id
public string CustomerRefId { get; set; }
Property Value
CustomerRegion
Gets or sets the customer region.
public string CustomerRegion { get; set; }
Property Value
CustomerSurname
Gets or sets the customer surname.
public string CustomerSurname { get; set; }
Property Value
CustomerTitle
Gets or sets the customer title.
public string CustomerTitle { get; set; }
Property Value
CustomerUserId
Gets or sets the customer user Id.
public int CustomerUserId { get; set; }
Property Value
CustomerZip
Gets or sets the customer zip code.
public string CustomerZip { get; set; }
Property Value
DeliveryAddress
Gets or sets the delivery address.
public string DeliveryAddress { get; set; }
Property Value
DeliveryAddress2
Gets or sets the delivery address2.
public string DeliveryAddress2 { get; set; }
Property Value
DeliveryAddressId
Gets or sets the ID of the UserAddress
public int DeliveryAddressId { get; set; }
Property Value
DeliveryCell
Gets or sets the delivery cell.
public string DeliveryCell { get; set; }
Property Value
DeliveryCity
Gets or sets the delivery city.
public string DeliveryCity { get; set; }
Property Value
DeliveryCompany
Gets or sets the delivery company.
public string DeliveryCompany { get; set; }
Property Value
DeliveryCountry
Gets or sets the delivery country.
public string DeliveryCountry { get; set; }
Property Value
DeliveryCountryCode
Gets or sets the delivery country code.
public string DeliveryCountryCode { get; set; }
Property Value
DeliveryEmail
Gets or sets the delivery email.
public string DeliveryEmail { get; set; }
Property Value
DeliveryFirstName
Gets or sets the delivery first name.
public string DeliveryFirstName { get; set; }
Property Value
DeliveryHouseNumber
Gets or sets the delivery house number.
public string DeliveryHouseNumber { get; set; }
Property Value
DeliveryInitials
Gets or sets the delivery initials.
public string DeliveryInitials { get; set; }
Property Value
DeliveryMiddleName
Gets or sets the delivery middle name.
public string DeliveryMiddleName { get; set; }
Property Value
DeliveryName
Gets or sets the delivery name.
public string DeliveryName { get; set; }
Property Value
DeliveryPhone
Gets or sets the delivery phone.
public string DeliveryPhone { get; set; }
Property Value
DeliveryPrefix
Gets or sets the delivery prefix.
public string DeliveryPrefix { get; set; }
Property Value
DeliveryRegion
Gets or sets the delivery region.
public string DeliveryRegion { get; set; }
Property Value
DeliverySurname
Gets or sets the delivery surname.
public string DeliverySurname { get; set; }
Property Value
DeliveryTitle
Gets or sets the delivery title.
public string DeliveryTitle { get; set; }
Property Value
DeliveryZip
Gets or sets the delivery ZIP.
public string DeliveryZip { get; set; }
Property Value
DisplayName
Gets or sets the order display name.
public string DisplayName { get; set; }
Property Value
Id
Gets or sets the order Id.
public string Id { get; set; }
Property Value
IntegrationOrderId
Gets or sets the order id in the integrated system
public string IntegrationOrderId { get; set; }
Property Value
LedgerType
Gets or sets the ledger type.
public string LedgerType { get; set; }
Property Value
Modified
Gets or sets the order record modified date.
public DateTime Modified { get; set; }
Property Value
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
OrderLines
public IList<OrderLineViewModel> OrderLines { get; set; }
Property Value
ParentOrderId
Gets or sets the parent ID.
public string ParentOrderId { get; set; }
Property Value
PaymentFee
public PriceViewModel PaymentFee { get; set; }
Property Value
PaymentMethod
public PaymentViewModel PaymentMethod { get; set; }
Property Value
Price
public PriceViewModel Price { get; set; }
Property Value
PriceBeforeFees
public PriceViewModel PriceBeforeFees { get; set; }
Property Value
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
SecondaryUserId
Gets or sets the impersonated access user ID.
public int SecondaryUserId { get; set; }
Property Value
SecondaryUserName
Gets the impersonated access user Name.
public string SecondaryUserName { get; set; }
Property Value
Secret
Gets or sets the order secret.
public string Secret { get; set; }
Property Value
ShippingDate
public DateTime? ShippingDate { get; set; }
Property Value
ShippingFee
public PriceViewModel ShippingFee { get; set; }
Property Value
ShippingMethod
public ShippingViewModel ShippingMethod { get; set; }
Property Value
ShopId
Gets or sets the order shop id.
public string ShopId { get; set; }
Property Value
StateDescription
Gets or sets the order state description.
public string StateDescription { get; set; }
Property Value
StateId
Gets or sets the order state Id.
public string StateId { get; set; }
Property Value
StateName
Gets or sets the order state name.
public string StateName { get; set; }
Property Value
TotalDiscount
public PriceViewModel TotalDiscount { get; set; }
Property Value
TotalOrderDiscount
public PriceViewModel TotalOrderDiscount { get; set; }
Property Value
TotalPriceBeforeFeesAndTaxes
public PriceViewModel TotalPriceBeforeFeesAndTaxes { get; set; }
Property Value
TotalPriceWithoutDiscountsFeesAndTaxes
public PriceViewModel TotalPriceWithoutDiscountsFeesAndTaxes { get; set; }
Property Value
TotalPriceWithoutOrderDiscountsAndFeesAndTaxes
public PriceViewModel TotalPriceWithoutOrderDiscountsAndFeesAndTaxes { get; set; }
Property Value
TotalProductDiscount
public PriceViewModel TotalProductDiscount { get; set; }
Property Value
TotalTaxes
public PriceViewModel TotalTaxes { get; set; }
Property Value
TrackAndTraceName
Gets or sets the track and trace name.
public string TrackAndTraceName { get; set; }
Property Value
TrackAndTraceNumber
Gets or sets the track and trace number.
public string TrackAndTraceNumber { get; set; }
Property Value
TrackAndTraceURL
Gets or sets the track and trace URL.
public string TrackAndTraceURL { get; set; }
Property Value
TransactionCardnumber
public string TransactionCardnumber { get; set; }
Property Value
TransactionCardType
public string TransactionCardType { get; set; }
Property Value
TransactionNumber
public string TransactionNumber { get; set; }
Property Value
TransactionStatus
public string TransactionStatus { get; set; }
Property Value
Volume
Gets or sets the total volume of the ordered products.
public double Volume { get; set; }
Property Value
VoucherCode
Gets or sets the voucher code for the order to trigger discounts
public string VoucherCode { get; set; }
Property Value
Weight
Gets or sets the total weight of the ordered products.
public double Weight { get; set; }