/// <summary> /// Adds transaction log. /// </summary> /// <param name="transactionLogStep">The transactionLogStep.</param> /// <param name="transactionLogStatus">The transactionLogStatus.</param> /// <param name="requestData">The requestData.</param> /// <param name="responseData">The responseData.</param> /// <param name="userId">The userId.</param> /// <param name="orderId">The orderId.</param> /// <param name="transactionId">The transactionId.</param> /// <param name="correlationId">The correlationId.</param> /// <returns>BlueprintTransactionLog.</returns> public async Task <BlueprintTransactionLog> AddTransactionLogAsync(TransactionLogStep transactionLogStep, TransactionLogStatus transactionLogStatus, string requestData, string responseData, string userId, long orderId, long transactionId, Guid correlationId ) { BlueprintTransactionLog transactionLog = new BlueprintTransactionLog() { StepOrder = (int)transactionLogStep, StepName = transactionLogStep.ToString(), Status = transactionLogStatus.ToString(), UserId = userId, OrderId = orderId, TransactionId = transactionId, RequestData = requestData, ResponseData = responseData, CorrelationId = correlationId }; return(await AddTransactionLogAsync(transactionLog)); }
/// <summary> /// Adds transaction log. /// </summary> /// <param name="transactionLogStep">The transactionLogStep.</param> /// <param name="transactionLogStatus">The transactionLogStatus.</param> /// <param name="requestData">The requestData.</param> /// <param name="userId">The userId.</param> /// <returns>BlueprintTransactionLog.</returns> public async Task <BlueprintTransactionLog> AddTransactionLogAsync(TransactionLogStep transactionLogStep, TransactionLogStatus transactionLogStatus, string requestData, string userId ) { BlueprintTransactionLog transactionLog = new BlueprintTransactionLog() { StepOrder = (int)transactionLogStep, StepName = transactionLogStep.ToString(), Status = transactionLogStatus.ToString(), UserId = userId, RequestData = requestData }; return(await AddTransactionLogAsync(transactionLog)); }
/// <summary> /// Adds transaction log. /// </summary> /// <param name="transactionLogStep">The transactionLogStep.</param> /// <param name="transactionLogStatus">The transactionLogStatus.</param> /// <param name="requestData">The requestData.</param> /// <param name="userId">The userId.</param> /// <param name="exceptionMessage">The exceptionMessage.</param> /// <param name="exception">The exception.</param> /// <param name="correlationId">The correlationId.</param> /// <returns>BlueprintTransactionLog.</returns> public async Task <BlueprintTransactionLog> AddTransactionLogAsync(TransactionLogStep transactionLogStep, TransactionLogStatus transactionLogStatus, string requestData, string userId, string exceptionMessage, string exception, Guid correlationId ) { BlueprintTransactionLog transactionLog = new BlueprintTransactionLog() { CorrelationId = correlationId, StepOrder = (int)transactionLogStep, StepName = transactionLogStep.ToString(), Status = transactionLogStatus.ToString(), UserId = userId, RequestData = requestData, ExceptionMessage = exceptionMessage, Exception = exception }; return(await AddTransactionLogAsync(transactionLog)); }
public Task AddTransactionLogExceptionAsync(TransactionLogStep transactionLogStep, BaseRequestObject request, Exception exception) { throw new NotImplementedException(); }
public Task <TransactionLog> AddTransactionLogAsync(TransactionLogStep transactionLogStep, TransactionLogStatus transactionLogStatus, string requestData, string exceptionMessage, string exception, Guid correlationId) { throw new NotImplementedException(); }
public TransactionLog AddTransactionLog(TransactionLogStep transactionLogStep, TransactionLogStatus transactionLogStatus, string requestData, string userId) { throw new NotImplementedException(); }
public TransactionLog AddTransactionLog(TransactionLogStep transactionLogStep, TransactionLogStatus transactionLogStatus, string requestData, string responseData, string userId, long orderId, long transactionId, Guid correlationId) { throw new NotImplementedException(); }