Table of Contents

Class StockUnitDetail

Namespace
Dynamicweb.Ecommerce.Stocks
Assembly
Dynamicweb.Ecommerce.dll
public class StockUnitDetail : StockUnitDetailIdentifier
Inheritance
StockUnitDetail
Inherited Members

Methods

AddQuantity(StockUnitDetailQuantity)

public void AddQuantity(StockUnitDetailQuantity quantity)

Parameters

quantity StockUnitDetailQuantity

AddQuantity(string, int)

public void AddQuantity(string variantId, int quantity)

Parameters

variantId string
quantity int

GetQuantities()

public ICollection<StockUnitDetailQuantity> GetQuantities()

Returns

ICollection<StockUnitDetailQuantity>

RemoveQuantity(string)

public void RemoveQuantity(string variantId)

Parameters

variantId string

TryGet(string, out StockUnitDetailQuantity)

public bool TryGet(string variantId, out StockUnitDetailQuantity quantity)

Parameters

variantId string
quantity StockUnitDetailQuantity

Returns

bool
To top