Interface IWarehouse
Abstraction for the Warehouse concept.
Namespace: Mediachase.Commerce.Inventory
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public interface IWarehouse : IReadOnly<IWarehouse>, IReadOnly
Remarks
This abstraction is mostly redundant with the introduction of read-only support (there is only one implementation of IWarehouse and most likely there will never be more). To avoid excessive breaking changes the IReadOnly interface is added to IWarehouse rather than Warehouse which would otherwise have been more appropriate.
Properties
ApplicationId
Gets or sets the ApplicationId associated with the warehouse.
Declaration
[Obsolete("The concept of ApplicationID has been removed - ignore this property. Will remain at least until August 2018.")]
Guid ApplicationId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid | The ApplicationId. |
Code
Gets or sets the code value.
Declaration
string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The code. |
ContactInformation
Gets or sets the contact information for the warehouse.
Declaration
IWarehouseContactInformation ContactInformation { get; set; }
Property Value
Type | Description |
---|---|
IWarehouseContactInformation | The contact information for the warehouse. |
Created
Gets or sets the timestamp at which the warehouse record was created.
Declaration
DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The creation timestamp. |
CreatorId
Gets or sets the creator of the warehouse record.
Declaration
string CreatorId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The CreatorId. |
FulfillmentPriorityOrder
Gets or sets the place of the warehouse in the default order in which warehouses are used to fulfill orders.
Declaration
int FulfillmentPriorityOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The priority order. |
IsActive
Indicates whether or not the warehouse is active.
Declaration
bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean indicating whether or not the warehouse is active. |
IsDeliveryLocation
Indicates whether the warehouse is a delivery location. This means this warehouse can be used as a delivery location (i.e. for future in-store pickups).
Declaration
bool IsDeliveryLocation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean indicating whether the warehouse is a delivery location. |
IsFulfillmentCenter
Indicates whether the warehouse is a fulfillment center. This means orders can be placed from this warehouse for outgoing shipments.
Declaration
bool IsFulfillmentCenter { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean indicating whether the warehouse is a fulfillment center. |
IsPickupLocation
Indicates whether the warehouse is a pick-up location. This means orders can be placed from this warehouse for in-store pickups.
Declaration
bool IsPickupLocation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean indicating whether the warehouse is a pickup location. |
IsPrimary
Slated for obsolescence. Indicates whether or not the warehouse is the primary source for fulfillment. Superceeded by the FulfillmentPriorityOrder field.
Declaration
bool IsPrimary { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean indicating whether or not the warehouse is the primary source for fulfillment. |
Modified
Gets or sets the timestamp at which the warehouse record was most recently updated.
Declaration
DateTime Modified { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The most recent update timestamp. |
ModifierId
Gets or sets the most recent modifier of the warehouse record.
Declaration
string ModifierId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ModifierId. |
Name
Gets or sets the warehouse name.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
SortOrder
Gets or sets the sort order for display purposes.
Declaration
int SortOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The sort order. |
WarehouseId
Gets or sets the warehouse id.
Declaration
int? WarehouseId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The warehouse id. The id will be null if the object has not been persisted. |