Table of Contents

Class StockStatus

Namespace
Dynamicweb.Ecommerce.Stocks
Assembly
Dynamicweb.Ecommerce.dll

Represents the stock status.

[Serializable]
public class StockStatus
Inheritance
StockStatus
Inherited Members

Properties

Definition

Gets or sets the definition.

public string Definition { get; set; }

Property Value

string

GroupId

Gets or sets the group id.

public string GroupId { get; set; }

Property Value

string

Icon

Gets or sets the icon.

public string Icon { get; set; }

Property Value

string

Id

Gets or sets the id.

public string Id { get; set; }

Property Value

string

NeverOutOfStock

Gets or sets value indicating whether the status is never out of stock.

public bool NeverOutOfStock { get; set; }

Property Value

bool

Rate

Gets or sets the rate.

public double Rate { get; set; }

Property Value

double

Translations

Gets the translations.

public TranslationCollection<StockStatusTranslation> Translations { get; }

Property Value

TranslationCollection<StockStatusTranslation>

Methods

Clone()

Clones the stock status.

public StockStatus Clone()

Returns

StockStatus

New instance of the StockStatus.

GetExpectedDeliveryText(string)

Gets the stock status expected delivery text for a given language.

public string GetExpectedDeliveryText(string languageId)

Parameters

languageId string

The language ID.

Returns

string

The translation value.

GetExpectedDeliveryValue(string)

Gets the stock status expected delivery value for a given language.

public string GetExpectedDeliveryValue(string languageId)

Parameters

languageId string

The language ID.

Returns

string

The translation value.

GetText(string)

Gets the stock status text for a given language.

public string GetText(string languageId)

Parameters

languageId string

The language ID.

Returns

string

The translation value.

SetExpectedDeliveryText(string, string)

Sets the stock status expected delivery text for a given language.

public void SetExpectedDeliveryText(string deliveryText, string languageId)

Parameters

deliveryText string

The translation value to set.

languageId string

The language ID.

SetExpectedDeliveryValue(string, string)

Sets the stock status expected delivery value for a given language.

public void SetExpectedDeliveryValue(string deliveryValue, string languageId)

Parameters

deliveryValue string

The translation value to set.

languageId string

The language ID.

SetText(string, string)

Sets the stock status text for a given language.

public void SetText(string text, string languageId)

Parameters

text string

The translation value to set.

languageId string

The language ID.

To top