using System.ComponentModel.DataAnnotations; namespace MotoresArgentinosV2.Core.DTOs; public class CreatePaymentRequestDto { [Required] public int AdId { get; set; } // ID del aviso que se está pagando [Required] public string Token { get; set; } = string.Empty; // Token de la tarjeta generado en el front [Required] public string PaymentMethodId { get; set; } = string.Empty; // ej: "visa", "master" [Required] public int Installments { get; set; } // Cuotas [Required] public string IssuerId { get; set; } = string.Empty; // Banco emisor [Required] public decimal TransactionAmount { get; set; } [Required] [EmailAddress] public string PayerEmail { get; set; } = string.Empty; public string? Description { get; set; } } public class PaymentResponseDto { public long PaymentId { get; set; } public string Status { get; set; } = string.Empty; // approved, rejected, in_process public string StatusDetail { get; set; } = string.Empty; public string OperationCode { get; set; } = string.Empty; // Nuestro ID interno (M2-...) }