Files
ShopSolution-backend/Webshop.Application/Services/Public/Interfaces/IPaymentMethodService.cs
Tizian.Breuch 6fc6aaef3e payment
2025-07-29 19:11:34 +02:00

16 lines
623 B
C#

// src/Webshop.Application/Services/Public/IPaymentMethodService.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application.DTOs.Payments; // Für PaymentMethodDto
namespace Webshop.Application.Services.Public
{
public interface IPaymentMethodService
{
/// <summary>
/// Ruft alle aktiven Zahlungsmethoden ab, die im Checkout für den Kunden sichtbar sein sollen.
/// </summary>
/// <returns>Eine Liste von PaymentMethodDto mit öffentlichen Konfigurationsdaten.</returns>
Task<IEnumerable<PaymentMethodDto>> GetAllActiveAsync();
}
}