16 lines
623 B
C#
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();
|
|
}
|
|
} |