Table of Contents

Class Order

Namespace
Dynamicweb.Ecommerce.Orders
Assembly
Dynamicweb.Ecommerce.dll

Represents information about an order.

[Serializable]
public class Order
Inheritance
Order
Inherited Members

Constructors

Order(Currency, Country, Language)

Initializes a new instance of the Order class.

public Order(Currency currency, Country country, Language language)

Parameters

currency Currency
country Country
language Language

Properties

AddressValidatorResults

Gets the address validator results.

public List<AddressValidatorResult> AddressValidatorResults { get; set; }

Property Value

List<AddressValidatorResult>

AllowOverridePaymentFee

Indicated whether payment fee is overridden and not calculated

public bool AllowOverridePaymentFee { get; set; }

Property Value

bool

AllowOverridePrices

Indicated whether Price is overridden and not calculated. Used to set explicit PriceInfo values.

public bool AllowOverridePrices { get; set; }

Property Value

bool

AllowOverrideShippingFee

Indicated whether shipping fee is overridden and not calculated

public bool AllowOverrideShippingFee { get; set; }

Property Value

bool

AutoId

Gets the Order Auto ID.

public int AutoId { get; }

Property Value

int

Calculate

Gets a value indicating whether this Order is calculated (is in the cart state).

public bool Calculate { get; }

Property Value

bool

true if calculated; otherwise, false.

CaptureAmount

Gets or sets the captured amount.

public double CaptureAmount { get; set; }

Property Value

double

CaptureInfo

Gets or sets the capture info.

public OrderCaptureInfo CaptureInfo { get; set; }

Property Value

OrderCaptureInfo

CheckoutPageId

Gets or sets the PageID where was checkout step.

public int CheckoutPageId { get; set; }

Property Value

int

Comment

Gets or sets the comment.

public string Comment { get; set; }

Property Value

string

Complete

Gets or sets a value indicating whether this Order is completed. Non-completed orders are displayed in red, meaning that the ordering process was interrupted prior to finishing the final step.

public bool Complete { get; set; }

Property Value

bool

true if complete; otherwise, false.

CompletedDate

Gets or sets the date when order was completed.

public DateTime? CompletedDate { get; set; }

Property Value

DateTime?

Currency

Gets the currency.

public Currency Currency { get; }

Property Value

Currency

CurrencyCode

Gets or sets the currency code.

public string CurrencyCode { get; set; }

Property Value

string

CurrencyName

Gets or sets the currency name.

public string CurrencyName { get; set; }

Property Value

string

CurrencyRate

Gets or sets the currency rate on the order creation date.

public double CurrencyRate { get; set; }

Property Value

double

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.

CustomerAccessUserId

Gets or sets the customer access user ID.

public int CustomerAccessUserId { get; set; }

Property Value

int

CustomerAccessUserUserName

Gets or sets the customer access user name.

public string CustomerAccessUserUserName { get; set; }

Property Value

string

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.

public string CustomerEan { get; set; }

Property Value

string

CustomerEmail

Gets or sets the customer email.

public string CustomerEmail { get; set; }

Property Value

string

CustomerFax

Gets or sets the customer fax.

