Class: FactPulse::SchemeID
- Inherits:
-
Object
- Object
- FactPulse::SchemeID
- Defined in:
- lib/factpulse/models/scheme_id.rb
Constant Summary collapse
- FR_SIREN =
"0225".freeze
- FR_SIRET =
"0009".freeze
- FR_SIREN_OLD =
"0002".freeze
- GLN =
"0088".freeze
- DUNS =
"0060".freeze
- FR_VAT_INTRA =
"9957".freeze
- GLEIF =
"0199".freeze
- DT_DIRECTORY_ID =
"0231".freeze
- EMAIL =
"EM".freeze
- ODETTE =
"0177".freeze
- FR_CHORUS_PRO_ROUTING =
"0224".freeze
- DE_VAT =
"9930".freeze
- AT_VAT =
"9915".freeze
- BE_VAT =
"9956".freeze
- ES_VAT =
"9920".freeze
- IT_VAT =
"9906".freeze
- NL_VAT =
"9944".freeze
- PT_VAT =
"9934".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
37 38 39 |
# File 'lib/factpulse/models/scheme_id.rb', line 37 def self.all_vars @all_vars ||= [FR_SIREN, FR_SIRET, FR_SIREN_OLD, GLN, DUNS, FR_VAT_INTRA, GLEIF, DT_DIRECTORY_ID, EMAIL, ODETTE, FR_CHORUS_PRO_ROUTING, DE_VAT, AT_VAT, BE_VAT, ES_VAT, IT_VAT, NL_VAT, PT_VAT].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
44 45 46 |
# File 'lib/factpulse/models/scheme_id.rb', line 44 def self.build_from_hash(value) new.build_from_hash(value) end |