payment methods
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// src/Webshop.Application/DTOs/Payments/AdminPaymentMethodDto.cs
|
||||
using System;
|
||||
using Webshop.Domain.Enums;
|
||||
using System.Text.Json.Serialization; // Für JsonConverter
|
||||
|
||||
namespace Webshop.Application.DTOs.Payments
|
||||
{
|
||||
@@ -11,7 +11,11 @@ namespace Webshop.Application.DTOs.Payments
|
||||
public string? Description { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public PaymentGatewayType PaymentGatewayType { get; set; }
|
||||
public string? Configuration { get; set; } // Als JSON-String, den der Admin bearbeitet
|
||||
|
||||
// Configuration ist jetzt ein Objekt, das je nach PaymentGatewayType
|
||||
// eine Instanz von BankTransferConfigurationDto, StripeConfigurationDto etc. sein wird.
|
||||
public object? Configuration { get; set; }
|
||||
|
||||
public decimal? ProcessingFee { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user