checkout
This commit is contained in:
@@ -6,21 +6,7 @@ using Webshop.Domain.Entities;
|
||||
|
||||
namespace Webshop.Application.Services.Public.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Stellt das Ergebnis der Rabattberechnung dar.
|
||||
/// </summary>
|
||||
public class DiscountCalculationResult
|
||||
{
|
||||
/// <summary>
|
||||
/// Der gesamte berechnete Rabattbetrag.
|
||||
/// </summary>
|
||||
public decimal TotalDiscountAmount { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Die IDs der Rabatte, die erfolgreich angewendet wurden.
|
||||
/// </summary>
|
||||
public List<Guid> AppliedDiscountIds { get; set; } = new List<Guid>();
|
||||
}
|
||||
|
||||
public interface IDiscountService
|
||||
{
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Webshop.Application.Services.Public.Interfaces
|
||||
{
|
||||
public interface IEmailService
|
||||
{
|
||||
/// <summary>
|
||||
/// Sendet den Link zur Bestätigung der Registrierung.
|
||||
/// </summary>
|
||||
Task SendEmailConfirmationAsync(string toEmail, string confirmationLink);
|
||||
|
||||
/// <summary>
|
||||
/// Sendet den Link zum Zurücksetzen des Passworts.
|
||||
/// </summary>
|
||||
Task SendPasswordResetAsync(string toEmail, string resetLink);
|
||||
|
||||
/// <summary>
|
||||
/// Sendet eine Bestellbestätigung.
|
||||
/// </summary>
|
||||
Task SendOrderConfirmationAsync(Guid orderId, string toEmail);
|
||||
|
||||
/// <summary>
|
||||
/// Sendet einen Bestätigungslink bei E-Mail-Änderung.
|
||||
/// </summary>
|
||||
Task SendEmailChangeConfirmationAsync(string toEmail, string confirmationLink);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user