Class InventoryRequestItem

Represents one item in an InventoryRequest.

Inheritance
System.Object
InventoryRequestItem
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: 10.8.0
Syntax
public class InventoryRequestItem

Constructors

InventoryRequestItem()

Creates a new instance of InventoryRequestItem.

Declaration
public InventoryRequestItem()

InventoryRequestItem(InventoryRequestItem)

Creates a new instance of InventoryRequestItem as a deep copy of another InventoryRequestItem.

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

The InventoryRequestItem to copy.

InventoryRequestItem(Int32, InventoryRequestType, String, String, Decimal, String, Object)

Creates a new instance of InventoryRequestItem with the specified values.

Declaration
public InventoryRequestItem(int itemIndex, InventoryRequestType requestType, string catalogEntryCode, string warehouseCode, decimal quantity, string operationKey, object context)
Parameters
Type Name Description
System.Int32 itemIndex

The value for ItemIndex.

InventoryRequestType requestType

The value for RequestType.

System.String catalogEntryCode

The value for CatalogEntryCode.

System.String warehouseCode

The value for WarehouseCode.

System.Decimal quantity

The value for Quantity.

System.String operationKey

The value for OperationKey.

System.Object context

The value for Context.

Properties

CatalogEntryCode

Gets or sets the requested catalog entry code.

Declaration
public virtual string CatalogEntryCode { get; set; }
Property Value
Type Description
System.String
Remarks

The catalog entry code is ignored in completion, cancellation, and backorder redemption requests.

Context

Gets or sets additional provider-specific data for the request.

Declaration
public virtual object Context { get; set; }
Property Value
Type Description
System.Object

ItemIndex

Gets or sets the item index. Used to correlate request items with response items.

Declaration
public virtual int ItemIndex { get; set; }
Property Value
Type Description
System.Int32

OperationKey

Gets or sets an optional operation key to correlate this request with a previous request.

Declaration
public virtual string OperationKey { get; set; }
Property Value
Type Description
System.String

Quantity

Gets or sets the requested quantity.

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

The quantity is ignored in completion, cancellation, and backorder redemption requests.

RequestType

Gets or sets the request type. This may be Purchase or Backorder.

Declaration
public virtual InventoryRequestType RequestType { get; set; }
Property Value
Type Description
InventoryRequestType

WarehouseCode

Gets or sets the code of the warehouse to request inventory from.

Declaration
public virtual string WarehouseCode { get; set; }
Property Value
Type Description
System.String
Remarks

The warehouse code is ignored in completion, cancellation, and backorder redemption requests.