Class: Eddy::Elements::E91
- Inherits:
-
Models::Element::ID
- Object
- Models::Element::Base
- Models::Element::ID
- Eddy::Elements::E91
- Defined in:
- lib/definitions/elements/generated/91.transportation_method_type_code.rb
Overview
Element Summary:
- Id: 91
- Name: Transportation Method/Type Code
- Type: ID
- Min/Max: 1/2
- Description: Code specifying the method or type of transportation for the shipment
Instance Attribute Summary
Attributes inherited from Models::Element::Base
#description, #id, #max, #min, #name, #ref, #type
Instance Method Summary collapse
Methods inherited from Models::Element::ID
#process_value, process_value, #value, #value=
Methods inherited from Models::Element::Base
#doc_comment, #process_value, process_value, #req, #req=, #value, #value=
Constructor Details
#initialize(val: nil, req: nil, ref: nil) ⇒ void
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/definitions/elements/generated/91.transportation_method_type_code.rb', line 16 def initialize(val: nil, req: nil, ref: nil) @id = "91" @name = "Transportation Method/Type Code" @description = "Code specifying the method or type of transportation for the shipment" super( min: 1, max: 2, req: req, ref: ref, val: val, ) end |
Instance Method Details
#code_list ⇒ Array<String>
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/definitions/elements/generated/91.transportation_method_type_code.rb', line 30 def code_list() return [ "6", # Military Official Mail "7", # Mail "A", # Air "B", # Barge "C", # Consolidation "D", # Parcel Post "E", # Expedited Truck "F", # Flyaway "H", # Customer Pickup "I", # Common Irregular Carrier "J", # Motor "K", # Backhaul "L", # Contract Carrier "M", # Motor (Common Carrier) "N", # Private Vessel "O", # Containerized Ocean "P", # Private Carrier "Q", # Conventional Ocean "R", # Rail "S", # Ocean "T", # Best Way (Shippers Option) "U", # Private Parcel Service "W", # Inland Waterway "X", # Intermodal (Piggyback) "Y", # Military Intratheater Airlift Service "AC", # Air Charter "AE", # Air Express "AF", # Air Freight "AH", # Air Taxi "AR", # Armed Forces Courier Service (ARFCOS) "BP", # Book Postal "BU", # Bus "CE", # Customer Pickup / Customer's Expense "DA", # Driveaway Service "DW", # Driveaway, Truckaway, Towaway "ED", # European or Pacific Distribution System "FA", # Air Freight Forwarder "FL", # Motor (Flatbed) "GG", # Geographic Receiving/Shipping "GR", # Geographic Receiving "GS", # Geographic Shipping "HH", # Household Goods Truck "LA", # Logair "LT", # Less Than Trailer Load (LTL) "MB", # Motor (Bulk Carrier) "MP", # Motor (Package Carrier) "PA", # Pooled Air "PG", # Pooled Piggyback "PL", # Pipeline "PP", # Pool to Pool "PR", # Pooled Rail "PT", # Pooled Truck "RC", # Rail, Less than Carload "RR", # Roadrailer "SB", # Shipper Agent "SC", # Shipper Agent (Truck) "SD", # Shipper Association "SE", # Sea/Air "SR", # Supplier Truck "SS", # Steamship "ST", # Stack Train "TA", # Towaway Service "TC", # Cab (Taxi) "TT", # Tank Truck "VA", # Motor (Van) "VE", # Vessel, Ocean "VL", # Vessel, Lake "WP", # Water or Pipeline Intermodal Movement "Y1", # Ocean Conference Carrier "Y2", # Ocean Non-Conference Carrier "ZZ", # Mutually defined ] end |