PaymentMethod

This commit is contained in:
Tizian.Breuch
2025-09-25 16:31:19 +02:00
parent ccd574455f
commit 88f520a51b
3 changed files with 45 additions and 32 deletions

View File

@@ -1,7 +1,8 @@
// src/Webshop.Application/Services/Public/IPaymentMethodService.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application.DTOs.Payments; // Für PaymentMethodDto
using Webshop.Application;
using Webshop.Application.DTOs.Payments;
namespace Webshop.Application.Services.Public
{
@@ -10,7 +11,7 @@ namespace Webshop.Application.Services.Public
/// <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();
/// <returns>Ein ServiceResult, das eine Liste von PaymentMethodDto mit öffentlichen Konfigurationsdaten enthält.</returns>
Task<ServiceResult<IEnumerable<PaymentMethodDto>>> GetAllActiveAsync();
}
}