namespace CashLineERP.Contracts.External;

public sealed record ExternalFinancingOfferResponse(
    string OfferSourceType,
    long? FinancingDecisionId,
    long FinancingRequestId,
    string FinancingRequestNumber,
    long ApplicantPartyId,
    string ApplicantPartyTypeCode,
    string ProductTypeCode,
    string ProductCode,
    string ProductName,
    bool RequiresShariahReview,
    string OfferFundingSourceMode,
    long? PartnerLenderId,
    string? PartnerLenderName,
    string? PartnerDefaultCurrencyCode,
    bool SupportsMurabaha,
    bool SupportsReceivablesFinance,
    bool SupportsTawarruq,
    string DecisionCode,
    string StatusCode,
    bool IsSelectedOffer,
    string OfferCurrencyCode,
    decimal? OfferedAmount,
    int? TenorMonths,
    decimal? ProfitRatePercent,
    decimal? ProcessingFeeAmount,
    string? SecurityRequirementText,
    int? OfferRank,
    string? DecisionNotes,
    DateTime CreatedAtUtc,
    DateTime? SubmittedAtUtc,
    DateTime? ApprovedAtUtc);
