class Eddy::Segments::TD5

### Segment Summary:

Public Class Methods

new(store) click to toggle source

@param store [Eddy::Data::Store] @return [void]

Calls superclass method Eddy::Models::Segment::new
# 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

Public Instance Methods

IdentificationCode=(arg)
Alias for: TD503=
IdentificationCodeQualifier=(arg)
Alias for: TD502=
Routing=(arg)
Alias for: TD505=
RoutingSequenceCode=(arg)
Alias for: TD501=
TD501=(arg) click to toggle source

### 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

@param arg [String] @return [void]

# File lib/definitions/segments/generated/td5.rb, line 40
def TD501=(arg)
  @td501.value = arg
end
Also aliased as: RoutingSequenceCode=
TD502=(arg) click to toggle source

### 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)

@param arg [String] @return [void]

# File lib/definitions/segments/generated/td5.rb, line 55
def TD502=(arg)
  @td502.value = arg
end
Also aliased as: IdentificationCodeQualifier=
TD503=(arg) click to toggle source

### TD503

  • Id: 67

  • Name: Identification Code

  • Type: AN

  • Min/Max: 2/80

  • Description: Code identifying a party or other code

@param arg [String] @return [void]

# File lib/definitions/segments/generated/td5.rb, line 70
def TD503=(arg)
  @td503.value = arg
end
Also aliased as: IdentificationCode=
TD504=(arg) click to toggle source

### 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

@param arg [String] @return [void]

# File lib/definitions/segments/generated/td5.rb, line 85
def TD504=(arg)
  @td504.value = arg
end
TD505=(arg) click to toggle source

### 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

@param arg [String] @return [void]

# File lib/definitions/segments/generated/td5.rb, line 100
def TD505=(arg)
  @td505.value = arg
end
Also aliased as: Routing=
TransportationMethodTypeCode=(arg)
Alias for: TD504=