// src/Webshop.Application/DTOs/Payments/AdminPaymentMethodDto.cs using Webshop.Domain.Enums; using System.Text.Json.Serialization; // Für JsonConverter namespace Webshop.Application.DTOs.Payments { public class AdminPaymentMethodDto { public Guid Id { get; set; } = Guid.NewGuid(); public string Name { get; set; } = string.Empty; public string? Description { get; set; } public bool IsActive { get; set; } public PaymentGatewayType PaymentGatewayType { get; set; } // Configuration ist jetzt ein Objekt, das je nach PaymentGatewayType // eine Instanz von BankTransferConfigurationDto, StripeConfigurationDto etc. sein wird. public object? Configuration { get; set; } public decimal? ProcessingFee { get; set; } } }