<?php
/**
 * Invoice Fields Constants
 *
 * @package Easy_Invoice
 * @subpackage Constants
 */

namespace EasyInvoice\Constants;

/**
 * InvoiceFields Class
 * 
 * Defines constants for invoice field and meta keys.
 */
class InvoiceFields {
    // Post type
    public const POST_TYPE = \EasyInvoice\Constants\PostTypes::EASY_INVOICE_POST_TYPE;
    
    // Basic Invoice Information
    public const NUMBER = '_easy_invoice_number';
    public const DESCRIPTION = '_easy_invoice_description';
    public const ISSUE_DATE = '_easy_invoice_issue_date';
    public const DUE_DATE = '_easy_invoice_due_date';
    public const STATUS = '_easy_invoice_status';
    public const NOTES = '_easy_invoice_notes';
    public const TERMS = '_easy_invoice_terms';
    public const PAYMENT_INSTRUCTIONS = '_easy_invoice_payment_instructions';
    public const INTERNAL_NOTES = '_easy_invoice_internal_notes';
    public const PAYMENT_METHOD = '_easy_invoice_payment_method';
    public const PAYMENT_STATUS = '_easy_invoice_payment_status';
    public const CURRENCY_CODE = '_easy_invoice_currency_code';
    public const CURRENCY_POSITION = '_easy_invoice_currency_position';
    public const CALCULATION_METHOD = '_easy_invoice_calculation_method';
    
    // Financial Information
    public const SUBTOTAL = '_easy_invoice_subtotal';
    public const DISCOUNT_TYPE = '_easy_invoice_discount_type';
    public const DISCOUNT_VALUE = '_easy_invoice_discount_value';
    public const TAX_RATE = '_easy_invoice_tax_rate';
    public const TAX_AMOUNT = '_easy_invoice_tax_amount';
    public const TOTAL = '_easy_invoice_total';
    
    // Customer Information
    public const CUSTOMER_ID = '_easy_invoice_customer_id';
    public const CUSTOMER_NAME = '_easy_invoice_customer_name';
    public const CUSTOMER_EMAIL = '_easy_invoice_customer_email';
    public const CUSTOMER_ADDRESS = '_easy_invoice_customer_address';
    
    // Shipping Information
    public const SHIPPING_NAME = '_easy_invoice_shipping_name';
    public const SHIPPING_ADDRESS = '_easy_invoice_shipping_address';
    
    // Line Items
    public const ITEMS = '_easy_invoice_items';
    
    // Template
    public const TEMPLATE = '_easy_invoice_invoice_template';
    public const QUOTE_TEMPLATE = '_easy_invoice_quote_template';
} 