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; }
public AccountValidatePassedMessage(string accountId, string transactionId, byte transactionType, PreparationTypes preparationType, double amount) { AccountId = accountId; TransactionId = transactionId; TransactionType = transactionType; PreparationType = preparationType; Amount = amount; }
public TransferTransactionPreCommitSucceedParticipantAdded(string accountId, string transactionId, PreparationTypes preparationType) : base(transactionId, (byte)TransactionTypes.TransferTransaction, new Eventual2PC.TransactionParticipantInfo(accountId, (byte)AggregateRootTypes.BankAccount)) { PreparationType = preparationType; }