| 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 |
} |