Class: Eddy::Elements::E284
- Inherits:
-
Models::Element::ID
- Object
- Models::Element::Base
- Models::Element::ID
- Eddy::Elements::E284
- Defined in:
- lib/definitions/elements/generated/284.service_level_code.rb
Overview
Element Summary:
- Id: 284
- Name: Service Level Code
- Type: ID
- Min/Max: 2/2
- Description: Code indicating the level of transportation service or the billing service offered by the transportation carrier
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/284.service_level_code.rb', line 16 def initialize(val: nil, req: nil, ref: nil) @id = "284" @name = "Service Level Code" @description = "Code indicating the level of transportation service or the billing service offered by the transportation carrier" super( min: 2, 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 |
# File 'lib/definitions/elements/generated/284.service_level_code.rb', line 30 def code_list() return [ "01", # Bulk Commodity Train "09", # Premium Surface "3D", # Three Day Service "9A", # 9 A.M. "AC", # Air Cargo "AE", # Air Economy "AM", # A.M. "BC", # Business Class "CB", # Consignee Billing Service "CE", # Courier Express "CG", # Ground "CX", # Express Service "D1", # Delivery Scheduled Next Day by Cartage Agent "D2", # Delivery scheduled second day by cartage agent "D3", # Delivery scheduled third day by cartage agent "DC", # Delivery Confirmation "DF", # Deferred Service "DR", # Delivery Confirmation Return "DS", # Door Service "DT", # Delivery Notification Only "ES", # Expedited Service "ET", # Proof of Delivery (POD) with Signature "FC", # First Class "G2", # Standard Service "GP", # Express Service Plus "GT", # Tracking - Ground "IA", # IATA "IE", # Expedited Service - Worldwide "IX", # Express Service - Worldwide "ME", # Metro "MW", # Multiweight "ND", # Next Day Air "NF", # Next Flight Out "NH", # Next Day Hundred Weight "NM", # Next Morning "NS", # Not Served "ON", # Overnight "PA", # Primary Service Area - Next Day by 10:30 A.M. "PB", # Priority Mail "PC", # Primary Service Area - Next Day By 9:30 AM "PI", # Priority Mail Insured "PM", # PM "PN", # Primary Service Area - Next Day by Noon "PO", # P.O. Box/Zip Code "PR", # Primary Service Area - Next Day by 5:00 P.M. "PS", # Primary Service Area - Second Day by Noon "R1", # Passenger Service "R2", # Quality Intermodal High Speed 70 Miles Per Hour (MPH) "R3", # Other Intermodal and Stack Service "R4", # 60 Miles Per Hour (MPH) Service "R5", # Manifest Freight "R6", # Circus Train "R7", # Work Train "R8", # Commuter Service "RS", # Authorized Return Service "SA", # Same Day "SC", # Second Day Air "SD", # Saturday "SE", # Second Day "SG", # Standard Ground "SH", # Second Day Hundred Weight "SI", # Standard Ground Hundred Weight "SM", # Second Morning "SP", # Saturday Pickup "ST", # Standard Class "ZZ", # Mutually Defined ] end |