Files
CMS/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactionSummary/GetTransactionSummaryQuery.cs
T
masoodafar-web 58aeddf004
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
feat(transactions): enhance transaction filtering and summary capabilities
- 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.
2026-06-26 16:33:20 +03:30

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; }
}