Logo
Explore Help
Register Sign In
admin/BackOffice.BFF
1
0
Fork 0
You've already forked BackOffice.BFF
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
fe56b8f1397febfd67da4f4d86b518d33e614a83
BackOffice.BFF/src/BackOffice.BFF.Application/ManualPaymentCQ/Commands/RejectManualPayment/RejectManualPaymentCommand.cs

9 lines
256 B
C#
Raw Normal View History

feat: Implement user permission checks and manual payment functionalities - Added CheckUserPermissionQuery and CheckUserPermissionQueryHandler for permission validation. - Introduced GetUserRolesQuery and GetUserRolesQueryHandler to retrieve user roles. - Created IPermissionService interface and its implementation in PermissionService. - Defined permission and role constants in PermissionDefinitions. - Developed SetDefaultVatPercentageCommand and its handler for VAT configuration. - Implemented GetCurrentVatPercentageQuery and handler to fetch current VAT settings. - Added manual payment commands: CreateManualPayment, ApproveManualPayment, and RejectManualPayment with respective handlers and validators. - Created GetManualPaymentsQuery and handler for retrieving manual payment records. - Integrated gRPC services for manual payments with appropriate permission checks. - Established Protobuf definitions for manual payment operations and metadata.
2025-12-05 17:27:38 +03:30
namespace BackOffice.BFF.Application.ManualPaymentCQ.Commands.RejectManualPayment;
public class RejectManualPaymentCommand : IRequest<bool>
{
public long ManualPaymentId { get; set; }
public string RejectionReason { get; set; } = string.Empty;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 105ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API