Class Gateway
- Namespace
- InSite.Domain.Payments
- Assembly
- Shift.Sdk.dll
public class Gateway : AggregateState
- Inheritance
-
Gateway
- Inherited Members
-
- Extension Methods
-
Constructors
Gateway()
Properties
Name
public string Name { get; set; }
Property Value
- string
Payments
public Dictionary<Guid, Payment> Payments { get; set; }
Property Value
- Dictionary<Guid, Payment>
Status
public GatewayStatus Status { get; set; }
Property Value
- GatewayStatus
Type
public GatewayType Type { get; set; }
Property Value
- GatewayType
Methods
FindPayment(Guid)
public Payment FindPayment(Guid payment)
Parameters
payment Guid
Returns
- Payment
PaymentExists(Guid)
public bool PaymentExists(Guid payment)
Parameters
payment Guid
Returns
- bool
When(GatewayClosed)
public void When(GatewayClosed _)
Parameters
_ GatewayClosed
When(GatewayOpened)
public void When(GatewayOpened e)
Parameters
e GatewayOpened
When(MerchantActivated)
public void When(MerchantActivated e)
Parameters
e MerchantActivated
When(MerchantAdded)
public void When(MerchantAdded e)
Parameters
e MerchantAdded
When(MerchantDeactivated)
public void When(MerchantDeactivated e)
Parameters
e MerchantDeactivated
When(MerchantRemoved)
public void When(MerchantRemoved e)
Parameters
e MerchantRemoved
When(PaymentAborted)
public void When(PaymentAborted e)
Parameters
e PaymentAborted
When(PaymentCompleted)
public void When(PaymentCompleted e)
Parameters
e PaymentCompleted
When(PaymentCreatedByModified)
public void When(PaymentCreatedByModified _)
Parameters
_ PaymentCreatedByModified
When(PaymentImported)
public void When(PaymentImported e)
Parameters
e PaymentImported
When(PaymentStarted)
public void When(PaymentStarted e)
Parameters
e PaymentStarted