November Happy Hour will be moved to Thursday December 5th.

Class InventoryChange

Represents an additive change to an InventoryRecord.

Inheritance
System.Object
InventoryChange
Implements
EPiServer.Data.Entity.IReadOnly<InventoryKey>
EPiServer.Data.Entity.IReadOnly<InventoryChange>
EPiServer.Data.Entity.IReadOnly
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.InventoryService
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class InventoryChange : InventoryKey, IReadOnly<InventoryKey>, IReadOnly<InventoryChange>, IReadOnly

Constructors

InventoryChange()

Creates a new instance of InventoryChange with default values.

Declaration
public InventoryChange()

InventoryChange(InventoryChange)

Creates a new instance of InventoryChange as a deep copy of other.

Declaration
public InventoryChange(InventoryChange other)
Parameters
Type Name Description
InventoryChange other

The InventoryChange to copy.

InventoryChange(String, String, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal)

Creates a new instance of InventoryChange with the specified values.

Declaration
public InventoryChange(string catalogEntryCode, string warehouseCode, decimal purchaseAvailableChange, decimal preorderAvailableChange, decimal backorderAvailableChange, decimal purchaseRequestedChange, decimal preorderRequestedChange, decimal backorderRequestedChange)
Parameters
Type Name Description
System.String catalogEntryCode

The value for CatalogEntryCode.

System.String warehouseCode

The value for WarehouseCode.

System.Decimal purchaseAvailableChange

The value for PurchaseAvailableChange.

System.Decimal preorderAvailableChange

The value for PreorderAvailableChange.

System.Decimal backorderAvailableChange

The value for BackorderAvailableChange.

System.Decimal purchaseRequestedChange

The value for PurchaseRequestedChange.

System.Decimal preorderRequestedChange

The value for PreorderRequestedChange.

System.Decimal backorderRequestedChange

The value for BackorderRequestedChange.

Properties

BackorderAvailableChange

Gets or sets the value to add to BackorderAvailableQuantity.

Declaration
public virtual decimal BackorderAvailableChange { get; set; }
Property Value
Type Description
System.Decimal

BackorderRequestedChange

Gets or sets the value to add to BackorderRequestedQuantity.

Declaration
public virtual decimal BackorderRequestedChange { get; set; }
Property Value
Type Description
System.Decimal

PreorderAvailableChange

Gets or sets the value to add to PreorderAvailableQuantity.

Declaration
public virtual decimal PreorderAvailableChange { get; set; }
Property Value
Type Description
System.Decimal

PreorderRequestedChange

Gets or sets the value to add to PreorderRequestedQuantity.

Declaration
public virtual decimal PreorderRequestedChange { get; set; }
Property Value
Type Description
System.Decimal

PurchaseAvailableChange

Gets or sets the value to add to PurchaseAvailableQuantity.

Declaration
public virtual decimal PurchaseAvailableChange { get; set; }
Property Value
Type Description
System.Decimal

PurchaseRequestedChange

Gets or sets the value to add to PurchaseRequestedQuantity.

Declaration
public virtual decimal PurchaseRequestedChange { get; set; }
Property Value
Type Description
System.Decimal

Methods

CreateWritableClone()

Creates a writable copy of the current object.

Declaration
public InventoryChange CreateWritableClone()
Returns
Type Description
InventoryChange

A writable copy of the current object.

Remarks

The cloning is a deep-copy.

Implements

EPiServer.Data.Entity.IReadOnly<>
EPiServer.Data.Entity.IReadOnly<>
EPiServer.Data.Entity.IReadOnly