using CashLineERP.Application.Finance;

namespace CashLineERP.Application.External.Views;

public sealed record ExternalCustomerPaymentStatusView(
    long PaymentId,
    string PaymentNumber,
    long AccountsReceivableInvoiceId,
    string AccountsReceivableInvoiceNumber,
    DateOnly PaymentDate,
    string CurrencyCode,
    decimal AmountAmount,
    string StatusCode,
    string IntegrationProviderCode,
    string? ReferenceNumber,
    string? CorrelationKey,
    long? SettledAccountsReceivableReceiptId,
    DateTime? SubmittedAtUtc,
    DateTime? CompletedAtUtc,
    string? LastErrorText,
    long? LatestExecutionId,
    string? LatestExecutionStatusCode,
    string? LatestProviderStatusCode,
    string? LatestProviderReference,
    PaymentGatewayProviderContractView ProviderContract);
