using MediatR;

namespace CMSMicroservice.Application.PackageCQ.Commands.VerifyGoldenPackagePurchase;

/// <summary>
/// تایید پرداخت پکیج طلایی (پس از بازگشت از درگاه)
/// </summary>
public record VerifyGoldenPackagePurchaseCommand : IRequest<VerifyGoldenPackagePurchaseResponseDto>
{
    public long OrderId { get; init; }
    public string Authority { get; init; } = string.Empty;
    public string Status { get; init; } = string.Empty; // OK یا NOK
}

public class VerifyGoldenPackagePurchaseResponseDto
{
    public bool Success { get; set; }
    public string Message { get; set; } = string.Empty;
    public long OrderId { get; set; }
    public long TransactionId { get; set; }
    public string ReferenceCode { get; set; } = string.Empty;
    public long WalletBalance { get; set; }
}
