Rob / Application /DTOs /OrderDTOs /PayOrderDTO.cs
danylokhodus's picture
order update
8a2241a
Raw
History Blame Contribute Delete
841 Bytes
namespace Application.DTOs.OrderDTOs
{
/// <summary>
/// DTO for paying order product and/or delivery
/// </summary>
public class PayOrderDTO
{
public int OrderId { get; set; }
/// <summary>
/// Pay for the product (will set IsProductPaid = true)
/// </summary>
public bool PayProduct { get; set; }
/// <summary>
/// Pay for the delivery (will set IsDeliveryPaid = true)
/// </summary>
public bool PayDelivery { get; set; }
/// <summary>
/// Payment method: PayPal, GooglePay, or Stripe
/// </summary>
public string PaymentMethod { get; set; } = string.Empty;
/// <summary>
/// Optional token for Stripe payments
/// </summary>
public string? StripeCardToken { get; set; }
}
}