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