Class OrderGroupActivityBase
Inheritance
System.Object
OrderGroupActivityBase
Assembly: Mediachase.Commerce.Workflow.dll
Version: 14.26.0
public abstract class OrderGroupActivityBase : Activity
Constructors
Declaration
protected OrderGroupActivityBase()
Properties
ContentLoader
Declaration
protected IContentLoader ContentLoader { get; }
Property Value
Type |
Description |
EPiServer.IContentLoader |
|
Declaration
protected InventoryRequester InventoryRequester { get; }
Property Value
Declaration
protected IInventoryService InventoryService { get; }
Property Value
Gets or sets the order group.
Declaration
[ActivityFlowContextProperty]
public OrderGroup OrderGroup { get; set; }
Property Value
Declaration
protected IPriceService PriceService { get; }
Property Value
Declaration
protected ReferenceConverter ReferenceConverter { get; }
Property Value
Declaration
protected DateTime SafeBeginningOfTime { get; }
Property Value
Type |
Description |
System.DateTime |
|
Declaration
protected IWarehouseRepository WarehouseRepository { get; }
Property Value
Gets or sets the warnings.
Declaration
[ActivityFlowContextProperty]
public StringDictionary Warnings { get; set; }
Property Value
Type |
Description |
System.Collections.Specialized.StringDictionary |
The warnings.
|
Methods
Declaration
protected void AddValidationIssues(IDictionary<ILineItem, IList<ValidationIssue>> issues, ILineItem lineItem, ValidationIssue issue)
Parameters
Declaration
protected void AddWarningMessages(IDictionary<ILineItem, IList<ValidationIssue>> validationIssueCollections)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<ILineItem, System.Collections.Generic.IList<ValidationIssue>> |
validationIssueCollections |
|
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 |
|
Declaration
protected InventoryTrackingStatus GetInventoryStatus(string entryCode, string warehouseCode)
Parameters
Type |
Name |
Description |
System.String |
entryCode |
|
System.String |
warehouseCode |
|
Returns
Declaration
protected virtual Nullable<Money> GetItemPrice(ILineItem lineItem, CustomerContact customerContact, string billingCurrency, MarketId marketId)
Parameters
Returns
Type |
Description |
System.Nullable<Money> |
|
Declaration
protected bool InventoryTrackingEnabled(ILineItem lineItem)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Validates the order properties.
Declaration
protected virtual void ValidateOrderProperties(ValidationErrorCollection validationErrors)
Parameters
Declaration
protected virtual bool ValidateRuntime()
Returns
Type |
Description |
System.Boolean |
|