17 lines
605 B
C#
17 lines
605 B
C#
namespace MotoresArgentinosV2.Core.Interfaces;
|
|
|
|
public record AdPriceResult(decimal BasePrice, decimal Tax, decimal TotalPrice, string Currency);
|
|
|
|
public interface ILegacyPaymentService
|
|
{
|
|
/// <summary>
|
|
/// Consulta el precio en el sistema legacy (SPDATOSAVISOS)
|
|
/// </summary>
|
|
Task<AdPriceResult> GetAdPriceAsync(string category, bool isFeatured);
|
|
|
|
/// <summary>
|
|
/// Finaliza la operación tras el pago (Simula callback de Decidir y ejecuta spInsertaAvisos)
|
|
/// </summary>
|
|
Task<bool> ProcessPaymentResponseAsync(string operationCode, string status, string providerData);
|
|
}
|