Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface IOrderActivityService

Services for order activity.

Namespace: EPiServer.Commerce.Order.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public interface IOrderActivityService

Methods

Create(String, String, OrderNoteTypes, Guid, String, OrderActivityEvent)

Creates an order activity.

Declaration
IOrderActivity Create(string title, string detail, OrderNoteTypes type, Guid customerId, string channel, OrderActivityEvent activityEvent)
Parameters
Type Name Description
System.String title

The tile of note.

System.String detail

The detail content of note.

OrderNoteTypes type

The order activity type.

System.Guid customerId

The customer id.

System.String channel

The channel of note.

OrderActivityEvent activityEvent

The event type of note.

Returns
Type Description
IOrderActivity

An order activity.

Get<TOrderGroup>(Int32, Int32)

Gets an order activity.

Declaration
IOrderActivity Get<TOrderGroup>(int orderGroupId, int orderActivityId)
    where TOrderGroup : class, IOrderGroup
Parameters
Type Name Description
System.Int32 orderGroupId

The order group id.

System.Int32 orderActivityId

The order activity id.

Returns
Type Description
IOrderActivity

An order activity

Type Parameters
Name Description
TOrderGroup