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
Properties
AddressValidatorResults
Gets the address validator results.
public List<AddressValidatorResult> AddressValidatorResults { get; set; }
Property Value
AllowOverridePaymentFee
Indicated whether payment fee is overridden and not calculated
public bool AllowOverridePaymentFee { get; set; }
Property Value
AllowOverridePrices
Indicated whether Price is overridden and not calculated. Used to set explicit PriceInfo values.
public bool AllowOverridePrices { get; set; }
Property Value
AllowOverrideShippingFee
Indicated whether shipping fee is overridden and not calculated
public bool AllowOverrideShippingFee { get; set; }
Property Value
AutoId
Gets the Order Auto ID.
public int AutoId { get; }
Property Value
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
CaptureInfo
Gets or sets the capture info.
public OrderCaptureInfo CaptureInfo { get; set; }
Property Value
CheckoutPageId
Gets or sets the PageID where was checkout step.
public int CheckoutPageId { get; set; }
Property Value
Comment
Gets or sets the comment.
public string Comment { get; set; }
Property Value
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
Currency
Gets the currency.
public Currency Currency { get; }
Property Value
CurrencyCode
Gets or sets the currency code.
public string CurrencyCode { get; set; }
Property Value
CurrencyName
Gets or sets the currency name.
public string CurrencyName { get; set; }
Property Value
CurrencyRate
Gets or sets the currency rate on the order creation date.
public double CurrencyRate { 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
.
CustomerAccessUserId
Gets or sets the customer access user ID.
public int CustomerAccessUserId { get; set; }
Property Value
CustomerAccessUserUserName
Gets or sets the customer access user name.
public string CustomerAccessUserUserName { get; set; }
Property Value
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.
public string CustomerEan { get; set; }
Property Value
CustomerEmail
Gets or sets the customer email.
public string CustomerEmail { get; set; }
Property Value
CustomerFax
Gets or sets the customer fax.
public string CustomerFax { 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 customer 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
CustomerVatRegNumber
Gets or sets the customer VAT registration number.
public string CustomerVatRegNumber { get; set; }
Property Value
CustomerZip
Gets or sets the customer zip code.
public string CustomerZip { get; set; }
Property Value
Date
Gets or sets the order creation date.
public DateTime Date { get; set; }
Property Value
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
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
DeliveryFax
Gets or sets the delivery fax.
public string DeliveryFax { 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
DisableDiscountCalculation
public bool DisableDiscountCalculation { get; set; }
Property Value
DiscountAmount
Gets or sets the discount amount that can be used for custom discounts on the order
public double DiscountAmount { get; set; }
Property Value
DiscountPercentage
Gets or sets the discount percentage that can be used for custom discounts on the order
public double DiscountPercentage { get; set; }
Property Value
DisplayName
Gets or sets the order name
public string DisplayName { get; set; }
Property Value
DoSaveCardToken
Gets or sets the value indicating whether to save card.
public bool DoSaveCardToken { get; set; }
Property Value
Errors
Gets or sets the errors.
public ICollection<string> Errors { get; set; }
Property Value
ExternalPaymentFee
Get or set the external payment fee.
public double ExternalPaymentFee { get; set; }
Property Value
GatewayPaymentStatus
Gets or sets the gateway payment status(Paid, Rejected etc).
public string GatewayPaymentStatus { get; set; }
Property Value
GatewayResult
Gets or sets the result from the payment gateway.
public string GatewayResult { get; set; }
Property Value
GatewayTransactionProblems
Gets the gateway transaction problems.
public List<string> GatewayTransactionProblems { get; }
Property Value
GiftCardTransactionFailed
Gets or sets the Order GiftCard transactions failed status.
public bool GiftCardTransactionFailed { get; set; }
Property Value
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
Id
Gets or sets the Order ID.
public string Id { get; set; }
Property Value
InfoDirectProviderErrors
Gets the Info Direct service errors.
public List<string> InfoDirectProviderErrors { get; }
Property Value
IntegrationOrderId
Gets or sets the integration order ID.
public string IntegrationOrderId { get; set; }
Property Value
Ip
Gets or sets the customer's IP.
public string Ip { get; set; }
Property Value
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
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
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
Language
public Language Language { get; }
Property Value
LanguageId
Gets or sets the order language ID.
public string LanguageId { get; set; }
Property Value
LedgerType
Gets or sets the ledger type.
public string LedgerType { get; set; }
Property Value
Modified
Gets or sets the date when order was modified.
public DateTime Modified { get; }
Property Value
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
OrderFieldValues
Gets or sets the custom order field values.
public OrderFieldValueCollection OrderFieldValues { get; set; }
Property Value
OrderLines
Gets the collection of all order lines.
public OrderLineCollection OrderLines { get; }
Property Value
OrderState
Gets the current order state, e.g. Completed, New, Important etc.
public OrderState OrderState { get; }
Property Value
ParentOrderId
Gets or sets the parent Order ID.
public string ParentOrderId { get; set; }
Property Value
PaymentCountrySelection
Gets or sets the country for shipping.
public CountrySelectionForMethod PaymentCountrySelection { get; set; }
Property Value
PaymentFee
Gets the payment fee.
public PriceInfo PaymentFee { get; }
Property Value
PaymentMethod
Gets or sets the payment method name.
public string PaymentMethod { get; set; }
Property Value
PaymentMethodCode
Gets or sets the payment method Code.
public string PaymentMethodCode { get; set; }
Property Value
PaymentMethodDescription
Gets or sets the payment method description.
public string PaymentMethodDescription { get; set; }
Property Value
PaymentMethodId
Gets or sets the payment method ID.
public string PaymentMethodId { get; set; }
Property Value
PaymentMethodTermsCode
Gets or sets the payment method terms code.
public string PaymentMethodTermsCode { get; set; }
Property Value
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
PointsToUse
Gets or sets the amount of loyalty points to use for pay.
public double PointsToUse { get; set; }
Property Value
Price
Gets the price, including payment and shipping fees.
public PriceInfo Price { get; }
Property Value
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
ProductOrderLines
Gets an OrderLineCollection containing all OrderLine objects where OrderLine.Product is not null.
public OrderLineCollection ProductOrderLines { get; }
Property Value
Remarks
Order lines with gift card product are not included
Products
Gets the collection of all ordered products.
public ProductCollection Products { get; }
Property Value
Remarks
Gift card products are not included
ReSendEmail
Gets or sets the resend email.
public string ReSendEmail { get; set; }
Property Value
ReceiptShowCount
Gets or sets the count of receipt was shown.
public int ReceiptShowCount { get; set; }
Property Value
RecurringOrderId
Gets or sets the Order recurring order ID.
public int RecurringOrderId { get; set; }
Property Value
Reference
Gets or sets the reference.
public string Reference { get; set; }
Property Value
Referrer
Gets or sets the referrer.
public string Referrer { get; set; }
Property Value
Requisition
Gets or sets the requisition.
public string Requisition { get; set; }
Property Value
ReturnOperations
Gets or sets the order return operations as collection of OrderReturnInfo.
public IEnumerable<OrderReturnInfo> ReturnOperations { get; set; }
Property Value
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
SalesDiscount
Gets or sets the sales discount.
public double SalesDiscount { get; set; }
Property Value
SavedCardDraftName
Gets or sets the name for saved card to be created.
public string SavedCardDraftName { get; set; }
Property Value
SavedCardId
Gets or sets the ID of saved card.
public int SavedCardId { get; set; }
Property Value
SecondaryUserId
Gets or sets the identifier of the impersonating user.
public int SecondaryUserId { get; set; }
Property Value
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
ShippingCountrySelection
Gets or sets the shipping country.
public CountrySelectionForMethod ShippingCountrySelection { get; set; }
Property Value
ShippingDate
Gets or sets the shipping date.
public DateTime? ShippingDate { get; set; }
Property Value
ShippingDocumentValues
Gets the shipping document values.
public Dictionary<string, object> ShippingDocumentValues { get; }
Property Value
ShippingFee
Gets the shipping fee.
public PriceInfo ShippingFee { get; }
Property Value
ShippingMethod
Gets or sets the shipping method.
public string ShippingMethod { get; set; }
Property Value
ShippingMethodAgentCode
Gets or sets the shipping method agent code.
public string ShippingMethodAgentCode { get; set; }
Property Value
ShippingMethodAgentServiceCode
Gets or sets the shipping method agent sercice code.
public string ShippingMethodAgentServiceCode { get; set; }
Property Value
ShippingMethodCode
Gets or sets the shipping method Code.
public string ShippingMethodCode { get; set; }
Property Value
ShippingMethodCountryCode
Gets or sets the shipping method country code.
public string ShippingMethodCountryCode { get; set; }
Property Value
ShippingMethodDescription
Gets or sets the shipping method description.
public string ShippingMethodDescription { get; set; }
Property Value
ShippingMethodId
Gets or sets the shipping method ID.
public string ShippingMethodId { get; set; }
Property Value
ShippingProviderErrors
Gets the shipping provider errors.
public List<string> ShippingProviderErrors { get; }
Property Value
ShippingProviderValues
Gets the shipping provider values.
public Dictionary<string, object> ShippingProviderValues { get; }
Property Value
ShippingProviderWarnings
Gets the shipping provider warnings.
public List<string> ShippingProviderWarnings { get; }
Property Value
ShopId
Gets or sets the shop ID where the order was sold.
public string ShopId { get; set; }
Property Value
ShopName
Gets or sets the shop name where the order was sold.
public string ShopName { get; set; }
Property Value
StateId
Gets or sets the order state ID e.g. Completed, New, Important etc.
public string StateId { get; set; }
Property Value
TaxProviderErrors
Gets the tax provider errors.
public List<string> TaxProviderErrors { get; }
Property Value
TaxTransactionNumber
Gets or sets the tax transaction number.
public string TaxTransactionNumber { get; set; }
Property Value
TotalDiscount
Gets the total discount.
public PriceInfo TotalDiscount { get; }
Property Value
TotalOrderDiscount
Gets the total discount.
public PriceInfo TotalOrderDiscount { get; }
Property Value
TotalPoints
Points for redeem.
public double? TotalPoints { get; }
Property Value
TotalPriceWithoutDiscounts
Gets the total price without discounts.
public PriceInfo TotalPriceWithoutDiscounts { get; }
Property Value
TotalPriceWithoutDiscountsFeesAndTaxes
Gets the total price without discounts, fees and taxes.
public PriceInfo TotalPriceWithoutDiscountsFeesAndTaxes { get; }
Property Value
TotalPriceWithoutDiscountsOrTaxes
Gets the total price without discounts or taxes.
public PriceInfo TotalPriceWithoutDiscountsOrTaxes { get; }
Property Value
TotalPriceWithoutFees
Gets the total price without discounts, fees and taxes.
public PriceInfo TotalPriceWithoutFees { get; }
Property Value
TotalPriceWithoutFeesAndTaxes
Gets the total price without fees and taxes.
public PriceInfo TotalPriceWithoutFeesAndTaxes { get; }
Property Value
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
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
TotalPriceWithoutTaxes
Gets the total price without taxes.
public PriceInfo TotalPriceWithoutTaxes { get; }
Property Value
TotalPriceWithoutVatFormatted
Gets the total price without VAT string in currency format.
public string TotalPriceWithoutVatFormatted { get; }
Property Value
TotalProductDiscount
Gets the total discount.
public PriceInfo TotalProductDiscount { get; }
Property Value
TotalTax
public PriceInfo TotalTax { get; }
Property Value
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
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
TrackTraceName
Gets or sets the and track trace name.
public string TrackTraceName { get; set; }
Property Value
TrackTraceNumber
Gets or sets the track trace number (obsolete).
public string TrackTraceNumber { get; set; }
Property Value
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
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
TransactionAmount
Gets or sets the transaction amount.
public double TransactionAmount { get; set; }
Property Value
TransactionCardNumber
Gets or sets the payment card number.
public string TransactionCardNumber { get; set; }
Property Value
TransactionCardType
Gets or sets the payment card type.
public string TransactionCardType { get; set; }
Property Value
TransactionMailSend
Gets or sets a value indicating whether the mail with transaction state was sent to customer.
public bool TransactionMailSend { get; set; }
Property Value
TransactionNumber
Gets or sets the payment gateway transaction number.
public string TransactionNumber { get; set; }
Property Value
TransactionPayGatewayCode
Gets or sets the transaction payment gateway code.
public string TransactionPayGatewayCode { get; set; }
Property Value
TransactionStatus
Gets or sets the payment gateway transaction status (succeeded, canceled, failed etc).
public string TransactionStatus { get; set; }
Property Value
TransactionToken
Get or set the payment transaction token.
public string TransactionToken { get; set; }
Property Value
TransactionTokenCheckSum
Gets the token check sum.
public string TransactionTokenCheckSum { get; }
Property Value
TransactionType
Gets or sets the transaction type.
public string TransactionType { get; set; }
Property Value
TransactionValue
Gets or sets the transaction value.
public string TransactionValue { get; set; }
Property Value
Vat
Gets or sets the VAT.
public double Vat { get; set; }
Property Value
VatCountry
public Country VatCountry { get; set; }
Property Value
VisitorSessionDate
Gets the created date of this experiment.
public DateTime VisitorSessionDate { get; }
Property Value
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
Volume
Gets the total volume of the ordered products.
public double Volume { get; }
Property Value
VoucherCode
Gets or sets the Order Voucher code used to activate voucher discount.
public string VoucherCode { get; set; }
Property Value
VoucherUseType
Gets or sets the Order value indicates where Voucher code is used.
public VoucherUseCategoryType VoucherUseType { get; set; }
Property Value
Weight
Gets the total weight of the ordered products.
public double Weight { get; }
Property Value
Methods
GetBoughtGiftCards()
Gets the Order GiftCards if any are bought.
public IEnumerable<GiftCard> GetBoughtGiftCards()
Returns
GetCheckoutHandler()
Gets the selected checkout handler (CartV2).
public CheckoutHandler GetCheckoutHandler()
Returns
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
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
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
OrderLineCollectionOrder lines
Returns
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
OrderLineCollectionOrder lines
Returns
GetPriceContext()
Gets price context information for the order.
public PriceContext GetPriceContext()
Returns
GetPriceProductSelections()
Gets product selections for the order.
public IEnumerable<PriceProductSelection> GetPriceProductSelections()
Returns
IsVatCountrySetByUser()
public bool IsVatCountrySetByUser()
Returns
PreparePrices()
public void PreparePrices()