public CcDepositResponse FromClearingTimeout(Guid transactionId, CcDepositRequest request, RequestTimeoutExpired source) { return new CcDepositResponse { AccountNumber = request.AccountNumber, Status = DepositStatus.Timedout, ErrorMessage = $"Clearing Api call timed out. Expiration Time={source.ExpirationTime}", TransactionId = transactionId }; }
public void SetTimeoutExpired(InstanceContext <TestSagaState> context, TestSagaRequestState state, RequestTimeoutExpired <TestConsumerRequest> timeout) { state.TimeoutExpired = timeout; state.Status = MultiRequestItemStatus.TimeoutExpired; }
public CcDepositResponse FromClearingTimeout(Guid transactionId, CcDepositRequest request, RequestTimeoutExpired source) { return(new CcDepositResponse { AccountNumber = request.AccountNumber, Status = DepositStatus.Timedout, ErrorMessage = $"Clearing Api call timed out. Expiration Time={source.ExpirationTime}", TransactionId = transactionId }); }