Class: AdvancedBilling::ProformaInvoiceTaxSourceType
- Inherits:
-
Object
- Object
- AdvancedBilling::ProformaInvoiceTaxSourceType
- Defined in:
- lib/advanced_billing/models/proforma_invoice_tax_source_type.rb
Overview
Proforma Invoice Tax Source Type.
Constant Summary collapse
- PROFORMA_INVOICE_TAX_SOURCE_TYPE =
[ # TODO: Write general description for TAX TAX = 'Tax'.freeze, # TODO: Write general description for AVALARA AVALARA = 'Avalara'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
17 18 19 20 21 |
# File 'lib/advanced_billing/models/proforma_invoice_tax_source_type.rb', line 17 def self.validate(value) return false if value.nil? PROFORMA_INVOICE_TAX_SOURCE_TYPE.include?(value) end |