Class: AdvancedBilling::TaxConfigurationKind

Inherits:
Object
  • Object
show all
Defined in:
lib/advanced_billing/models/tax_configuration_kind.rb

Overview

Tax Configuration Kind.

Constant Summary collapse

TAX_CONFIGURATION_KIND =
[
  # TODO: Write general description for CUSTOM
  CUSTOM = 'custom'.freeze,

  # TODO: Write general description for ENUM_MANAGED_AVALARA
  ENUM_MANAGED_AVALARA = 'managed avalara'.freeze,

  # TODO: Write general description for ENUM_LINKED_AVALARA
  ENUM_LINKED_AVALARA = 'linked avalara'.freeze,

  # TODO: Write general description for ENUM_DIGITAL_RIVER
  ENUM_DIGITAL_RIVER = 'digital river'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



23
24
25
26
27
# File 'lib/advanced_billing/models/tax_configuration_kind.rb', line 23

def self.validate(value)
  return false if value.nil?

  TAX_CONFIGURATION_KIND.include?(value)
end