SaaS CMS has officially launched! Learn more now.

Class InventoryResponse

Represents a response from a call to Request(InventoryRequest).

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

Constructors

InventoryResponse()

Creates a new instance of InventoryResponse.

Declaration
public InventoryResponse()

InventoryResponse(InventoryResponse)

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

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

The InventoryResponse to copy.

InventoryResponse(Boolean, DateTime, IList<InventoryResponseItem>, Object)

Creates a new instance of InventoryResponse with the specified values.

Declaration
public InventoryResponse(bool isSuccess, DateTime requestDateUtc, IList<InventoryResponseItem> items, object context)
Parameters
Type Name Description
System.Boolean isSuccess

The value for .

System.DateTime requestDateUtc

The value for .

System.Collections.Generic.IList<InventoryResponseItem> items

The value for .

System.Object context

The value for .

Properties

Context

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

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

IsSuccess

Gets or sets a value indicating if the overall operation was a success.

Declaration
public virtual bool IsSuccess { get; set; }
Property Value
Type Description
System.Boolean

Items

Gets or sets a collection of responses for each item in the request.

Declaration
public virtual IList<InventoryResponseItem> Items { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<InventoryResponseItem>

RequestDateUtc

Gets or sets the request date, in UTC. This will be the same request date as specified in the request.

Declaration
public virtual DateTime RequestDateUtc { get; set; }
Property Value
Type Description
System.DateTime