PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class StdBSECommerceManager

    ECommerce Platform Services manager

    Inheritance
    System.Object
    StdBSBaseService
    StdBSECommerceManager
    Implements
    System.IDisposable
    Inherited Members
    StdBSBaseService.m_objBSO
    StdBSBaseService.BSO
    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: StdPlatBS100.ServiceClasses
    Assembly: StdPlatBS100.dll
    Syntax
    public class StdBSECommerceManager : StdBSBaseService, IDisposable

    Constructors

    StdBSECommerceManager()

    Class Constructor

    Declaration
    public StdBSECommerceManager()

    Properties

    ClientAPI

    Ecco Public Service API for invoking operations.

    Declaration
    public IECommerceConnectClient ClientAPI { get; }
    Property Value
    Type Description
    Primavera.Lithium.ECommerceConnect.IECommerceConnectClient

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Initialize(ECommerceConnectWindowsServiceClient)

    This function initializes the connection to the ECommerce Service.

    Declaration
    public void Initialize(ECommerceConnectWindowsServiceClient client = null)
    Parameters
    Type Name Description
    Primavera.Lithium.ECommerceConnect.ECommerceConnectWindowsServiceClient client

    RelayMessage(InstanceData, EventPayload)

    This function relays a message to the correct business engine class that subscribed it.

    Declaration
    public bool RelayMessage(InstanceData instanceData, EventPayload payload)
    Parameters
    Type Name Description
    Primavera.Lithium.ECommerceConnect.Models.InstanceData instanceData
    Primavera.Lithium.ECommerceConnect.Models.EventPayload payload
    Returns
    Type Description
    System.Boolean

    SendMessage<TPayload>(TPayload, EventId, IDictionary<String, Object>)

    Send a message to ECCO through Service Bus Topic.

    Declaration
    public Task SendMessage<TPayload>(TPayload payload, EventId eventId, IDictionary<string, object> customProperties = null)
        where TPayload : class
    Parameters
    Type Name Description
    TPayload payload
    Primavera.Lithium.ECommerceConnect.Models.EventId eventId
    System.Collections.Generic.IDictionary<System.String, System.Object> customProperties
    Returns
    Type Description
    System.Threading.Tasks.Task
    Type Parameters
    Name Description
    TPayload

    Events

    ReceiveMessage

    Event that is triggered whenever the engine receives a message from the ECCO client lib.

    Declaration
    public event StdBSECommerceManager.ReceiveMessageHandler ReceiveMessage
    Event Type
    Type Description
    StdBSECommerceManager.ReceiveMessageHandler

    Implements

    System.IDisposable