public string CustomerFax { 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 customer 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

CustomerVatRegNumber

Gets or sets the customer VAT registration number.

public string CustomerVatRegNumber { get; set; }

Property Value

string

CustomerZip

Gets or sets the customer zip code.

public string CustomerZip { get; set; }

Property Value

string

Date

Gets or sets the order creation date.

public DateTime Date { get; set; }

Property Value

DateTime

Deleted

Gets or sets a value indicating whether this Order is deleted. When administrator delete the order it only marked as deleted.

public bool Deleted { get; set; }

Property Value

bool

true if deleted; otherwise, false.

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

DeliveryFax

Gets or sets the delivery fax.

public string DeliveryFax { 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

DisableDiscountCalculation

public bool DisableDiscountCalculation { get; set; }

Property Value

bool

DiscountAmount

Gets or sets the discount amount that can be used for custom discounts on the order

public double DiscountAmount { get; set; }

Property Value

double

DiscountPercentage

Gets or sets the discount percentage that can be used for custom discounts on the order

public double DiscountPercentage { get; set; }

Property Value

double

DisplayName

Gets or sets the order name

public string DisplayName { get; set; }

Property Value

string

DoSaveCardToken

Gets or sets the value indicating whether to save card.

public bool DoSaveCardToken { get; set; }

Property Value

bool

Errors

Gets or sets the errors.

public ICollection<string> Errors { get; set; }

Property Value

ICollection<string>

ExternalPaymentFee

Get or set the external payment fee.

public double ExternalPaymentFee { get; set; }

Property Value

double

GatewayPaymentStatus

Gets or sets the gateway payment status(Paid, Rejected etc).

public string GatewayPaymentStatus { get; set; }

Property Value

string

GatewayResult

Gets or sets the result from the payment gateway.

public string GatewayResult { get; set; }

Property Value

string

GatewayTransactionProblems

Gets the gateway transaction problems.

public List<string> GatewayTransactionProblems { get; }

Property Value

List<string>

GiftCardTransactionFailed

Gets or sets the Order GiftCard transactions failed status.

public bool GiftCardTransactionFailed { get; set; }

Property Value

bool

HasSetUserDetails

Gets or sets a value indicating whether the customer data has been filled in.

public bool HasSetUserDetails { get; set; }

Property Value

bool

true if this instance has set user details; otherwise, false.

HasShippingDocument

Determines whether the shipping document values is empty or not.

public bool HasShippingDocument { get; }

Property Value

bool

Id

Gets or sets the Order ID.

public string Id { get; set; }

Property Value

string

InfoDirectProviderErrors

Gets the Info Direct service errors.

public List<string> InfoDirectProviderErrors { get; }

Property Value

List<string>

IntegrationOrderId

Gets or sets the integration order ID.

public string IntegrationOrderId { get; set; }

Property Value

string

Ip

Gets or sets the customer's IP.

public string Ip { get; set; }

Property Value

string

IsCart

Gets or sets a value indicating whether order has "cart" status. The order will have "cart" status until customer confirms the payment.

public bool IsCart { get; set; }

Property Value

bool

true if this instance is cart; otherwise, false.

IsExported

Determines whether order was exported.

public bool IsExported { get; set; }

Property Value

bool

IsLedgerEntry

Gets or sets a value indicating whether this is a "ledger entry".

public bool IsLedgerEntry { get; set; }

Property Value

bool

true if this instance is ledger entry; otherwise, false.

IsPayable

Gets or sets a value indicating whether this order can be "payed".

public bool IsPayable { get; set; }

Property Value

bool

true if this instance is payable; otherwise, false.

IsPriceCalculatedByProvider

Gets or sets a value indicating whether prices are calculated by a provider.

public bool IsPriceCalculatedByProvider { get; set; }

Property Value

bool

true if prices are calculated by a provider; otherwise, false.

IsProcessingCheckout

Internal property indicating whether an order is being checked out. An order that is being checked out does not do calculations.

public bool IsProcessingCheckout { get; }

Property Value

bool

IsQuote

Gets or sets a value indicating whether this is an "order" or a "quote".

public bool IsQuote { get; set; }

Property Value

bool

true if this instance is quote; otherwise, false.

IsRecurringOrderTemplate

Gets or sets a value indicating whether this is an "order" or a "Recurring order template".

public bool IsRecurringOrderTemplate { get; set; }

Property Value

bool

true if this instance is recurring order; otherwise, false.

IsShippingDocumentSupported

Determines whether the shipping document is supported.

public bool IsShippingDocumentSupported { get; }

Property Value

bool

Language

public Language Language { get; }

Property Value

Language

LanguageId

Gets or sets the order language ID.

public string LanguageId { 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 date when order was modified.

public DateTime Modified { get; }

Property Value

DateTime

NewsletterSubscribe

Gets or sets a value indicating whether customer was subscribed for a newsletter.

public bool NewsletterSubscribe { get; set; }

Property Value

bool

true if newsletter was subscribed; otherwise, false.

OrderContextId

Gets or sets the order context ID.

public string OrderContextId { get; set; }

Property Value

string

OrderFieldValues

Gets or sets the custom order field values.

public OrderFieldValueCollection OrderFieldValues { get; set; }

Property Value

OrderFieldValueCollection

OrderLines

Gets the collection of all order lines.

public OrderLineCollection OrderLines { get; }

Property Value

OrderLineCollection

OrderState

Gets the current order state, e.g. Completed, New, Important etc.

public OrderState OrderState { get; }

Property Value

OrderState

ParentOrderId

Gets or sets the parent Order ID.

public string ParentOrderId { get; set; }

Property Value

string

PaymentCountrySelection

Gets or sets the country for shipping.

public CountrySelectionForMethod PaymentCountrySelection { get; set; }

Property Value

CountrySelectionForMethod

PaymentFee

Gets the payment fee.

public PriceInfo PaymentFee { get; }

Property Value

PriceInfo

PaymentMethod

Gets or sets the payment method name.

public string PaymentMethod { get; set; }

Property Value

string

PaymentMethodCode

Gets or sets the payment method Code.

public string PaymentMethodCode { get; set; }

Property Value

string

PaymentMethodDescription

Gets or sets the payment method description.

public string PaymentMethodDescription { get; set; }

Property Value

string

PaymentMethodId

Gets or sets the payment method ID.

public string PaymentMethodId { get; set; }

Property Value

string

PaymentMethodTermsCode

Gets or sets the payment method terms code.

public string PaymentMethodTermsCode { get; set; }

Property Value

string

PaymentRecurringInfo

Gets or sets payment provider recurring order information(recurring identity, user profiles, any information needed for payment provider).

public string PaymentRecurringInfo { get; set; }

Property Value

string

PointsToUse

Gets or sets the amount of loyalty points to use for pay.

public double PointsToUse { get; set; }

Property Value

double

Price

Gets the price, including payment and shipping fees.

public PriceInfo Price { get; }

Property Value

PriceInfo

PriceBeforeFees

Gets the price without payment and shipping fees.

public PriceInfo PriceBeforeFees { get; }

Property Value

PriceInfo

The price before fees.

PriceCalculationDate

Gets or sets the price calculation date on order.

public DateTime? PriceCalculationDate { get; set; }

Property Value

DateTime?

ProductOrderLines

Gets an OrderLineCollection containing all OrderLine objects where OrderLine.Product is not null.

public OrderLineCollection ProductOrderLines { get; }

Property Value

OrderLineCollection

Remarks

Order lines with gift card product are not included

Products

Gets the collection of all ordered products.

public ProductCollection Products { get; }

Property Value

ProductCollection

Remarks

Gift card products are not included

ReSendEmail

Gets or sets the resend email.

public string ReSendEmail { get; set; }

Property Value

string

ReceiptShowCount

Gets or sets the count of receipt was shown.

public int ReceiptShowCount { get; set; }

Property Value

int

RecurringOrderId

Gets or sets the Order recurring order ID.

public int RecurringOrderId { get; set; }

Property Value

int

Reference

Gets or sets the reference.

public string Reference { get; set; }

Property Value

string

Referrer

Gets or sets the referrer.

public string Referrer { get; set; }

Property Value

string

Requisition

Gets or sets the requisition.

public string Requisition { get; set; }

Property Value

string

ReturnOperations

Gets or sets the order return operations as collection of OrderReturnInfo.

public IEnumerable<OrderReturnInfo> ReturnOperations { get; set; }

Property Value

IEnumerable<OrderReturnInfo>

Remarks

History of operations for payments with IFullReturn, IPartialReturn interfaces implemented.

ReverseChargeForVat

Gets or sets a value indicating whether VAT is in a reverse charge situation. In this case, VAT is not present in the product price for the affected VAT groups. This is standard VAT law in EU for B2B, where the buyer must handle the VAT rather than the reseller.

public bool ReverseChargeForVat { get; set; }

Property Value

bool

true if VAT is in a reverse charge situation; otherwise, false.

RewardTotalPoints

Points for reward.

public double? RewardTotalPoints { get; }

Property Value

double?

SalesDiscount

Gets or sets the sales discount.

public double SalesDiscount { get; set; }

Property Value

double

SavedCardDraftName

Gets or sets the name for saved card to be created.

public string SavedCardDraftName { get; set; }

Property Value

string

SavedCardId

Gets or sets the ID of saved card.

public int SavedCardId { get; set; }

Property Value

int

SecondaryUserId

Gets or sets the identifier of the impersonating user.

public int SecondaryUserId { get; set; }

Property Value

int

Secret

A secret sequence of characters to use e.g. for security. The secret is non-changeable for this order.

public string Secret { get; }

Property Value

string

ShippingCountrySelection

Gets or sets the shipping country.

public CountrySelectionForMethod ShippingCountrySelection { get; set; }

Property Value

CountrySelectionForMethod

ShippingDate

Gets or sets the shipping date.

public DateTime? ShippingDate { get; set; }

Property Value

DateTime?

ShippingDocumentValues

Gets the shipping document values.

public Dictionary<string, object> ShippingDocumentValues { get; }

Property Value

Dictionary<string, object>

ShippingFee

Gets the shipping fee.

public PriceInfo ShippingFee { get; }

Property Value

PriceInfo

ShippingMethod

Gets or sets the shipping method.

public string ShippingMethod { get; set; }

Property Value

string

ShippingMethodAgentCode

Gets or sets the shipping method agent code.

public string ShippingMethodAgentCode { get; set; }

Property Value

string

ShippingMethodAgentServiceCode

Gets or sets the shipping method agent sercice code.

public string ShippingMethodAgentServiceCode { get; set; }

Property Value

string

ShippingMethodCode

Gets or sets the shipping method Code.

public string ShippingMethodCode { get; set; }

Property Value

string

ShippingMethodCountryCode

Gets or sets the shipping method country code.

public string ShippingMethodCountryCode { get; set; }

Property Value

string

ShippingMethodDescription

Gets or sets the shipping method description.

public string ShippingMethodDescription { get; set; }

Property Value

string

ShippingMethodId

Gets or sets the shipping method ID.

public string ShippingMethodId { get; set; }

Property Value

string

ShippingProviderErrors

Gets the shipping provider errors.

public List<string> ShippingProviderErrors { get; }

Property Value

List<string>

ShippingProviderValues

Gets the shipping provider values.

public Dictionary<string, object> ShippingProviderValues { get; }

Property Value

Dictionary<string, object>

ShippingProviderWarnings

Gets the shipping provider warnings.

public List<string> ShippingProviderWarnings { get; }

Property Value

List<string>

ShopId

Gets or sets the shop ID where the order was sold.

public string ShopId { get; set; }

Property Value

string

ShopName

Gets or sets the shop name where the order was sold.

public string ShopName { get; set; }

Property Value

string

StateId

Gets or sets the order state ID e.g. Completed, New, Important etc.

public string StateId { get; set; }

Property Value

string

TaxProviderErrors

Gets the tax provider errors.

public List<string> TaxProviderErrors { get; }

Property Value

List<string>

TaxTransactionNumber

Gets or sets the tax transaction number.

public string TaxTransactionNumber { get; set; }

Property Value

string

TotalDiscount

Gets the total discount.

public PriceInfo TotalDiscount { get; }

Property Value

PriceInfo

TotalOrderDiscount

Gets the total discount.

public PriceInfo TotalOrderDiscount { get; }

Property Value

PriceInfo

TotalPoints

Points for redeem.

public double? TotalPoints { get; }

Property Value

double?

TotalPriceWithoutDiscounts

Gets the total price without discounts.

public PriceInfo TotalPriceWithoutDiscounts { get; }

Property Value

PriceInfo

TotalPriceWithoutDiscountsFeesAndTaxes

Gets the total price without discounts, fees and taxes.

public PriceInfo TotalPriceWithoutDiscountsFeesAndTaxes { get; }

Property Value

PriceInfo

TotalPriceWithoutDiscountsOrTaxes

Gets the total price without discounts or taxes.

public PriceInfo TotalPriceWithoutDiscountsOrTaxes { get; }

Property Value

PriceInfo

TotalPriceWithoutFees

Gets the total price without discounts, fees and taxes.

public PriceInfo TotalPriceWithoutFees { get; }

Property Value

PriceInfo

TotalPriceWithoutFeesAndTaxes

Gets the total price without fees and taxes.

public PriceInfo TotalPriceWithoutFeesAndTaxes { get; }

Property Value

PriceInfo

TotalPriceWithoutOrderDiscountsAndFees

Gets the total price without orderdiscounts and fees. This is the subtotal of all products with discounts, but without any order discounts

public PriceInfo TotalPriceWithoutOrderDiscountsAndFees { get; }

Property Value

PriceInfo

TotalPriceWithoutOrderDiscountsAndFeesAndTaxes

Gets the total price without order discounts, fees and taxes. This is the subtotal of all products with discounts, but without any order discounts, fees and taxes.

public PriceInfo TotalPriceWithoutOrderDiscountsAndFeesAndTaxes { get; }

Property Value

PriceInfo

TotalPriceWithoutTaxes

Gets the total price without taxes.

public PriceInfo TotalPriceWithoutTaxes { get; }

Property Value

PriceInfo

TotalPriceWithoutVatFormatted

Gets the total price without VAT string in currency format.

public string TotalPriceWithoutVatFormatted { get; }

Property Value

string

TotalProductDiscount

Gets the total discount.

public PriceInfo TotalProductDiscount { get; }

Property Value

PriceInfo

TotalTax

public PriceInfo TotalTax { get; }

Property Value

PriceInfo

TrackTrace

Gets the track trace. Track & Trace property allows determining current and previous locations of purchased items and other statuses of cargo in transit.

public TrackAndTrace TrackTrace { get; }

Property Value

TrackAndTrace

TrackTraceId

Gets or sets the track trace ID. Track & Trace property allows determining the current and previous locations of purchased items and other statuses of cargo in transit.

public int TrackTraceId { get; set; }

Property Value

int

TrackTraceName

Gets or sets the and track trace name.

public string TrackTraceName { get; set; }

Property Value

string

TrackTraceNumber

Gets or sets the track trace number (obsolete).

public string TrackTraceNumber { get; set; }

Property Value

string

TrackTraceParameters

Gets or sets the track trace parameters. Track & Trace property allows determining the current and previous locations of purchased items and other statuses of cargo in transit.

public string TrackTraceParameters { get; set; }

Property Value

string

TrackTraceUrl

Gets or sets the track trace URL. Track & Trace property allows determining the current and previous locations of purchased items and other statuses of cargo in transit.

public string TrackTraceUrl { get; }

Property Value

string

TransactionAmount

Gets or sets the transaction amount.

public double TransactionAmount { get; set; }

Property Value

double

TransactionCardNumber

Gets or sets the payment card number.

public string TransactionCardNumber { get; set; }

Property Value

string

TransactionCardType

Gets or sets the payment card type.

public string TransactionCardType { get; set; }

Property Value

string

TransactionMailSend

Gets or sets a value indicating whether the mail with transaction state was sent to customer.

public bool TransactionMailSend { get; set; }

Property Value

bool

TransactionNumber

Gets or sets the payment gateway transaction number.

public string TransactionNumber { get; set; }

Property Value

string

TransactionPayGatewayCode

Gets or sets the transaction payment gateway code.

public string TransactionPayGatewayCode { get; set; }

Property Value

string

TransactionStatus

Gets or sets the payment gateway transaction status (succeeded, canceled, failed etc).

public string TransactionStatus { get; set; }

Property Value

string

TransactionToken

Get or set the payment transaction token.

public string TransactionToken { get; set; }

Property Value

string

TransactionTokenCheckSum

Gets the token check sum.

public string TransactionTokenCheckSum { get; }

Property Value

string

TransactionType

Gets or sets the transaction type.

public string TransactionType { get; set; }

Property Value

string

TransactionValue

Gets or sets the transaction value.

public string TransactionValue { get; set; }

Property Value

string

Vat

Gets or sets the VAT.

public double Vat { get; set; }

Property Value

double

VatCountry

public Country VatCountry { get; set; }

Property Value

Country

VisitorSessionDate

Gets the created date of this experiment.

public DateTime VisitorSessionDate { get; }

Property Value

DateTime

VisitorSessionId

Gets or sets the ID of the visitor's session that corresponds to the visitor that this order is associated with.

public string VisitorSessionId { get; set; }

Property Value

string

Volume

Gets the total volume of the ordered products.

public double Volume { get; }

Property Value

double

VoucherCode

Gets or sets the Order Voucher code used to activate voucher discount.

public string VoucherCode { get; set; }

Property Value

string

VoucherUseType

Gets or sets the Order value indicates where Voucher code is used.

public VoucherUseCategoryType VoucherUseType { get; set; }

Property Value

VoucherUseCategoryType

Weight

Gets the total weight of the ordered products.

public double Weight { get; }

Property Value

double

Methods

GetBoughtGiftCards()

Gets the Order GiftCards if any are bought.

public IEnumerable<GiftCard> GetBoughtGiftCards()

Returns

IEnumerable<GiftCard>

GetCheckoutHandler()

Gets the selected checkout handler (CartV2).

public CheckoutHandler GetCheckoutHandler()

Returns

CheckoutHandler

GetIsCaptureSupported()

Return "true" if the payment method of this order supports remote capture feature. Capturing an order allows to withdraw or cancel payment directly while order placement. In this case, user does not need to log in the gateway administration system to be able to cancel the order.

public bool GetIsCaptureSupported()

Returns

bool

GetIsCartEditable()

Gets or sets a value indicating whether this order could be edited while it is in a cart.

public bool GetIsCartEditable()

Returns

bool

true if this instance is could be edited while it is in a cart; otherwise, false.

GetIsPartialCaptureSupported()

Return "true" if the payment method of this order supports remote capture feature. Capturing an order allows to withdraw or cancel payment directly while order placement. In this case, user does not need to log in the gateway administration system to be able to cancel the order.

public bool GetIsPartialCaptureSupported()

Returns

bool

GetParentOrderLineQuantityCount(OrderLineCollection)

Gets the parent order line quantity count. Does not count lines of the parent product parts.

public double GetParentOrderLineQuantityCount(OrderLineCollection orderLines)

Parameters

orderLines OrderLineCollection

Order lines

Returns

double

GetParentProductLineQuantityCount(OrderLineCollection)

Gets the parent product line quantity counts. Does not include lines with discounts and parent product parts.

public double GetParentProductLineQuantityCount(OrderLineCollection orderLines)

Parameters

orderLines OrderLineCollection

Order lines

Returns

double

GetPriceContext()

Gets price context information for the order.

public PriceContext GetPriceContext()

Returns

PriceContext

GetPriceProductSelections()

Gets product selections for the order.

public IEnumerable<PriceProductSelection> GetPriceProductSelections()

Returns

IEnumerable<PriceProductSelection>

IsVatCountrySetByUser()

public bool IsVatCountrySetByUser()

Returns

bool

PreparePrices()

public void PreparePrices()
To top