Class InventoryRequest
Represents a request for the inventory system.
Inheritance
System.Object
    InventoryRequest
  Namespace: Mediachase.Commerce.InventoryService
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public class InventoryRequest : ObjectConstructors
InventoryRequest()
Creates an instance of InventoryRequest.
Declaration
public InventoryRequest()InventoryRequest(InventoryRequest)
Creates a new instance of InventoryRequest as a deep copy of another InventoryRequest.
Declaration
public InventoryRequest(InventoryRequest other)Parameters
| Type | Name | Description | 
|---|---|---|
| InventoryRequest | other | The InventoryRequest to copy. | 
InventoryRequest(DateTime, IList<InventoryRequestItem>, Object)
Creates a new instance of InventoryRequest with the specified values.
Declaration
public InventoryRequest(DateTime requestDateUtc, IList<InventoryRequestItem> items, object context)Parameters
| Type | Name | Description | 
|---|---|---|
| System.DateTime | requestDateUtc | The value for RequestDateUtc. | 
| System.Collections.Generic.IList<InventoryRequestItem> | items | The value for Items. | 
| System.Object | context | The value for Context. | 
Properties
Context
Gets or sets additional provider-specific data for the request.
Declaration
public virtual object Context { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Object | 
Items
Gets or sets a collection of InventoryRequestItem values.
Declaration
public virtual IList<InventoryRequestItem> Items { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IList<InventoryRequestItem> | 
RequestDateUtc
Gets or sets the request date, in UTC.
Declaration
public virtual DateTime RequestDateUtc { get; set; }Property Value
| Type | Description | 
|---|---|
| System.DateTime | 
