PluginProbe
Easy Invoice – Invoice Generator, PDF Quotes & Payments / 2.3.2
Easy Invoice – Invoice Generator, PDF Quotes & Payments v2.3.2
2.4.0 2.4.1 2.3.8 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.0 2.1.21 2.1.20 2.1.19 2.1.18 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.2 All 57 releases
easy-invoice / includes / Constants / InvoiceMetaKeys.php

InvoiceMetaKeys.php in Easy Invoice – Invoice Generator, PDF Quotes & Payments 2.3.2, at includes/Constants/InvoiceMetaKeys.php

56 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Invoice Meta Keys Constants
4 *
5 * @package Easy_Invoice
6 * @subpackage Constants
7 */
8
9 namespace EasyInvoice\Constants;
10
11 /**
12 * InvoiceMetaKeys Class
13 *
14 * Contains all meta keys used for the invoice post type.
15 */
16 class InvoiceMetaKeys {
17 // Invoice Details
18 const NUMBER = '_easy_invoice_number';
19 const ISSUE_DATE = '_easy_invoice_issue_date';
20 const DUE_DATE = '_easy_invoice_due_date';
21 const STATUS = '_easy_invoice_status';
22 const NOTES = '_easy_invoice_notes';
23 const TERMS = '_easy_invoice_terms';
24 const INTERNAL_NOTES = '_easy_invoice_internal_notes';
25 const PAYMENT_INSTRUCTIONS = '_easy_invoice_payment_instructions';
26 const PAYMENT_GATEWAYS = '_easy_invoice_payment_gateways';
27
28 // Customer Information
29 const CUSTOMER_NAME = '_easy_invoice_customer_name';
30 const CUSTOMER_ADDRESS = '_easy_invoice_customer_address';
31 const CUSTOMER_EMAIL = '_easy_invoice_customer_email';
32
33 // Shipping Information
34 const SHIPPING_NAME = '_easy_invoice_shipping_name';
35 const SHIPPING_ADDRESS = '_easy_invoice_shipping_address';
36
37 // Financial Information
38 const DISCOUNT_TYPE = '_easy_invoice_discount_type';
39 const DISCOUNT_VALUE = '_easy_invoice_discount_value';
40 const CALCULATION_METHOD = '_easy_invoice_calculation_method';
41 const TAX_RATE = '_easy_invoice_tax_rate';
42 const PRICES_INCLUDE_TAX = '_easy_invoice_prices_include_tax';
43 const CURRENCY_CODE = '_easy_invoice_currency_code';
44 const CURRENCY_POSITION = '_easy_invoice_currency_position';
45
46 /**
47 * Footer text meta key
48 */
49 const FOOTER_TEXT = '_invoice_footer_text';
50
51 /**
52 * Get all meta keys
53 *
54 * @return array
55 */
56 }