Class OrderState
- Namespace
- Dynamicweb.Ecommerce.Orders
- Assembly
- Dynamicweb.Ecommerce.dll
Represents information about order state.
- Inheritance
-
Order
State
- Inherited Members
Constructors
OrderState()
Initializes a new instance of the Order
Properties
AllowEdit
Gets or sets a value indicating whether a quote in this quote state can be edited in the frontend using the cart.
Property Value
AllowOrder
Gets or sets a value indicating whether this instance ordering is allowed.
Property Value
Color
Gets or sets the color as HEX code
Property Value
CustomRecipientField
Gets or sets the custom recipient field.
Property Value
DefaultDescription
Gets or sets the default description.
Property Value
DefaultName
Gets or sets the default name.
Property Value
DontUseInStatistics
Gets or sets a value indicating whether don't use in statistics.
Property Value
- bool
true
if don't use in statistics; otherwise,false
.
Id
Gets or sets the ID.
Property Value
- string
The ID.
IsDefault
Gets or sets a value indicating whether this instance is default.
Property Value
- bool
true
if this instance is default; otherwise,false
.
IsDeleted
Gets or sets a value indicating whether this instance is deleted.
Property Value
- bool
true
if this instance is deleted; otherwise,false
.
MailSender
Gets or sets the mail sender.
Property Value
MailSenderName
Gets or sets the mail sender name.
Property Value
MailSubject
Gets or sets the mail subject.
Property Value
MailTemplate
Gets or sets the mail template.
Property Value
OrderFlowId
Gets or sets the order flow id.
Property Value
OrderType
Gets or sets the order type.
Property Value
OthersMailTemplate
Gets or sets the others mail template.
Property Value
OthersRecipients
Gets or sets the others recipients.
Property Value
RulesFrom
Rules which defines the quote can move to current state from
Property Value
RulesTo
Rules which defines the quote can move from current state to
Property Value
SendToCustomer
Gets or sets a value indicating whether this instance is sent to customer.
Property Value
SendToDeliveryEmail
Gets or sets a value indicating whether this instance is sent to delivery email.
Property Value
SendToField
Gets or sets a value indicating whether this instance is sent to field for email recipient
Property Value
SortOrder
Gets or sets the sort order.
Property Value
Translations
Gets the translations.
Property Value
Methods
Clone()
Clones this instance.
Returns
Copy()
Copies this instance.
Returns
GetDescription(string)
Gets the description of the order state for the given language.
Parameters
languageId
stringLanguage id
Returns
GetName(string)
Gets the name of the order state for the given language.
Parameters
languageId
stringLanguage id
Returns
SetDescription(string, string)
Sets the description of the order state for the given language.
Parameters
SetName(string, string)
Sets the name of the order state for the given language.