Table of Contents

Class PaymentChangeProjector

Namespace
InSite.Application.Payments.Read
Assembly
Shift.Sdk.dll

Implements the projector for Event changes.

public class PaymentChangeProjector
Inheritance
PaymentChangeProjector
Inherited Members
Extension Methods

Remarks

A projector is responsible for creating projections based on events. Events can (and often should) be replayed by a projector, and there should be no side effects (aside from changes to the projection tables). A processor, in contrast, should never replay past events.

Constructors

PaymentChangeProjector(IChangeQueue, IPaymentStore)

public PaymentChangeProjector(IChangeQueue publisher, IPaymentStore store)

Parameters

publisher IChangeQueue
store IPaymentStore

Methods

Handle(GatewayClosed)

public void Handle(GatewayClosed e)

Parameters

e GatewayClosed

Handle(GatewayOpened)

public void Handle(GatewayOpened e)

Parameters

e GatewayOpened

Handle(MerchantActivated)

public void Handle(MerchantActivated e)

Parameters

e MerchantActivated

Handle(MerchantAdded)

public void Handle(MerchantAdded e)

Parameters

e MerchantAdded

Handle(MerchantDeactivated)

public void Handle(MerchantDeactivated e)

Parameters

e MerchantDeactivated

Handle(MerchantRemoved)

public void Handle(MerchantRemoved e)

Parameters

e MerchantRemoved

Handle(PaymentAborted)

public void Handle(PaymentAborted e)

Parameters

e PaymentAborted

Handle(PaymentCompleted)

public void Handle(PaymentCompleted e)

Parameters

e PaymentCompleted

Handle(PaymentCreatedByModified)

public void Handle(PaymentCreatedByModified e)

Parameters

e PaymentCreatedByModified

Handle(PaymentImported)

public void Handle(PaymentImported e)

Parameters

e PaymentImported

Handle(PaymentStarted)

public void Handle(PaymentStarted e)

Parameters

e PaymentStarted