58aeddf004
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
- Added new date range filters (CreatedFrom, CreatedTo, PaymentDateFrom, PaymentDateTo) to GetAllTransactionsByFilterQuery for improved transaction querying. - Updated GetAllTransactionsByFilterQueryHandler to apply new filters and return detailed transaction models. - Introduced GetTransactionSummary RPC method in Protobuf for summarizing transaction data. - Enhanced mapping configurations to accommodate new filter properties and response models. - Bumped Protobuf project version to reflect the addition of new features.
18 lines
590 B
C#
18 lines
590 B
C#
using CMSMicroservice.Application.TransactionsCQ.Queries.GetAllTransactionsByFilter;
|
|
|
|
namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetTransactionSummary;
|
|
|
|
public record GetTransactionSummaryQuery : IRequest<GetTransactionSummaryResponseDto>
|
|
{
|
|
public GetAllTransactionsByFilterFilter? Filter { get; init; }
|
|
}
|
|
|
|
public class GetTransactionSummaryResponseDto
|
|
{
|
|
public long TotalCount { get; set; }
|
|
public long TotalAmount { get; set; }
|
|
public long SuccessCount { get; set; }
|
|
public long PendingCount { get; set; }
|
|
public long RejectCount { get; set; }
|
|
}
|