Example #1
0
 public TransferAccount(BankAccountId id, BankAccountName name, BankName bank, TransferAccountType accountType)
 {
     Id          = id;
     Name        = name;
     Bank        = bank;
     AccountType = accountType;
 }
 public ConfirmTransferTransactionSubmittedDomainCommand(
     long transactionId,
     TransferAccountType accountType,
     Money accountBalance,
     Money accountInAmountInFlight,
     Money accountOutAmountInFlight)
 {
     AggregateRootId          = transactionId;
     AccountType              = accountType;
     AccountBalance           = accountBalance;
     AccountInAmountInFlight  = accountInAmountInFlight;
     AccountOutAmountInFlight = accountOutAmountInFlight;
 }
 public TransferTransactionSubmittedDomainEvent(
     TransferTransactionId transactionId,
     Money money,
     TransferAccountType accountType,
     Money accountBalance,
     Money accountInAmountInFlight,
     Money accountOutAmountInFlight)
 {
     TransactionId            = transactionId;
     Money                    = money;
     AccountType              = accountType;
     AccountBalance           = accountBalance;
     AccountInAmountInFlight  = accountInAmountInFlight;
     AccountOutAmountInFlight = accountOutAmountInFlight;
 }
 public TransferTransactionValidatedDomainNotification(TransferTransactionId transactionId, Money money, TransferAccountType accountType)
 {
     TransactionId = transactionId;
     AccountType   = accountType;
     Money         = money;
 }
Example #5
0
 public TransferTransactionCompletedDomainEvent(TransferTransactionStatus status, TransferAccountType accountType, string message)
 {
     Status      = status;
     AccountType = accountType;
     Message     = message;
 }
 public TransferTransactionValidateFailedDomainNotification(TransferTransactionId transactionId, TransferAccountType accountType, string message)
 {
     TransactionId = transactionId;
     AccountType   = accountType;
     Message       = message;
 }
Example #7
0
 public ConfirmTransferTransactionValidatedDomainCommand(TransferTransactionId transactionId, TransferAccountType accountType)
 {
     AggregateRootId = transactionId;
     AccountType     = accountType;
 }