Class: Eddy::Segments::TD5

Inherits:
Models::Segment show all
Defined in:
lib/definitions/segments/generated/td5.rb

Overview

Segment Summary:

  • Id: TD5
  • Name: Carrier Details (Routing Sequence/Transit Time)
  • Purpose: To specify the carrier and sequence of routing and provide transit time information.

Instance Attribute Summary

Attributes inherited from Models::Segment

#elements, #id, #name, #skip, #store

Instance Method Summary collapse

Methods inherited from Models::Segment

#render

Constructor Details

#initialize(store) ⇒ void

Parameters:



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/definitions/segments/generated/td5.rb', line 12

def initialize(store)
  @id = "TD5"
  @name = "Carrier Details (Routing Sequence/Transit Time)"
  @td501 = Eddy::Elements::E133.new(ref: "TD501", req: "M")
  @td502 = Eddy::Elements::E66.new(ref: "TD502", req: "X")
  @td503 = Eddy::Elements::E67.new(ref: "TD503", req: "X")
  @td504 = Eddy::Elements::E91.new(ref: "TD504", req: "M")
  @td505 = Eddy::Elements::E387.new(ref: "TD505", req: "X")
  super(
    store,
    @td501,
    @td502,
    @td503,
    @td504,
    @td505,
  )
end

Instance Method Details

#TD501=(arg) ⇒ void Also known as: RoutingSequenceCode=

This method returns an undefined value.

TD501

  • Id: 133
  • Name: Routing Sequence Code
  • Type: ID
  • Min/Max: 1/2
  • Description: Code describing the relationship of a carrier to a specific shipment movement

Parameters:

  • arg (String)


40
41
42
# File 'lib/definitions/segments/generated/td5.rb', line 40

def TD501=(arg)
  @td501.value = arg
end

#TD502=(arg) ⇒ void Also known as: IdentificationCodeQualifier=

This method returns an undefined value.

TD502

  • Id: 66
  • Name: Identification Code Qualifier
  • Type: ID
  • Min/Max: 1/2
  • Description: Code designating the system/method of code structure used for Identification Code (67)

Parameters:

  • arg (String)


55
56
57
# File 'lib/definitions/segments/generated/td5.rb', line 55

def TD502=(arg)
  @td502.value = arg
end

#TD503=(arg) ⇒ void Also known as: IdentificationCode=

This method returns an undefined value.

TD503

  • Id: 67
  • Name: Identification Code
  • Type: AN
  • Min/Max: 2/80
  • Description: Code identifying a party or other code

Parameters:

  • arg (String)


70
71
72
# File 'lib/definitions/segments/generated/td5.rb', line 70

def TD503=(arg)
  @td503.value = arg
end

#TD504=(arg) ⇒ void Also known as: TransportationMethodTypeCode=

This method returns an undefined value.

TD504

  • 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

Parameters:

  • arg (String)


85
86
87
# File 'lib/definitions/segments/generated/td5.rb', line 85

def TD504=(arg)
  @td504.value = arg
end

#TD505=(arg) ⇒ void Also known as: Routing=

This method returns an undefined value.

TD505

  • Id: 387
  • Name: Routing
  • Type: AN
  • Min/Max: 1/35
  • Description: Free-form description of the routing or requested routing for shipment, or the originating carrier's identity

Parameters:

  • arg (String)


100
101
102
# File 'lib/definitions/segments/generated/td5.rb', line 100

def TD505=(arg)
  @td505.value = arg
end