namespace Baya.Domain.Entities.Bnpl;

/// <summary>
/// The closed <c>bnpl_transactions.eligibility_status</c> code set recorded by the eligibility check — the
/// client shows the installment plan on <see cref="Eligible"/> and falls back to card otherwise. These are the
/// provider-agnostic outcomes; the concrete provider decides the code (credit ceiling, prior history, …).
/// </summary>
public static class BnplEligibilityStatus
{
    /// <summary>The customer may use BNPL for this order amount.</summary>
    public const string Eligible = "eligible";

    /// <summary>The customer is not eligible (no line/blocked) — the client falls back to card.</summary>
    public const string NotEligible = "not_eligible";

    /// <summary>The order exceeds the customer's provider credit ceiling — the client falls back to card.</summary>
    public const string CeilingExceeded = "ceiling_exceeded";
}
