17 lines
672 B
C#
17 lines
672 B
C#
// src/Webshop.Application/Services/Public/IPaymentMethodService.cs
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Webshop.Application;
|
|
using Webshop.Application.DTOs.Payments;
|
|
|
|
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>Ein ServiceResult, das eine Liste von PaymentMethodDto mit öffentlichen Konfigurationsdaten enthält.</returns>
|
|
Task<ServiceResult<IEnumerable<PaymentMethodDto>>> GetAllActiveAsync();
|
|
}
|
|
} |