Table of Contents

Class PaymentCommandReceiver

Namespace
InSite.Application.Payments.Write
Assembly
Shift.Sdk.dll
public class PaymentCommandReceiver
Inheritance
PaymentCommandReceiver
Inherited Members
Extension Methods

Constructors

PaymentCommandReceiver(ICommandQueue, IChangeQueue, IChangeRepository)

public PaymentCommandReceiver(ICommandQueue commander, IChangeQueue publisher, IChangeRepository repository)

Parameters

commander ICommandQueue
publisher IChangeQueue
repository IChangeRepository

Methods

Handle(AbortPayment)

public void Handle(AbortPayment c)

Parameters

c AbortPayment

Handle(ActivateMerchant)

public void Handle(ActivateMerchant c)

Parameters

c ActivateMerchant

Handle(AddMerchant)

public void Handle(AddMerchant c)

Parameters

c AddMerchant

Handle(CloseGateway)

public void Handle(CloseGateway c)

Parameters

c CloseGateway

Handle(CompletePayment)

public void Handle(CompletePayment c)

Parameters

c CompletePayment

Handle(DeactivateMerchant)

public void Handle(DeactivateMerchant c)

Parameters

c DeactivateMerchant

Handle(ImportPayment)

public void Handle(ImportPayment c)

Parameters

c ImportPayment

Handle(ModifyPaymentCreatedBy)

public void Handle(ModifyPaymentCreatedBy c)

Parameters

c ModifyPaymentCreatedBy

Handle(OpenGateway)

Opens a new payment gateway. If the gateway already exists and its status is Closed then this function reopens the the gateway.

public void Handle(OpenGateway c)

Parameters

c OpenGateway

Handle(RemoveMerchant)

public void Handle(RemoveMerchant c)

Parameters

c RemoveMerchant

Handle(StartPayment)

public void Handle(StartPayment c)

Parameters

c StartPayment