Class: Eddy::Elements::E187

Inherits:
Models::Element::ID show all
Defined in:
lib/definitions/elements/generated/187.weight_qualifier.rb

Overview

Element Summary:

  • Id: 187
  • Name: Weight Qualifier
  • Type: ID
  • Min/Max: 1/2
  • Description: Code defining the type of weight

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

Parameters:

  • val (String) (defaults to: nil)
  • req (String) (defaults to: nil)
  • ref (String) (defaults to: nil)


16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/definitions/elements/generated/187.weight_qualifier.rb', line 16

def initialize(val: nil, req: nil, ref: nil)
  @id = "187"
  @name = "Weight Qualifier"
  @description = "Code defining the type of weight"
  super(
    min: 1,
    max: 2,
    req: req,
    ref: ref,
    val: val,
  )
end

Instance Method Details

#code_listArray<String>

Returns:

  • (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
# File 'lib/definitions/elements/generated/187.weight_qualifier.rb', line 30

def code_list()
  return [
    "A", # Consolidated Weight
    "B", # Billed Weight
    "C", # Actual Net Repeated for Combination
    "D", # Destination Weight Agreement
    "E", # Estimated Net Weight
    "F", # Deficit Weight
    "G", # Gross Weight
    "H", # Weight Per 100 Feet
    "I", # Weight Per 1000 Feet
    "J", # Light Weight
    "K", # Clean Out
    "L", # Legal Weight
    "M", # Minimum Weight (for rate)
    "N", # Actual Net Weight
    "O", # Excess Weight Over Maximum
    "P", # Weight Per 100 Units
    "Q", # Weight Per 1000 Units
    "R", # Per Unit Dunnage
    "S", # State Weight
    "T", # Tare Weight
    "U", # Weight Per Unit
    "V", # Non Transit Weight (On Transit Bills Only)
    "W", # Transit Weight (On Transit Bills Only)
    "X", # Maximum Weight (for Rate)
    "Y", # Theoretical Weight
    "Z", # Mutually Defined
    "A1", # Dimensional Weight
    "A2", # Reweighed By Carrier
    "A3", # Shippers Weight
    "A4", # Average Weight per Load
    "CD", # Chargeable Dunnage
    "CE", # Certified Weight of Cargo
    "DR", # Drained Weight
    "FR", # Freight Weight
    "LC", # Maximum Lading Capacity
    "ND", # Nonchargeable Dunnage
    "NI", # Non-Temporary Storage Weight In
    "NR", # Non-Temporary Storage Weight Re-handled
    "NT", # Non-Temporary Storage Weight Out
    "PA", # Pallet Weight
    "RG", # Reweigh Gross Weight
    "RN", # Reweigh Net Weight
    "RT", # Reweigh Tare Weight
    "SF", # Storage in Transit Final Weight Out
    "SI", # Storage in Transit Weight in
    "SK", # Skid Weight
    "SO", # Storage in Transit Weight Out
    "WA", # Administrative Weight Allowance
    "WB", # Unaccompanied Baggage Weight
    "WG", # Professional Gear Weight
    "WJ", # Joint Travel Regulation Weight
  ]
end