namespace Fitness_core_BE.DTOs.PaymentGateways { // Mirrors Payment-Service's DTOs/Gateways/GatewayDtos.cs - Fitness_Core_BE's // AdminController proxies to Payment-Service rather than exposing it directly // to the admin frontend (see Phase 0 decision: no admin/JWT auth surface there). public class GatewayDefinitionDto { public Guid Id { get; set; } public string GatewayName { get; set; } = string.Empty; public string DisplayName { get; set; } = string.Empty; public bool IsEnabled { get; set; } public bool IsDefault { get; set; } public string Mode { get; set; } = "Sandbox"; public bool SupportsWebhooks { get; set; } } public class UpsertGatewayDefinitionRequest { public string GatewayName { get; set; } = string.Empty; public string DisplayName { get; set; } = string.Empty; public bool IsEnabled { get; set; } = true; public bool IsDefault { get; set; } = false; public string Mode { get; set; } = "Sandbox"; public bool SupportsWebhooks { get; set; } = true; } public class SetGatewayEnabledRequest { public bool IsEnabled { get; set; } } public class UpsertPlatformGatewayCredentialRequest { public Guid PlatformId { get; set; } public string GatewayName { get; set; } = string.Empty; public string CredentialsJson { get; set; } = string.Empty; } }