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
publisherIChangeQueuestoreIPaymentStore
Methods
Handle(GatewayClosed)
public void Handle(GatewayClosed e)
Parameters
Handle(GatewayOpened)
public void Handle(GatewayOpened e)
Parameters
Handle(MerchantActivated)
public void Handle(MerchantActivated e)
Parameters
Handle(MerchantAdded)
public void Handle(MerchantAdded e)
Parameters
Handle(MerchantDeactivated)
public void Handle(MerchantDeactivated e)
Parameters
Handle(MerchantRemoved)
public void Handle(MerchantRemoved e)
Parameters
Handle(PaymentAborted)
public void Handle(PaymentAborted e)
Parameters
Handle(PaymentCompleted)
public void Handle(PaymentCompleted e)
Parameters
Handle(PaymentCreatedByModified)
public void Handle(PaymentCreatedByModified e)
Parameters
Handle(PaymentImported)
public void Handle(PaymentImported e)
Parameters
Handle(PaymentStarted)
public void Handle(PaymentStarted e)