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

Class OrderGroupActivityBase

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.Workflow.Activities
Assembly: Mediachase.Commerce.Workflow.dll
Version: 12.17.2
Syntax
public abstract class OrderGroupActivityBase : Activity

Constructors

OrderGroupActivityBase()

Declaration
protected OrderGroupActivityBase()

Properties

ContentLoader

Declaration
protected IContentLoader ContentLoader { get; }
Property Value
Type Description
EPiServer.IContentLoader

InventoryRequester

Declaration
protected InventoryRequester InventoryRequester { get; }
Property Value
Type Description
InventoryRequester

InventoryService

Declaration
protected IInventoryService InventoryService { get; }
Property Value
Type Description
IInventoryService

OrderGroup

Gets or sets the order group.

Declaration
[ActivityFlowContextProperty]
public OrderGroup OrderGroup { get; set; }
Property Value
Type Description
OrderGroup

The order group.

PriceService

Declaration
protected IPriceService PriceService { get; }
Property Value
Type Description
IPriceService

ReferenceConverter

Declaration
protected ReferenceConverter ReferenceConverter { get; }
Property Value
Type Description
ReferenceConverter

SafeBeginningOfTime

Declaration
protected DateTime SafeBeginningOfTime { get; }
Property Value
Type Description
System.DateTime

WarehouseRepository

Declaration
protected IWarehouseRepository WarehouseRepository { get; }
Property Value
Type Description
IWarehouseRepository

Warnings

Gets or sets the warnings.

Declaration
[ActivityFlowContextProperty]
public StringDictionary Warnings { get; set; }
Property Value
Type Description
System.Collections.Specialized.StringDictionary

The warnings.

Methods

AddValidationIssues(IDictionary<ILineItem, IList<ValidationIssue>>, ILineItem, ValidationIssue)

Declaration
protected void AddValidationIssues(IDictionary<ILineItem, IList<ValidationIssue>> issues, ILineItem lineItem, ValidationIssue issue)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<ILineItem, System.Collections.Generic.IList<ValidationIssue>> issues
ILineItem lineItem
ValidationIssue issue

AddWarningMessages(IDictionary<ILineItem, IList<ValidationIssue>>)

Declaration
protected void AddWarningMessages(IDictionary<ILineItem, IList<ValidationIssue>> validationIssueCollections)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<ILineItem, System.Collections.Generic.IList<ValidationIssue>> validationIssueCollections

AddWarningSafe(StringDictionary, String, String)

Declaration
protected void AddWarningSafe(StringDictionary warnings, string key, string value)
Parameters
Type Name Description
System.Collections.Specialized.StringDictionary warnings
System.String key
System.String value

GetInventoryStatus(String, String)

Declaration
protected InventoryTrackingStatus GetInventoryStatus(string entryCode, string warehouseCode)
Parameters
Type Name Description
System.String entryCode
System.String warehouseCode
Returns
Type Description
InventoryTrackingStatus

GetItemPrice(ILineItem, CustomerContact, String, MarketId)

Declaration
protected virtual Money? GetItemPrice(ILineItem lineItem, CustomerContact customerContact, string billingCurrency, MarketId marketId)
Parameters
Type Name Description
ILineItem lineItem
CustomerContact customerContact
System.String billingCurrency
MarketId marketId
Returns
Type Description
System.Nullable<Money>

InventoryTrackingEnabled(ILineItem)

Declaration
protected bool InventoryTrackingEnabled(ILineItem lineItem)
Parameters
Type Name Description
ILineItem lineItem
Returns
Type Description
System.Boolean

ValidateOrderProperties(ValidationErrorCollection)

Validates the order properties.

Declaration
protected virtual void ValidateOrderProperties(ValidationErrorCollection validationErrors)
Parameters
Type Name Description
ValidationErrorCollection validationErrors

The validation errors.

ValidateRuntime()

Validates the runtime.

Declaration
protected virtual bool ValidateRuntime()
Returns
Type Description
System.Boolean