eddy 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +103 -37
- data/.solargraph.yml +4 -0
- data/.vscode/settings.json +17 -0
- data/.yardopts +2 -2
- data/CHANGELOG.md +50 -0
- data/Gemfile.lock +21 -7
- data/README.md +32 -3
- data/Rakefile +1 -10
- data/data/004010/code-lists/100.tsv +164 -0
- data/data/004010/code-lists/156.tsv +52 -0
- data/data/004010/code-lists/26.tsv +499 -0
- data/data/004010/code-lists/etc/100-fancy-definitions.tsv +164 -0
- data/data/004010/code-lists/etc/100-with-funds-codes.tsv +180 -0
- data/data/004010/code-lists/etc/26-alpha2.tsv +250 -0
- data/data/004010/code-lists/etc/26-alpha3.tsv +250 -0
- data/data/004010/elements-short.tsv +1405 -0
- data/data/004010/elements.tsv +3 -3
- data/data/004010/segments.tsv +1009 -1003
- data/data/004010/segments/ack.segment.yml +15 -0
- data/data/004010/segments/bak.segment.yml +9 -0
- data/data/004010/segments/beg.segment.yml +17 -0
- data/data/004010/segments/big.segment.yml +10 -0
- data/data/004010/segments/bsn.segment.yml +10 -0
- data/data/004010/segments/cad.segment.yml +14 -0
- data/data/004010/segments/ctp.segment.yml +19 -0
- data/data/004010/segments/ctt.segment.yml +13 -0
- data/data/004010/segments/dtm.segment.yml +7 -0
- data/data/004010/segments/envelope/ge.segment.yml +7 -0
- data/data/004010/segments/envelope/gs.segment.yml +13 -0
- data/data/004010/segments/envelope/iea.segment.yml +8 -0
- data/data/004010/segments/envelope/isa.segment.yml +22 -0
- data/data/004010/segments/envelope/se.segment.yml +7 -0
- data/data/004010/segments/envelope/st.segment.yml +12 -0
- data/data/004010/segments/hl.segment.yml +9 -0
- data/data/004010/segments/it1.segment.yml +20 -0
- data/data/004010/segments/lin.segment.yml +10 -0
- data/data/004010/segments/loop/hl.segment.yml +8 -0
- data/data/004010/segments/man.segment.yml +7 -0
- data/data/004010/segments/n1.segment.yml +9 -0
- data/data/004010/segments/n2.segment.yml +7 -0
- data/data/004010/segments/n3.segment.yml +6 -0
- data/data/004010/segments/n4.segment.yml +9 -0
- data/data/004010/segments/pid.segment.yml +10 -0
- data/data/004010/segments/po1.segment.yml +14 -0
- data/data/004010/segments/prf.segment.yml +9 -0
- data/data/004010/segments/ref.segment.yml +7 -0
- data/data/004010/segments/sac.segment.yml +20 -0
- data/data/004010/segments/sln.segment.yml +12 -0
- data/data/004010/segments/sn1.segment.yml +11 -0
- data/data/004010/segments/td1.segment.yml +13 -0
- data/data/004010/segments/td5.segment.yml +11 -0
- data/data/004010/segments/tds.segment.yml +10 -0
- data/data/schema/element_summary.json +60 -0
- data/data/schema/loop_summary.json +49 -0
- data/data/schema/segment_summary.json +66 -0
- data/data/schema/src/element_summary.schema.yml +73 -0
- data/data/schema/src/loop_summary.schema.yml +50 -0
- data/data/schema/src/segment_summary.schema.yml +59 -0
- data/data/schema/src/transaction_set_summary.schema.yml +27 -0
- data/data/schema/transaction_set_summary.json +33 -0
- data/data/sources.md +114 -145
- data/eddy.gemspec +6 -3
- data/exe/eddy +14 -0
- data/lib/definitions/elements/generated/1005.hierarchical_structure_code.rb +98 -0
- data/lib/definitions/elements/generated/1019.invoice_type_code.rb +40 -0
- data/lib/definitions/elements/generated/103.packaging_code.rb +29 -0
- data/lib/definitions/elements/generated/1166.contract_type_code.rb +87 -0
- data/lib/definitions/elements/generated/1232.purchase_category.rb +53 -0
- data/lib/definitions/elements/generated/127.reference_identification.rb +29 -0
- data/lib/definitions/elements/generated/128.reference_identification_qualifier.rb +1540 -0
- data/lib/definitions/elements/generated/1300.service_promotion_allowance_or_charge_code.rb +1090 -0
- data/lib/definitions/elements/generated/1301.agency_service_promotion_allowance_or_charge_code.rb +29 -0
- data/lib/definitions/elements/generated/133.routing_sequence_code.rb +60 -0
- data/lib/definitions/elements/generated/166.address_information.rb +29 -0
- data/lib/definitions/elements/generated/183.volume.rb +29 -0
- data/lib/definitions/elements/generated/187.weight_qualifier.rb +88 -0
- data/lib/definitions/elements/generated/19.city_name.rb +29 -0
- data/lib/definitions/elements/generated/206.equipment_initial.rb +29 -0
- data/lib/definitions/elements/generated/207.equipment_number.rb +29 -0
- data/lib/definitions/elements/generated/212.unit_price.rb +29 -0
- data/lib/definitions/elements/generated/22.commodity_code.rb +29 -0
- data/lib/definitions/elements/generated/23.commodity_code_qualifier.rb +60 -0
- data/lib/definitions/elements/generated/234.product_service_id.rb +29 -0
- data/lib/definitions/elements/generated/235.product_service_id_qualifier.rb +514 -0
- data/lib/definitions/elements/generated/236.price_identifier_code.rb +201 -0
- data/lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb +44 -0
- data/lib/definitions/elements/generated/26.country_code.rb +535 -0
- data/lib/definitions/elements/generated/284.service_level_code.rb +103 -0
- data/lib/definitions/elements/generated/324.purchase_order_number.rb +29 -0
- data/lib/definitions/elements/generated/326.request_reference_number.rb +29 -0
- data/lib/definitions/elements/generated/327.change_order_sequence_number.rb +29 -0
- data/lib/definitions/elements/generated/328.release_number.rb +29 -0
- data/lib/definitions/elements/generated/330.quantity_ordered.rb +29 -0
- data/lib/definitions/elements/generated/347.hash_total.rb +29 -0
- data/lib/definitions/elements/generated/349.item_description_type.rb +40 -0
- data/lib/definitions/elements/generated/352.description.rb +29 -0
- data/lib/definitions/elements/generated/353.transaction_set_purpose_code.rb +102 -0
- data/lib/definitions/elements/generated/354.number_of_line_items.rb +30 -0
- data/lib/definitions/elements/generated/355.unit_or_basis_for_measurement_code.rb +831 -0
- data/lib/definitions/elements/generated/358.quantity_invoiced.rb +29 -0
- data/lib/definitions/elements/generated/367.contract_number.rb +29 -0
- data/lib/definitions/elements/generated/368.shipment_order_status_code.rb +139 -0
- data/lib/definitions/elements/generated/374.date_time_qualifier.rb +1149 -0
- data/lib/definitions/elements/generated/380.quantity.rb +29 -0
- data/lib/definitions/elements/generated/382.number_of_units_shipped.rb +29 -0
- data/lib/definitions/elements/generated/387.routing.rb +29 -0
- data/lib/definitions/elements/generated/396.shipment_identification.rb +29 -0
- data/lib/definitions/elements/generated/559.agency_qualifier_code.rb +213 -0
- data/lib/definitions/elements/generated/587.acknowledgment_type.rb +52 -0
- data/lib/definitions/elements/generated/610.amount.rb +30 -0
- data/lib/definitions/elements/generated/639.basis_of_unit_price_code.rb +128 -0
- data/lib/definitions/elements/generated/640.transaction_type_code.rb +483 -0
- data/lib/definitions/elements/generated/646.quantity_shipped_to_date.rb +29 -0
- data/lib/definitions/elements/generated/648.price_multiplier_qualifier.rb +43 -0
- data/lib/definitions/elements/generated/649.multiplier.rb +29 -0
- data/lib/definitions/elements/generated/66.identification_code_qualifier.rb +252 -0
- data/lib/definitions/elements/generated/662.relationship_code.rb +42 -0
- data/lib/definitions/elements/generated/668.line_item_status_code.rb +63 -0
- data/lib/definitions/elements/generated/67.identification_code.rb +29 -0
- data/lib/definitions/elements/generated/687.class_of_trade_code.rb +89 -0
- data/lib/definitions/elements/generated/750.product_process_characteristic_code.rb +254 -0
- data/lib/definitions/elements/generated/751.product_description_code.rb +29 -0
- data/lib/definitions/elements/generated/76.invoice_number.rb +29 -0
- data/lib/definitions/elements/generated/782.monetary_amount.rb +29 -0
- data/lib/definitions/elements/generated/786.security_level_code.rb +54 -0
- data/lib/definitions/elements/generated/79.lading_description.rb +29 -0
- data/lib/definitions/elements/generated/80.lading_quantity.rb +30 -0
- data/lib/definitions/elements/generated/87.marks_and_numbers.rb +29 -0
- data/lib/definitions/elements/generated/88.marks_and_numbers_qualifier.rb +57 -0
- data/lib/definitions/elements/generated/91.transportation_method_type_code.rb +108 -0
- data/lib/definitions/elements/generated/92.purchase_order_type_code.rb +106 -0
- data/lib/definitions/elements/generated/98.entity_identifier_code.rb +1349 -0
- data/lib/definitions/elements/manual/116.postal_code.rb +44 -0
- data/lib/definitions/elements/manual/124.application_receivers_code.rb +29 -0
- data/lib/definitions/elements/manual/140.standard_carrier_alpha_code.rb +211 -0
- data/lib/definitions/elements/manual/142.application_senders_code.rb +29 -0
- data/lib/definitions/elements/manual/143.transaction_set_identifier_code.rb +335 -0
- data/lib/definitions/elements/manual/156.state_or_province_code.rb +92 -0
- data/lib/definitions/elements/manual/28.group_control_number.rb +34 -0
- data/lib/definitions/elements/manual/329.transactional_set_control_number.rb +35 -0
- data/lib/definitions/elements/manual/337.time.rb +30 -0
- data/lib/definitions/elements/manual/350.assigned_identification.rb +33 -0
- data/lib/definitions/elements/manual/373.date.rb +30 -0
- data/lib/definitions/elements/manual/455.responsible_agency_code.rb +43 -0
- data/lib/definitions/elements/manual/479.functional_identifier_code.rb +271 -0
- data/lib/definitions/elements/manual/480.version_release_industry_identifier_code.rb +145 -0
- data/lib/definitions/elements/manual/784.length_of_binary_data.rb +30 -0
- data/lib/definitions/elements/manual/785.binary_data.rb +30 -0
- data/lib/definitions/elements/manual/96.number_of_included_segments.rb +30 -0
- data/lib/definitions/elements/manual/97.number_of_transaction_sets_included.rb +30 -0
- data/lib/definitions/elements/manual/hl/628.hierarchical_id_number.rb +29 -0
- data/lib/definitions/elements/manual/hl/734.hierarchical_parent_id_number.rb +29 -0
- data/lib/definitions/elements/manual/hl/735.hierarchical_level_code.rb +207 -0
- data/lib/definitions/elements/manual/hl/736.hierarchical_child_code.rb +39 -0
- data/lib/definitions/elements/manual/i/I01.authorization_information_qualifier.rb +48 -0
- data/lib/definitions/elements/manual/i/I02.authorization_information.rb +33 -0
- data/lib/definitions/elements/manual/i/I03.security_information_qualifier.rb +43 -0
- data/lib/definitions/elements/manual/i/I04.security_information.rb +33 -0
- data/lib/definitions/elements/manual/i/I05.interchange_id_qualifier.rb +75 -0
- data/lib/definitions/elements/manual/i/I06.interchange_sender_id.rb +29 -0
- data/lib/definitions/elements/manual/i/I07.interchange_receiver_id.rb +29 -0
- data/lib/definitions/elements/manual/i/I08.interchange_date.rb +35 -0
- data/lib/definitions/elements/manual/i/I09.interchange_time.rb +36 -0
- data/lib/definitions/elements/manual/i/I10.interchange_control_standards_identifier.rb +42 -0
- data/lib/definitions/elements/manual/i/I11.interchange_control_version_number.rb +55 -0
- data/lib/definitions/elements/manual/i/I12.interchange_control_number.rb +34 -0
- data/lib/definitions/elements/manual/i/I13.acknowledgment_requested.rb +43 -0
- data/lib/definitions/elements/manual/i/I14.usage_indicator.rb +40 -0
- data/lib/definitions/elements/manual/i/I15.component_element_separator.rb +36 -0
- data/lib/definitions/elements/manual/i/I16.number_of_included_functional_groups.rb +30 -0
- data/lib/definitions/elements/manual/misc/81.weight.rb +29 -0
- data/lib/definitions/elements/manual/misc/93.name.rb +29 -0
- data/lib/definitions/segments/generated/ack.rb +192 -0
- data/lib/definitions/segments/generated/bak.rb +90 -0
- data/lib/definitions/segments/generated/beg.rb +226 -0
- data/lib/definitions/segments/generated/big.rb +107 -0
- data/lib/definitions/segments/generated/bsn.rb +107 -0
- data/lib/definitions/segments/generated/cad.rb +175 -0
- data/lib/definitions/segments/generated/ctp.rb +158 -0
- data/lib/definitions/segments/generated/ctt.rb +141 -0
- data/lib/definitions/segments/generated/dtm.rb +56 -0
- data/lib/definitions/segments/generated/it1.rb +277 -0
- data/lib/definitions/segments/generated/lin.rb +107 -0
- data/lib/definitions/segments/generated/man.rb +56 -0
- data/lib/definitions/segments/generated/n1.rb +90 -0
- data/lib/definitions/segments/generated/n3.rb +39 -0
- data/lib/definitions/segments/generated/n4.rb +90 -0
- data/lib/definitions/segments/generated/pid.rb +107 -0
- data/lib/definitions/segments/generated/po1.rb +175 -0
- data/lib/definitions/segments/generated/prf.rb +90 -0
- data/lib/definitions/segments/generated/ref.rb +56 -0
- data/lib/definitions/segments/generated/sac.rb +107 -0
- data/lib/definitions/segments/generated/sln.rb +141 -0
- data/lib/definitions/segments/generated/sn1.rb +124 -0
- data/lib/definitions/segments/generated/td1.rb +158 -0
- data/lib/definitions/segments/generated/td5.rb +107 -0
- data/lib/definitions/segments/generated/tds.rb +39 -0
- data/lib/definitions/segments/manual/envelopes/ge.rb +53 -0
- data/lib/definitions/segments/manual/envelopes/gs.rb +163 -0
- data/lib/definitions/segments/manual/envelopes/iea.rb +53 -0
- data/lib/definitions/segments/manual/envelopes/isa.rb +295 -0
- data/lib/definitions/segments/manual/envelopes/se.rb +52 -0
- data/lib/definitions/segments/manual/envelopes/st.rb +52 -0
- data/lib/definitions/segments/manual/hl.rb +96 -0
- data/lib/definitions/segments/manual/n2.rb +52 -0
- data/lib/definitions/transaction_sets/manual/810/810.rb +143 -0
- data/lib/definitions/transaction_sets/manual/810/loops.rb +109 -0
- data/lib/definitions/transaction_sets/manual/850/850.rb +92 -0
- data/lib/definitions/transaction_sets/manual/850/loops.rb +58 -0
- data/lib/definitions/transaction_sets/manual/855/855.rb +83 -0
- data/lib/definitions/transaction_sets/manual/855/loops.rb +104 -0
- data/lib/definitions/transaction_sets/manual/856/856.rb +83 -0
- data/lib/definitions/transaction_sets/manual/856/loops.rb +155 -0
- data/lib/eddy.rb +29 -7
- data/lib/eddy/build/build.rb +47 -0
- data/lib/eddy/build/elements/element.rb +67 -0
- data/lib/eddy/build/elements/elements.rb +46 -0
- data/lib/eddy/build/elements/id.rb +55 -0
- data/lib/eddy/build/elements/n.rb +48 -0
- data/lib/eddy/build/loop_builder.rb +93 -0
- data/lib/eddy/build/segment_builder.rb +169 -0
- data/lib/eddy/build/transaction_set_builder.rb +218 -0
- data/lib/eddy/cli/cli.rb +39 -0
- data/lib/eddy/config.rb +51 -0
- data/lib/eddy/data.rb +50 -0
- data/lib/eddy/data/persistence/active_record.rb +10 -0
- data/lib/eddy/data/persistence/base.rb +47 -0
- data/lib/eddy/data/persistence/file.rb +50 -0
- data/lib/eddy/data/persistence/memory.rb +65 -0
- data/lib/eddy/data/store.rb +108 -0
- data/lib/eddy/errors.rb +112 -0
- data/lib/eddy/models/element.rb +14 -0
- data/lib/eddy/models/element/an.rb +55 -0
- data/lib/eddy/models/element/b.rb +53 -0
- data/lib/eddy/models/element/base.rb +116 -0
- data/lib/eddy/models/element/composite.rb +6 -0
- data/lib/eddy/models/element/dt.rb +100 -0
- data/lib/eddy/models/element/id.rb +58 -0
- data/lib/eddy/models/element/n.rb +94 -0
- data/lib/eddy/models/element/r.rb +84 -0
- data/lib/eddy/models/element/tm.rb +113 -0
- data/lib/eddy/models/loop.rb +74 -0
- data/lib/eddy/models/segment.rb +35 -0
- data/lib/eddy/models/transaction_set.rb +101 -0
- data/lib/eddy/parse.rb +58 -0
- data/lib/eddy/schema/element_summary.rb +123 -0
- data/lib/eddy/schema/loop_summary.rb +101 -0
- data/lib/eddy/schema/segment_summary.rb +116 -0
- data/lib/eddy/schema/transaction_set_summary.rb +96 -0
- data/lib/eddy/schema/validate.rb +41 -0
- data/lib/eddy/util.rb +16 -0
- data/lib/eddy/util/clean_folder.rb +14 -0
- data/lib/eddy/util/edi_data.rb +153 -0
- data/lib/eddy/util/new_number.rb +24 -0
- data/lib/eddy/util/normalize.rb +51 -0
- data/lib/eddy/util/paths.rb +19 -0
- data/lib/eddy/util/read.rb +38 -0
- data/lib/eddy/util/time.rb +56 -0
- data/lib/eddy/util/timestamp.rb +12 -0
- data/lib/eddy/util/trim.rb +29 -0
- data/lib/eddy/version.rb +1 -1
- data/lib/eddy/write/functional_group.rb +33 -0
- data/lib/eddy/write/interchange.rb +28 -0
- data/lib/eddy/write/simple_interchange.rb +57 -0
- data/lib/generators/eddy/initializer/initializer_generator.rb +17 -0
- data/lib/generators/eddy/initializer/templates/eddy.rb.erb +6 -0
- data/lib/generators/eddy/migration/migration_generator.rb +53 -0
- data/lib/generators/eddy/migration/templates/migration.rb.erb +35 -0
- data/tasks/build.rake +15 -0
- data/tasks/misc/gemspec.rake +12 -0
- data/tasks/misc/missing_lists.rake +240 -0
- data/tasks/misc/yaml2json.rake +20 -0
- data/todo.txt +16 -0
- metadata +297 -42
- data/data/004010/segments/ISA.tsv +0 -17
- data/data/schema.jsonc +0 -67
- data/lib/eddy/build/build_an.rb +0 -31
- data/lib/eddy/build/build_dt.rb +0 -46
- data/lib/eddy/build/build_elements.rb +0 -181
- data/lib/eddy/build/build_id.rb +0 -56
- data/lib/eddy/build/build_r_and_n.rb +0 -69
- data/lib/eddy/build/build_tm.rb +0 -52
- data/lib/eddy/build/segments.rb +0 -25
- data/lib/eddy/definitions/manual/elements/109.dt.pickup_date.rb +0 -20
- data/lib/eddy/definitions/manual/elements/111.tm.pickup_time.rb +0 -20
- data/lib/eddy/definitions/manual/elements/112.an.pier_name.rb +0 -19
- data/lib/eddy/definitions/manual/elements/785.b.binary_data.rb +0 -19
- data/lib/eddy/definitions/manual/elements/81.r.weight.rb +0 -19
- data/lib/eddy/definitions/manual/elements/86.n0.total_equipment.rb +0 -20
- data/lib/eddy/definitions/manual/elements/I02.authorization_information.rb +0 -20
- data/lib/eddy/definitions/manual/elements/I04.security_information.rb +0 -20
- data/lib/eddy/definitions/manual/elements/I08.interchange_date.rb +0 -20
- data/lib/eddy/definitions/manual/elements/I09.interchange_time.rb +0 -20
- data/lib/eddy/definitions/manual/elements/I15.component_element_separator.rb +0 -32
- data/lib/eddy/definitions/manual/segments/n1.rb +0 -14
- data/lib/eddy/element.rb +0 -14
- data/lib/eddy/element/an.rb +0 -36
- data/lib/eddy/element/b.rb +0 -9
- data/lib/eddy/element/base.rb +0 -37
- data/lib/eddy/element/dt.rb +0 -89
- data/lib/eddy/element/id.rb +0 -40
- data/lib/eddy/element/n.rb +0 -43
- data/lib/eddy/element/r.rb +0 -47
- data/lib/eddy/element/tm.rb +0 -108
- data/lib/eddy/error.rb +0 -14
- data/lib/eddy/helpers.rb +0 -31
- data/lib/eddy/segment.rb +0 -12
- data/lib/eddy/transaction_set.rb +0 -35
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
module Eddy
|
|
2
|
+
module Elements
|
|
3
|
+
# ### Element Summary:
|
|
4
|
+
#
|
|
5
|
+
# - Id: 236
|
|
6
|
+
# - Name: Price Identifier Code
|
|
7
|
+
# - Type: ID
|
|
8
|
+
# - Min/Max: 3/3
|
|
9
|
+
# - Description: Code identifying pricing specification
|
|
10
|
+
class E236 < Eddy::Element::ID
|
|
11
|
+
|
|
12
|
+
# @param val [String]
|
|
13
|
+
# @param req [String]
|
|
14
|
+
# @param ref [String]
|
|
15
|
+
# @return [void]
|
|
16
|
+
def initialize(val: nil, req: nil, ref: nil)
|
|
17
|
+
@id = "236"
|
|
18
|
+
@name = "Price Identifier Code"
|
|
19
|
+
@description = "Code identifying pricing specification"
|
|
20
|
+
super(
|
|
21
|
+
min: 3,
|
|
22
|
+
max: 3,
|
|
23
|
+
req: req,
|
|
24
|
+
ref: ref,
|
|
25
|
+
val: val,
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# @return [Array<String>]
|
|
30
|
+
def code_list()
|
|
31
|
+
return [
|
|
32
|
+
"ACT", # Actual
|
|
33
|
+
"AGC", # Average Generic Product Price
|
|
34
|
+
"ALT", # Alternate Price
|
|
35
|
+
"AWP", # Average Wholesale Price
|
|
36
|
+
"BBP", # Balance-Based Price
|
|
37
|
+
"BCH", # Base Charge
|
|
38
|
+
"C01", # Contract Tier 1
|
|
39
|
+
"C02", # Contract Tier 2
|
|
40
|
+
"C03", # Contract Tier 3
|
|
41
|
+
"C04", # Contract Tier 4
|
|
42
|
+
"C05", # Contract Tier 5
|
|
43
|
+
"C06", # Contract Tier 6
|
|
44
|
+
"C07", # Contract Tier 7
|
|
45
|
+
"C08", # Contract Tier 8
|
|
46
|
+
"C09", # Contract Tier 9
|
|
47
|
+
"C10", # Contract Tier 10
|
|
48
|
+
"C11", # Contract Tier 11
|
|
49
|
+
"C12", # Contract Tier 12
|
|
50
|
+
"C13", # Contract Tier 13
|
|
51
|
+
"C14", # Contract Tier 14
|
|
52
|
+
"C15", # Contract Tier 15
|
|
53
|
+
"C16", # Contract Tier 16
|
|
54
|
+
"C17", # Contract Tier 17
|
|
55
|
+
"C18", # Contract Tier 18
|
|
56
|
+
"C19", # Contract Tier 19
|
|
57
|
+
"C20", # Contract Tier 20
|
|
58
|
+
"C21", # Contract Tier 21
|
|
59
|
+
"C22", # Contract Tier 22
|
|
60
|
+
"C23", # Contract Tier 23
|
|
61
|
+
"C24", # Contract Tier 24
|
|
62
|
+
"C25", # Contract Tier 25
|
|
63
|
+
"C26", # Contract Tier 26
|
|
64
|
+
"C27", # Contract Tier 27
|
|
65
|
+
"C28", # Contract Tier 28
|
|
66
|
+
"C29", # Contract Tier 29
|
|
67
|
+
"C30", # Contract Tier 30
|
|
68
|
+
"CAN", # Cancellation Charge
|
|
69
|
+
"CAT", # Catalog Price
|
|
70
|
+
"CDF", # Central Distribution Facility (Warehouse)
|
|
71
|
+
"CDV", # Current Domestic Value
|
|
72
|
+
"CHG", # Changed Price
|
|
73
|
+
"CON", # Contract Price
|
|
74
|
+
"CUP", # Confirmed Unit Price
|
|
75
|
+
"CUS", # Declared Customs Unit Value
|
|
76
|
+
"D01", # Federal Supply Schedule (FSS) Price
|
|
77
|
+
"D02", # Depot Price
|
|
78
|
+
"D03", # Distribution and Pricing Agreement (DAPA) Price
|
|
79
|
+
"DAP", # Dealer Adjusted Price
|
|
80
|
+
"DIS", # Distributor's Price
|
|
81
|
+
"DPR", # Discount Price
|
|
82
|
+
"DSC", # Discount Amount Allowed
|
|
83
|
+
"DSD", # Direct Store Delivery
|
|
84
|
+
"DSP", # Direct Ship Program Price
|
|
85
|
+
"EDM", # Emergency Direct Ship Price (Original Equipment Manufacturer)
|
|
86
|
+
"EDP", # Emergency Direct Ship Price
|
|
87
|
+
"EDS", # Emergency Direct Ship Price (Supplier)
|
|
88
|
+
"EDW", # Emergency Direct Ship Price (Warehouse)
|
|
89
|
+
"ELC", # Estimated Landed Cost
|
|
90
|
+
"EST", # Estimated Price
|
|
91
|
+
"EUP", # Expected Unit Price
|
|
92
|
+
"FCH", # Flat Charge
|
|
93
|
+
"FCP", # First Cost Price
|
|
94
|
+
"FDS", # Frequent Delivery Service
|
|
95
|
+
"FET", # Federal Excise Tax
|
|
96
|
+
"FGP", # Free Goods Price
|
|
97
|
+
"FSP", # Free Service Price
|
|
98
|
+
"FUL", # Federal Upper Limit Price (Maximum Allowable Cost Pricing for Drugs)
|
|
99
|
+
"FUP", # Firm Price - Do Not Advise
|
|
100
|
+
"GAP", # Advertising Price
|
|
101
|
+
"GDP", # Display Price
|
|
102
|
+
"GOV", # Government Price
|
|
103
|
+
"GSP", # Shelf Price
|
|
104
|
+
"GTP", # Temporary Price Reduction Price
|
|
105
|
+
"ICL", # Unit Price Through Quantity
|
|
106
|
+
"IND", # Industrial Price
|
|
107
|
+
"INS", # Institutional Price
|
|
108
|
+
"INV", # Invoice Billing Price
|
|
109
|
+
"LAR", # Labor Rate
|
|
110
|
+
"LPP", # Lease to Purchase Price
|
|
111
|
+
"LPR", # List Price
|
|
112
|
+
"MAP", # Mandatory to Advise Unit Price
|
|
113
|
+
"MAS", # Minimum Activity Surcharge
|
|
114
|
+
"MAX", # Maximum Order Quantity Price
|
|
115
|
+
"MIN", # Minimum Order Quantity Price
|
|
116
|
+
"MNC", # Minimum Charge
|
|
117
|
+
"MNR", # Minimum Release Quantity Price
|
|
118
|
+
"MOD", # Modal Premium
|
|
119
|
+
"MPR", # Maximum Price Reduction
|
|
120
|
+
"MSR", # Manufacturer's Suggested Retail
|
|
121
|
+
"MXR", # Maximum Release Quantity Price
|
|
122
|
+
"N01", # Noncontract Tier 1
|
|
123
|
+
"N02", # Noncontract Tier 2
|
|
124
|
+
"N03", # Noncontract Tier 3
|
|
125
|
+
"N04", # Noncontract Tier 4
|
|
126
|
+
"N05", # Noncontract Tier 5
|
|
127
|
+
"N06", # Noncontract Tier 6
|
|
128
|
+
"N07", # Noncontract Tier 7
|
|
129
|
+
"N08", # Noncontract Tier 8
|
|
130
|
+
"N09", # Noncontract Tier 9
|
|
131
|
+
"N10", # Noncontract Tier 10
|
|
132
|
+
"N11", # Noncontract Tier 11
|
|
133
|
+
"N12", # Noncontract Tier 12
|
|
134
|
+
"N13", # Noncontract Tier 13
|
|
135
|
+
"N14", # Noncontract Tier 14
|
|
136
|
+
"N15", # Noncontract Tier 15
|
|
137
|
+
"N16", # Noncontract Tier 16
|
|
138
|
+
"N17", # Noncontract Tier 17
|
|
139
|
+
"N18", # Noncontract Tier 18
|
|
140
|
+
"N19", # Noncontract Tier 19
|
|
141
|
+
"N20", # Noncontract Tier 20
|
|
142
|
+
"N21", # Noncontract Tier 21
|
|
143
|
+
"N22", # Noncontract Tier 22
|
|
144
|
+
"N23", # Noncontract Tier 23
|
|
145
|
+
"N24", # Noncontract Tier 24
|
|
146
|
+
"N25", # Noncontract Tier 25
|
|
147
|
+
"N26", # Noncontract Tier 26
|
|
148
|
+
"N27", # Noncontract Tier 27
|
|
149
|
+
"N28", # Noncontract Tier 28
|
|
150
|
+
"N29", # Noncontract Tier 29
|
|
151
|
+
"N30", # Noncontract Tier 30
|
|
152
|
+
"N31", # No Charge
|
|
153
|
+
"NET", # Net Item Price
|
|
154
|
+
"OAP", # Optional to Advise Unit Price
|
|
155
|
+
"OPP", # Original Purchase Order Price
|
|
156
|
+
"PAP", # Protection Level Price
|
|
157
|
+
"PAQ", # Price Break Quantity(s)
|
|
158
|
+
"PBQ", # Unit Price Beginning Quantity
|
|
159
|
+
"PBR", # Price Break Purchase Order Count
|
|
160
|
+
"PHS", # Public Health Service Price
|
|
161
|
+
"PIE", # Price in Effect at Time of Shipment
|
|
162
|
+
"PLT", # Producing Plant Price
|
|
163
|
+
"PPA", # Packing Level Price
|
|
164
|
+
"PPD", # Prepaid Freight Charges
|
|
165
|
+
"PRF", # Professional Price
|
|
166
|
+
"PRO", # Producer's Price
|
|
167
|
+
"PRP", # Promotional price
|
|
168
|
+
"PUR", # Purchase
|
|
169
|
+
"QTE", # Quote Price
|
|
170
|
+
"REG", # Regular Charge
|
|
171
|
+
"RES", # Resale
|
|
172
|
+
"RPA", # Rental Price, Annual
|
|
173
|
+
"RPM", # Rental Price, Monthly
|
|
174
|
+
"RPP", # Replacement Price
|
|
175
|
+
"RSH", # Rush Charge
|
|
176
|
+
"RTL", # Retail
|
|
177
|
+
"SAC", # Service Attempted Charge
|
|
178
|
+
"SDP", # Suggested Dealer Net Price
|
|
179
|
+
"SFP", # Suggested Fleet Price
|
|
180
|
+
"SHD", # Ship and Debit
|
|
181
|
+
"SLP", # Suggested List Price
|
|
182
|
+
"SPC", # Special Price
|
|
183
|
+
"SPE", # Single Price (Factors Equalized)
|
|
184
|
+
"STA", # Standard Price
|
|
185
|
+
"SUM", # Sum of Line Items
|
|
186
|
+
"SWP", # Suggested Wholesale Price
|
|
187
|
+
"THP", # Threshold Price
|
|
188
|
+
"TOT", # Total Invoice Amount Due
|
|
189
|
+
"TRF", # Transfer
|
|
190
|
+
"UCP", # Unit cost price
|
|
191
|
+
"ULC", # Unsalable Item List Cost
|
|
192
|
+
"WAR", # Public Warehouse Price
|
|
193
|
+
"WHL", # Wholesale
|
|
194
|
+
"WSP", # Waived Service Price
|
|
195
|
+
"ZNP", # Zone Price
|
|
196
|
+
]
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
module Eddy
|
|
2
|
+
module Elements
|
|
3
|
+
# ### Element Summary:
|
|
4
|
+
#
|
|
5
|
+
# - Id: 248
|
|
6
|
+
# - Name: Allowance or Charge Indicator
|
|
7
|
+
# - Type: ID
|
|
8
|
+
# - Min/Max: 1/1
|
|
9
|
+
# - Description: Code which indicates an allowance or charge for the service specified
|
|
10
|
+
class E248 < Eddy::Element::ID
|
|
11
|
+
|
|
12
|
+
# @param val [String]
|
|
13
|
+
# @param req [String]
|
|
14
|
+
# @param ref [String]
|
|
15
|
+
# @return [void]
|
|
16
|
+
def initialize(val: nil, req: nil, ref: nil)
|
|
17
|
+
@id = "248"
|
|
18
|
+
@name = "Allowance or Charge Indicator"
|
|
19
|
+
@description = "Code which indicates an allowance or charge for the service specified"
|
|
20
|
+
super(
|
|
21
|
+
min: 1,
|
|
22
|
+
max: 1,
|
|
23
|
+
req: req,
|
|
24
|
+
ref: ref,
|
|
25
|
+
val: val,
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# @return [Array<String>]
|
|
30
|
+
def code_list()
|
|
31
|
+
return [
|
|
32
|
+
"A", # Allowance
|
|
33
|
+
"C", # Charge
|
|
34
|
+
"N", # No Allowance or Charge
|
|
35
|
+
"P", # Promotion
|
|
36
|
+
"Q", # Charge Request
|
|
37
|
+
"R", # Allowance Request
|
|
38
|
+
"S", # Service
|
|
39
|
+
]
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,535 @@
|
|
|
1
|
+
module Eddy
|
|
2
|
+
module Elements
|
|
3
|
+
# ### Element Summary:
|
|
4
|
+
#
|
|
5
|
+
# - Id: 26
|
|
6
|
+
# - Name: Country Code
|
|
7
|
+
# - Type: ID
|
|
8
|
+
# - Min/Max: 2/3
|
|
9
|
+
# - Description: Code identifying the country
|
|
10
|
+
class E26 < Eddy::Element::ID
|
|
11
|
+
|
|
12
|
+
# @param val [String]
|
|
13
|
+
# @param req [String]
|
|
14
|
+
# @param ref [String]
|
|
15
|
+
# @return [void]
|
|
16
|
+
def initialize(val: nil, req: nil, ref: nil)
|
|
17
|
+
@id = "26"
|
|
18
|
+
@name = "Country Code"
|
|
19
|
+
@description = "Code identifying the country"
|
|
20
|
+
super(
|
|
21
|
+
min: 2,
|
|
22
|
+
max: 3,
|
|
23
|
+
req: req,
|
|
24
|
+
ref: ref,
|
|
25
|
+
val: val,
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# @return [Array<String>]
|
|
30
|
+
def code_list()
|
|
31
|
+
return [
|
|
32
|
+
"AF", # Afghanistan
|
|
33
|
+
"AFG", # Afghanistan
|
|
34
|
+
"AX", # Åland Islands
|
|
35
|
+
"ALA", # Åland Islands
|
|
36
|
+
"AL", # Albania
|
|
37
|
+
"ALB", # Albania
|
|
38
|
+
"DZ", # Algeria
|
|
39
|
+
"DZA", # Algeria
|
|
40
|
+
"AS", # American Samoa
|
|
41
|
+
"ASM", # American Samoa
|
|
42
|
+
"AD", # Andorra
|
|
43
|
+
"AND", # Andorra
|
|
44
|
+
"AO", # Angola
|
|
45
|
+
"AGO", # Angola
|
|
46
|
+
"AI", # Anguilla
|
|
47
|
+
"AIA", # Anguilla
|
|
48
|
+
"AQ", # Antarctica
|
|
49
|
+
"ATA", # Antarctica
|
|
50
|
+
"AG", # Antigua and Barbuda
|
|
51
|
+
"ATG", # Antigua and Barbuda
|
|
52
|
+
"AR", # Argentina
|
|
53
|
+
"ARG", # Argentina
|
|
54
|
+
"AM", # Armenia
|
|
55
|
+
"ARM", # Armenia
|
|
56
|
+
"AW", # Aruba
|
|
57
|
+
"ABW", # Aruba
|
|
58
|
+
"AU", # Australia
|
|
59
|
+
"AUS", # Australia
|
|
60
|
+
"AT", # Austria
|
|
61
|
+
"AUT", # Austria
|
|
62
|
+
"AZ", # Azerbaijan
|
|
63
|
+
"AZE", # Azerbaijan
|
|
64
|
+
"BS", # Bahamas
|
|
65
|
+
"BHS", # Bahamas
|
|
66
|
+
"BH", # Bahrain
|
|
67
|
+
"BHR", # Bahrain
|
|
68
|
+
"BD", # Bangladesh
|
|
69
|
+
"BGD", # Bangladesh
|
|
70
|
+
"BB", # Barbados
|
|
71
|
+
"BRB", # Barbados
|
|
72
|
+
"BY", # Belarus
|
|
73
|
+
"BLR", # Belarus
|
|
74
|
+
"BE", # Belgium
|
|
75
|
+
"BEL", # Belgium
|
|
76
|
+
"BZ", # Belize
|
|
77
|
+
"BLZ", # Belize
|
|
78
|
+
"BJ", # Benin
|
|
79
|
+
"BEN", # Benin
|
|
80
|
+
"BM", # Bermuda
|
|
81
|
+
"BMU", # Bermuda
|
|
82
|
+
"BT", # Bhutan
|
|
83
|
+
"BTN", # Bhutan
|
|
84
|
+
"BO", # Bolivia (Plurinational State of)
|
|
85
|
+
"BOL", # Bolivia (Plurinational State of)
|
|
86
|
+
"BQ", # Bonaire, Sint Eustatius and Saba
|
|
87
|
+
"BES", # Bonaire, Sint Eustatius and Saba
|
|
88
|
+
"BA", # Bosnia and Herzegovina
|
|
89
|
+
"BIH", # Bosnia and Herzegovina
|
|
90
|
+
"BW", # Botswana
|
|
91
|
+
"BWA", # Botswana
|
|
92
|
+
"BV", # Bouvet Island
|
|
93
|
+
"BVT", # Bouvet Island
|
|
94
|
+
"BR", # Brazil
|
|
95
|
+
"BRA", # Brazil
|
|
96
|
+
"IO", # British Indian Ocean Territory
|
|
97
|
+
"IOT", # British Indian Ocean Territory
|
|
98
|
+
"BN", # Brunei Darussalam
|
|
99
|
+
"BRN", # Brunei Darussalam
|
|
100
|
+
"BG", # Bulgaria
|
|
101
|
+
"BGR", # Bulgaria
|
|
102
|
+
"BF", # Burkina Faso
|
|
103
|
+
"BFA", # Burkina Faso
|
|
104
|
+
"BI", # Burundi
|
|
105
|
+
"BDI", # Burundi
|
|
106
|
+
"CV", # Cabo Verde
|
|
107
|
+
"CPV", # Cabo Verde
|
|
108
|
+
"KH", # Cambodia
|
|
109
|
+
"KHM", # Cambodia
|
|
110
|
+
"CM", # Cameroon
|
|
111
|
+
"CMR", # Cameroon
|
|
112
|
+
"CA", # Canada
|
|
113
|
+
"CAN", # Canada
|
|
114
|
+
"KY", # Cayman Islands
|
|
115
|
+
"CYM", # Cayman Islands
|
|
116
|
+
"CF", # Central African Republic
|
|
117
|
+
"CAF", # Central African Republic
|
|
118
|
+
"TD", # Chad
|
|
119
|
+
"TCD", # Chad
|
|
120
|
+
"CL", # Chile
|
|
121
|
+
"CHL", # Chile
|
|
122
|
+
"CN", # China
|
|
123
|
+
"CHN", # China
|
|
124
|
+
"CX", # Christmas Island
|
|
125
|
+
"CXR", # Christmas Island
|
|
126
|
+
"CC", # Cocos (Keeling) Islands
|
|
127
|
+
"CCK", # Cocos (Keeling) Islands
|
|
128
|
+
"CO", # Colombia
|
|
129
|
+
"COL", # Colombia
|
|
130
|
+
"KM", # Comoros
|
|
131
|
+
"COM", # Comoros
|
|
132
|
+
"CG", # Congo
|
|
133
|
+
"COG", # Congo
|
|
134
|
+
"CD", # Congo, Democratic Republic of the
|
|
135
|
+
"COD", # Congo, Democratic Republic of the
|
|
136
|
+
"CK", # Cook Islands
|
|
137
|
+
"COK", # Cook Islands
|
|
138
|
+
"CR", # Costa Rica
|
|
139
|
+
"CRI", # Costa Rica
|
|
140
|
+
"CI", # Côte d'Ivoire
|
|
141
|
+
"CIV", # Côte d'Ivoire
|
|
142
|
+
"HR", # Croatia
|
|
143
|
+
"HRV", # Croatia
|
|
144
|
+
"CU", # Cuba
|
|
145
|
+
"CUB", # Cuba
|
|
146
|
+
"CW", # Curaçao
|
|
147
|
+
"CUW", # Curaçao
|
|
148
|
+
"CY", # Cyprus
|
|
149
|
+
"CYP", # Cyprus
|
|
150
|
+
"CZ", # Czechia
|
|
151
|
+
"CZE", # Czechia
|
|
152
|
+
"DK", # Denmark
|
|
153
|
+
"DNK", # Denmark
|
|
154
|
+
"DJ", # Djibouti
|
|
155
|
+
"DJI", # Djibouti
|
|
156
|
+
"DM", # Dominica
|
|
157
|
+
"DMA", # Dominica
|
|
158
|
+
"DO", # Dominican Republic
|
|
159
|
+
"DOM", # Dominican Republic
|
|
160
|
+
"EC", # Ecuador
|
|
161
|
+
"ECU", # Ecuador
|
|
162
|
+
"EG", # Egypt
|
|
163
|
+
"EGY", # Egypt
|
|
164
|
+
"SV", # El Salvador
|
|
165
|
+
"SLV", # El Salvador
|
|
166
|
+
"GQ", # Equatorial Guinea
|
|
167
|
+
"GNQ", # Equatorial Guinea
|
|
168
|
+
"ER", # Eritrea
|
|
169
|
+
"ERI", # Eritrea
|
|
170
|
+
"EE", # Estonia
|
|
171
|
+
"EST", # Estonia
|
|
172
|
+
"SZ", # Eswatini
|
|
173
|
+
"SWZ", # Eswatini
|
|
174
|
+
"ET", # Ethiopia
|
|
175
|
+
"ETH", # Ethiopia
|
|
176
|
+
"FK", # Falkland Islands (Malvinas)
|
|
177
|
+
"FLK", # Falkland Islands (Malvinas)
|
|
178
|
+
"FO", # Faroe Islands
|
|
179
|
+
"FRO", # Faroe Islands
|
|
180
|
+
"FJ", # Fiji
|
|
181
|
+
"FJI", # Fiji
|
|
182
|
+
"FI", # Finland
|
|
183
|
+
"FIN", # Finland
|
|
184
|
+
"FR", # France
|
|
185
|
+
"FRA", # France
|
|
186
|
+
"GF", # French Guiana
|
|
187
|
+
"GUF", # French Guiana
|
|
188
|
+
"PF", # French Polynesia
|
|
189
|
+
"PYF", # French Polynesia
|
|
190
|
+
"TF", # French Southern Territories
|
|
191
|
+
"ATF", # French Southern Territories
|
|
192
|
+
"GA", # Gabon
|
|
193
|
+
"GAB", # Gabon
|
|
194
|
+
"GM", # Gambia
|
|
195
|
+
"GMB", # Gambia
|
|
196
|
+
"GE", # Georgia
|
|
197
|
+
"GEO", # Georgia
|
|
198
|
+
"DE", # Germany
|
|
199
|
+
"DEU", # Germany
|
|
200
|
+
"GH", # Ghana
|
|
201
|
+
"GHA", # Ghana
|
|
202
|
+
"GI", # Gibraltar
|
|
203
|
+
"GIB", # Gibraltar
|
|
204
|
+
"GR", # Greece
|
|
205
|
+
"GRC", # Greece
|
|
206
|
+
"GL", # Greenland
|
|
207
|
+
"GRL", # Greenland
|
|
208
|
+
"GD", # Grenada
|
|
209
|
+
"GRD", # Grenada
|
|
210
|
+
"GP", # Guadeloupe
|
|
211
|
+
"GLP", # Guadeloupe
|
|
212
|
+
"GU", # Guam
|
|
213
|
+
"GUM", # Guam
|
|
214
|
+
"GT", # Guatemala
|
|
215
|
+
"GTM", # Guatemala
|
|
216
|
+
"GG", # Guernsey
|
|
217
|
+
"GGY", # Guernsey
|
|
218
|
+
"GN", # Guinea
|
|
219
|
+
"GIN", # Guinea
|
|
220
|
+
"GW", # Guinea-Bissau
|
|
221
|
+
"GNB", # Guinea-Bissau
|
|
222
|
+
"GY", # Guyana
|
|
223
|
+
"GUY", # Guyana
|
|
224
|
+
"HT", # Haiti
|
|
225
|
+
"HTI", # Haiti
|
|
226
|
+
"HM", # Heard Island and McDonald Islands
|
|
227
|
+
"HMD", # Heard Island and McDonald Islands
|
|
228
|
+
"VA", # Holy See
|
|
229
|
+
"VAT", # Holy See
|
|
230
|
+
"HN", # Honduras
|
|
231
|
+
"HND", # Honduras
|
|
232
|
+
"HK", # Hong Kong
|
|
233
|
+
"HKG", # Hong Kong
|
|
234
|
+
"HU", # Hungary
|
|
235
|
+
"HUN", # Hungary
|
|
236
|
+
"IS", # Iceland
|
|
237
|
+
"ISL", # Iceland
|
|
238
|
+
"IN", # India
|
|
239
|
+
"IND", # India
|
|
240
|
+
"ID", # Indonesia
|
|
241
|
+
"IDN", # Indonesia
|
|
242
|
+
"IR", # Iran (Islamic Republic of)
|
|
243
|
+
"IRN", # Iran (Islamic Republic of)
|
|
244
|
+
"IQ", # Iraq
|
|
245
|
+
"IRQ", # Iraq
|
|
246
|
+
"IE", # Ireland
|
|
247
|
+
"IRL", # Ireland
|
|
248
|
+
"IM", # Isle of Man
|
|
249
|
+
"IMN", # Isle of Man
|
|
250
|
+
"IL", # Israel
|
|
251
|
+
"ISR", # Israel
|
|
252
|
+
"IT", # Italy
|
|
253
|
+
"ITA", # Italy
|
|
254
|
+
"JM", # Jamaica
|
|
255
|
+
"JAM", # Jamaica
|
|
256
|
+
"JP", # Japan
|
|
257
|
+
"JPN", # Japan
|
|
258
|
+
"JE", # Jersey
|
|
259
|
+
"JEY", # Jersey
|
|
260
|
+
"JO", # Jordan
|
|
261
|
+
"JOR", # Jordan
|
|
262
|
+
"KZ", # Kazakhstan
|
|
263
|
+
"KAZ", # Kazakhstan
|
|
264
|
+
"KE", # Kenya
|
|
265
|
+
"KEN", # Kenya
|
|
266
|
+
"KI", # Kiribati
|
|
267
|
+
"KIR", # Kiribati
|
|
268
|
+
"KP", # Korea (Democratic People's Republic of)
|
|
269
|
+
"PRK", # Korea (Democratic People's Republic of)
|
|
270
|
+
"KR", # Korea, Republic of
|
|
271
|
+
"KOR", # Korea, Republic of
|
|
272
|
+
"KW", # Kuwait
|
|
273
|
+
"KWT", # Kuwait
|
|
274
|
+
"KG", # Kyrgyzstan
|
|
275
|
+
"KGZ", # Kyrgyzstan
|
|
276
|
+
"LA", # Lao People's Democratic Republic
|
|
277
|
+
"LAO", # Lao People's Democratic Republic
|
|
278
|
+
"LV", # Latvia
|
|
279
|
+
"LVA", # Latvia
|
|
280
|
+
"LB", # Lebanon
|
|
281
|
+
"LBN", # Lebanon
|
|
282
|
+
"LS", # Lesotho
|
|
283
|
+
"LSO", # Lesotho
|
|
284
|
+
"LR", # Liberia
|
|
285
|
+
"LBR", # Liberia
|
|
286
|
+
"LY", # Libya
|
|
287
|
+
"LBY", # Libya
|
|
288
|
+
"LI", # Liechtenstein
|
|
289
|
+
"LIE", # Liechtenstein
|
|
290
|
+
"LT", # Lithuania
|
|
291
|
+
"LTU", # Lithuania
|
|
292
|
+
"LU", # Luxembourg
|
|
293
|
+
"LUX", # Luxembourg
|
|
294
|
+
"MO", # Macao
|
|
295
|
+
"MAC", # Macao
|
|
296
|
+
"MG", # Madagascar
|
|
297
|
+
"MDG", # Madagascar
|
|
298
|
+
"MW", # Malawi
|
|
299
|
+
"MWI", # Malawi
|
|
300
|
+
"MY", # Malaysia
|
|
301
|
+
"MYS", # Malaysia
|
|
302
|
+
"MV", # Maldives
|
|
303
|
+
"MDV", # Maldives
|
|
304
|
+
"ML", # Mali
|
|
305
|
+
"MLI", # Mali
|
|
306
|
+
"MT", # Malta
|
|
307
|
+
"MLT", # Malta
|
|
308
|
+
"MH", # Marshall Islands
|
|
309
|
+
"MHL", # Marshall Islands
|
|
310
|
+
"MQ", # Martinique
|
|
311
|
+
"MTQ", # Martinique
|
|
312
|
+
"MR", # Mauritania
|
|
313
|
+
"MRT", # Mauritania
|
|
314
|
+
"MU", # Mauritius
|
|
315
|
+
"MUS", # Mauritius
|
|
316
|
+
"YT", # Mayotte
|
|
317
|
+
"MYT", # Mayotte
|
|
318
|
+
"MX", # Mexico
|
|
319
|
+
"MEX", # Mexico
|
|
320
|
+
"FM", # Micronesia (Federated States of)
|
|
321
|
+
"FSM", # Micronesia (Federated States of)
|
|
322
|
+
"MD", # Moldova, Republic of
|
|
323
|
+
"MDA", # Moldova, Republic of
|
|
324
|
+
"MC", # Monaco
|
|
325
|
+
"MCO", # Monaco
|
|
326
|
+
"MN", # Mongolia
|
|
327
|
+
"MNG", # Mongolia
|
|
328
|
+
"ME", # Montenegro
|
|
329
|
+
"MNE", # Montenegro
|
|
330
|
+
"MS", # Montserrat
|
|
331
|
+
"MSR", # Montserrat
|
|
332
|
+
"MA", # Morocco
|
|
333
|
+
"MAR", # Morocco
|
|
334
|
+
"MZ", # Mozambique
|
|
335
|
+
"MOZ", # Mozambique
|
|
336
|
+
"MM", # Myanmar
|
|
337
|
+
"MMR", # Myanmar
|
|
338
|
+
"NA", # Namibia
|
|
339
|
+
"NAM", # Namibia
|
|
340
|
+
"NR", # Nauru
|
|
341
|
+
"NRU", # Nauru
|
|
342
|
+
"NP", # Nepal
|
|
343
|
+
"NPL", # Nepal
|
|
344
|
+
"NL", # Netherlands
|
|
345
|
+
"NLD", # Netherlands
|
|
346
|
+
"NC", # New Caledonia
|
|
347
|
+
"NCL", # New Caledonia
|
|
348
|
+
"NZ", # New Zealand
|
|
349
|
+
"NZL", # New Zealand
|
|
350
|
+
"NI", # Nicaragua
|
|
351
|
+
"NIC", # Nicaragua
|
|
352
|
+
"NE", # Niger
|
|
353
|
+
"NER", # Niger
|
|
354
|
+
"NG", # Nigeria
|
|
355
|
+
"NGA", # Nigeria
|
|
356
|
+
"NU", # Niue
|
|
357
|
+
"NIU", # Niue
|
|
358
|
+
"NF", # Norfolk Island
|
|
359
|
+
"NFK", # Norfolk Island
|
|
360
|
+
"MK", # North Macedonia
|
|
361
|
+
"MKD", # North Macedonia
|
|
362
|
+
"MP", # Northern Mariana Islands
|
|
363
|
+
"MNP", # Northern Mariana Islands
|
|
364
|
+
"NO", # Norway
|
|
365
|
+
"NOR", # Norway
|
|
366
|
+
"OM", # Oman
|
|
367
|
+
"OMN", # Oman
|
|
368
|
+
"PK", # Pakistan
|
|
369
|
+
"PAK", # Pakistan
|
|
370
|
+
"PW", # Palau
|
|
371
|
+
"PLW", # Palau
|
|
372
|
+
"PS", # Palestine, State of
|
|
373
|
+
"PSE", # Palestine, State of
|
|
374
|
+
"PA", # Panama
|
|
375
|
+
"PAN", # Panama
|
|
376
|
+
"PG", # Papua New Guinea
|
|
377
|
+
"PNG", # Papua New Guinea
|
|
378
|
+
"PY", # Paraguay
|
|
379
|
+
"PRY", # Paraguay
|
|
380
|
+
"PE", # Peru
|
|
381
|
+
"PER", # Peru
|
|
382
|
+
"PH", # Philippines
|
|
383
|
+
"PHL", # Philippines
|
|
384
|
+
"PN", # Pitcairn
|
|
385
|
+
"PCN", # Pitcairn
|
|
386
|
+
"PL", # Poland
|
|
387
|
+
"POL", # Poland
|
|
388
|
+
"PT", # Portugal
|
|
389
|
+
"PRT", # Portugal
|
|
390
|
+
"PR", # Puerto Rico
|
|
391
|
+
"PRI", # Puerto Rico
|
|
392
|
+
"QA", # Qatar
|
|
393
|
+
"QAT", # Qatar
|
|
394
|
+
"RE", # Réunion
|
|
395
|
+
"REU", # Réunion
|
|
396
|
+
"RO", # Romania
|
|
397
|
+
"ROU", # Romania
|
|
398
|
+
"RU", # Russian Federation
|
|
399
|
+
"RUS", # Russian Federation
|
|
400
|
+
"RW", # Rwanda
|
|
401
|
+
"RWA", # Rwanda
|
|
402
|
+
"BL", # Saint Barthélemy
|
|
403
|
+
"BLM", # Saint Barthélemy
|
|
404
|
+
"SH", # Saint Helena, Ascension and Tristan da Cunha
|
|
405
|
+
"SHN", # Saint Helena, Ascension and Tristan da Cunha
|
|
406
|
+
"KN", # Saint Kitts and Nevis
|
|
407
|
+
"KNA", # Saint Kitts and Nevis
|
|
408
|
+
"LC", # Saint Lucia
|
|
409
|
+
"LCA", # Saint Lucia
|
|
410
|
+
"MF", # Saint Martin (French part)
|
|
411
|
+
"MAF", # Saint Martin (French part)
|
|
412
|
+
"PM", # Saint Pierre and Miquelon
|
|
413
|
+
"SPM", # Saint Pierre and Miquelon
|
|
414
|
+
"VC", # Saint Vincent and the Grenadines
|
|
415
|
+
"VCT", # Saint Vincent and the Grenadines
|
|
416
|
+
"WS", # Samoa
|
|
417
|
+
"WSM", # Samoa
|
|
418
|
+
"SM", # San Marino
|
|
419
|
+
"SMR", # San Marino
|
|
420
|
+
"ST", # Sao Tome and Principe
|
|
421
|
+
"STP", # Sao Tome and Principe
|
|
422
|
+
"SA", # Saudi Arabia
|
|
423
|
+
"SAU", # Saudi Arabia
|
|
424
|
+
"SN", # Senegal
|
|
425
|
+
"SEN", # Senegal
|
|
426
|
+
"RS", # Serbia
|
|
427
|
+
"SRB", # Serbia
|
|
428
|
+
"SC", # Seychelles
|
|
429
|
+
"SYC", # Seychelles
|
|
430
|
+
"SL", # Sierra Leone
|
|
431
|
+
"SLE", # Sierra Leone
|
|
432
|
+
"SG", # Singapore
|
|
433
|
+
"SGP", # Singapore
|
|
434
|
+
"SX", # Sint Maarten (Dutch part)
|
|
435
|
+
"SXM", # Sint Maarten (Dutch part)
|
|
436
|
+
"SK", # Slovakia
|
|
437
|
+
"SVK", # Slovakia
|
|
438
|
+
"SI", # Slovenia
|
|
439
|
+
"SVN", # Slovenia
|
|
440
|
+
"SB", # Solomon Islands
|
|
441
|
+
"SLB", # Solomon Islands
|
|
442
|
+
"SO", # Somalia
|
|
443
|
+
"SOM", # Somalia
|
|
444
|
+
"ZA", # South Africa
|
|
445
|
+
"ZAF", # South Africa
|
|
446
|
+
"GS", # South Georgia and the South Sandwich Islands
|
|
447
|
+
"SGS", # South Georgia and the South Sandwich Islands
|
|
448
|
+
"SS", # South Sudan
|
|
449
|
+
"SSD", # South Sudan
|
|
450
|
+
"ES", # Spain
|
|
451
|
+
"ESP", # Spain
|
|
452
|
+
"LK", # Sri Lanka
|
|
453
|
+
"LKA", # Sri Lanka
|
|
454
|
+
"SD", # Sudan
|
|
455
|
+
"SDN", # Sudan
|
|
456
|
+
"SR", # Suriname
|
|
457
|
+
"SUR", # Suriname
|
|
458
|
+
"SJ", # Svalbard and Jan Mayen
|
|
459
|
+
"SJM", # Svalbard and Jan Mayen
|
|
460
|
+
"SE", # Sweden
|
|
461
|
+
"SWE", # Sweden
|
|
462
|
+
"CH", # Switzerland
|
|
463
|
+
"CHE", # Switzerland
|
|
464
|
+
"SY", # Syrian Arab Republic
|
|
465
|
+
"SYR", # Syrian Arab Republic
|
|
466
|
+
"TW", # Taiwan
|
|
467
|
+
"TWN", # Taiwan
|
|
468
|
+
"TJ", # Tajikistan
|
|
469
|
+
"TJK", # Tajikistan
|
|
470
|
+
"TZ", # Tanzania, United Republic of
|
|
471
|
+
"TZA", # Tanzania, United Republic of
|
|
472
|
+
"TH", # Thailand
|
|
473
|
+
"THA", # Thailand
|
|
474
|
+
"TL", # Timor-Leste
|
|
475
|
+
"TLS", # Timor-Leste
|
|
476
|
+
"TG", # Togo
|
|
477
|
+
"TGO", # Togo
|
|
478
|
+
"TK", # Tokelau
|
|
479
|
+
"TKL", # Tokelau
|
|
480
|
+
"TO", # Tonga
|
|
481
|
+
"TON", # Tonga
|
|
482
|
+
"TT", # Trinidad and Tobago
|
|
483
|
+
"TTO", # Trinidad and Tobago
|
|
484
|
+
"TN", # Tunisia
|
|
485
|
+
"TUN", # Tunisia
|
|
486
|
+
"TR", # Turkey
|
|
487
|
+
"TUR", # Turkey
|
|
488
|
+
"TM", # Turkmenistan
|
|
489
|
+
"TKM", # Turkmenistan
|
|
490
|
+
"TC", # Turks and Caicos Islands
|
|
491
|
+
"TCA", # Turks and Caicos Islands
|
|
492
|
+
"TV", # Tuvalu
|
|
493
|
+
"TUV", # Tuvalu
|
|
494
|
+
"UG", # Uganda
|
|
495
|
+
"UGA", # Uganda
|
|
496
|
+
"UA", # Ukraine
|
|
497
|
+
"UKR", # Ukraine
|
|
498
|
+
"AE", # United Arab Emirates
|
|
499
|
+
"ARE", # United Arab Emirates
|
|
500
|
+
"GB", # United Kingdom of Great Britain and Northern Ireland
|
|
501
|
+
"GBR", # United Kingdom of Great Britain and Northern Ireland
|
|
502
|
+
"UM", # United States Minor Outlying Islands
|
|
503
|
+
"UMI", # United States Minor Outlying Islands
|
|
504
|
+
"US", # United States of America
|
|
505
|
+
"USA", # United States of America
|
|
506
|
+
"UY", # Uruguay
|
|
507
|
+
"URY", # Uruguay
|
|
508
|
+
"UZ", # Uzbekistan
|
|
509
|
+
"UZB", # Uzbekistan
|
|
510
|
+
"VU", # Vanuatu
|
|
511
|
+
"VUT", # Vanuatu
|
|
512
|
+
"VE", # Venezuela (Bolivarian Republic of)
|
|
513
|
+
"VEN", # Venezuela (Bolivarian Republic of)
|
|
514
|
+
"VN", # Viet Nam
|
|
515
|
+
"VNM", # Viet Nam
|
|
516
|
+
"VG", # Virgin Islands (British)
|
|
517
|
+
"VGB", # Virgin Islands (British)
|
|
518
|
+
"VI", # Virgin Islands (U.S.)
|
|
519
|
+
"VIR", # Virgin Islands (U.S.)
|
|
520
|
+
"WF", # Wallis and Futuna
|
|
521
|
+
"WLF", # Wallis and Futuna
|
|
522
|
+
"EH", # Western Sahara
|
|
523
|
+
"ESH", # Western Sahara
|
|
524
|
+
"YE", # Yemen
|
|
525
|
+
"YEM", # Yemen
|
|
526
|
+
"ZM", # Zambia
|
|
527
|
+
"ZMB", # Zambia
|
|
528
|
+
"ZW", # Zimbabwe
|
|
529
|
+
"ZWE", # Zimbabwe
|
|
530
|
+
]
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
end
|
|
534
|
+
end
|
|
535
|
+
end
|