Table of Contents

Class OrderLineBuilderConfig

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

OrderLineBuilderConfig class. This class cannot be inherited. This class helps to build OrderLines.

public sealed class OrderLineBuilderConfig
Inheritance
OrderLineBuilderConfig
Inherited Members

Properties

AddReferenceUrl

Gets or sets a value indicating whether to add the ReferenceUrl to the OrderLine. Default value is true.

public bool AddReferenceUrl { get; set; }

Property Value

bool

true if to add the reference URL; otherwise, false.

AddToCart

Gets or sets a value indicating whether to add the specified product to the cart. Default value is true.

public bool AddToCart { get; set; }

Property Value

bool

true if product is added; otherwise, false.

FavoriteListId

Gets or sets the favorite list identifier.

public int FavoriteListId { get; set; }

Property Value

int

The favorite list identifier.

GiftCardAmount

Gets or sets the gift card amount.

public string GiftCardAmount { get; set; }

Property Value

string

The gift card amount.

OrderLineFieldValues

Gets or sets the order line field values.

public OrderLineFieldValueCollection OrderLineFieldValues { get; set; }

Property Value

OrderLineFieldValueCollection

The order line field values.

OrderLineType

Gets or sets the type of the order line.

public OrderLineType OrderLineType { get; set; }

Property Value

OrderLineType

The type of the order line.

PageId

Gets or sets the page identifier.

public int PageId { get; set; }

Property Value

int

The page identifier.

ProductId

Gets or sets the product identifier.

public string ProductId { get; set; }

Property Value

string

The product identifier.

ProductName

Gets or sets the name of the product.

public string ProductName { get; set; }

Property Value

string

The name of the product.

ProductNumber

Gets or sets the product number.

public string ProductNumber { get; set; }

Property Value

string

The product number.

Quantity

Gets or sets the quantity.

public double Quantity { get; set; }

Property Value

double

The quantity.

ReferenceUrl

Gets or sets the reference URL.

public string ReferenceUrl { get; set; }

Property Value

string

The reference URL.

StockLocationId

Gets or sets the stock location.

public long StockLocationId { get; set; }

Property Value

long

UnitId

Gets or sets the unit identifier.

public string UnitId { get; set; }

Property Value

string

The unit identifier.

ValidateQuantity

Gets or sets a value indicating whether quantity is validated. If quantity is validated, any quantity value less than 1 will cause a return value of null; otherwise the quantity is set to 1.

public bool ValidateQuantity { get; set; }

Property Value

bool

true if quantity is validated; otherwise, false.

VariantId

Gets or sets the variant identifier.

public string VariantId { get; set; }

Property Value

string

The variant identifier.

VariantText

Gets or sets the variant text.

public string VariantText { get; set; }

Property Value

string

The variant text.

To top