Init Commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user