Exemple #1
0
 public ValidateAccountCommand(string accountId, string transactionId, byte transactionType, PreparationTypes preparationType, double amount) : base(accountId)
 {
     TransactionId   = transactionId;
     TransactionType = transactionType;
     PreparationType = preparationType;
     Amount          = amount;
 }
 public AccountValidateFailedMessage(string accountId, string transactionId, byte transactionType, PreparationTypes preparationType, string reason)
 {
     AccountId       = accountId;
     TransactionId   = transactionId;
     TransactionType = transactionType;
     PreparationType = preparationType;
     Reason          = reason;
 }
Exemple #3
0
 public AccountValidatePassedMessage(string accountId, string transactionId, byte transactionType, PreparationTypes preparationType, double amount)
 {
     AccountId       = accountId;
     TransactionId   = transactionId;
     TransactionType = transactionType;
     PreparationType = preparationType;
     Amount          = amount;
 }
Exemple #4
0
 public TransferTransactionPreCommitSucceedParticipantAdded(string accountId, string transactionId, PreparationTypes preparationType)
     : base(transactionId, (byte)TransactionTypes.TransferTransaction, new Eventual2PC.TransactionParticipantInfo(accountId, (byte)AggregateRootTypes.BankAccount))
 {
     PreparationType = preparationType;
 }