class Eddy::Segments::CAD

### 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/cad.rb, line 12
def initialize(store)
  @id = "CAD"
  @name = "Carrier Detail"
  @cad01 = Eddy::Elements::E91.new(ref: "CAD01", req: "O")
  @cad02 = Eddy::Elements::E206.new(ref: "CAD02", req: "O")
  @cad03 = Eddy::Elements::E207.new(ref: "CAD03", req: "O")
  @cad04 = Eddy::Elements::E140.new(ref: "CAD04", req: "X")
  @cad05 = Eddy::Elements::E387.new(ref: "CAD05", req: "X")
  @cad06 = Eddy::Elements::E368.new(ref: "CAD06", req: "O")
  @cad07 = Eddy::Elements::E128.new(ref: "CAD07", req: "O")
  @cad08 = Eddy::Elements::E127.new(ref: "CAD08", req: "X")
  @cad09 = Eddy::Elements::E284.new(ref: "CAD09", req: "O")
  super(
    store,
    @cad01,
    @cad02,
    @cad03,
    @cad04,
    @cad05,
    @cad06,
    @cad07,
    @cad08,
    @cad09,
  )
end

Public Instance Methods

CAD01=(arg) click to toggle source

### CAD01

  • 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/cad.rb, line 48
def CAD01=(arg)
  @cad01.value = arg
end
CAD02=(arg) click to toggle source

### CAD02

  • Id: 206

  • Name: Equipment Initial

  • Type: AN

  • Min/Max: 1/4

  • Description: Prefix or alphabetic part of an equipment unit's identifying number

@param arg [String] @return [void]

# File lib/definitions/segments/generated/cad.rb, line 63
def CAD02=(arg)
  @cad02.value = arg
end
Also aliased as: EquipmentInitial=
CAD03=(arg) click to toggle source

### CAD03

  • Id: 207

  • Name: Equipment Number

  • Type: AN

  • Min/Max: 1/10

  • Description: Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)

@param arg [String] @return [void]

# File lib/definitions/segments/generated/cad.rb, line 78
def CAD03=(arg)
  @cad03.value = arg
end
Also aliased as: EquipmentNumber=
CAD04=(arg) click to toggle source

### CAD04

  • Id: 140

  • Name: Standard Carrier Alpha Code

  • Type: ID

  • Min/Max: 2/4

  • Description: Standard Carrier Alpha Code

@param arg [String] @return [void]

# File lib/definitions/segments/generated/cad.rb, line 93
def CAD04=(arg)
  @cad04.value = arg
end
Also aliased as: StandardCarrierAlphaCode=
CAD05=(arg) click to toggle source

### CAD05

  • 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/cad.rb, line 108
def CAD05=(arg)
  @cad05.value = arg
end
Also aliased as: Routing=
CAD06=(arg) click to toggle source

### CAD06

  • Id: 368

  • Name: Shipment/Order Status Code

  • Type: ID

  • Min/Max: 2/2

  • Description: Code indicating the status of an order or shipment or the disposition of any difference between the quantity ordered and the quantity shipped for a line item or transaction

@param arg [String] @return [void]

# File lib/definitions/segments/generated/cad.rb, line 123
def CAD06=(arg)
  @cad06.value = arg
end
Also aliased as: ShipmentOrderStatusCode=
CAD07=(arg) click to toggle source

### CAD07

  • Id: 128

  • Name: Reference Identification Qualifier

  • Type: ID

  • Min/Max: 2/3

  • Description: Code qualifying the Reference Identification

@param arg [String] @return [void]

# File lib/definitions/segments/generated/cad.rb, line 138
def CAD07=(arg)
  @cad07.value = arg
end
CAD08=(arg) click to toggle source

### CAD08

  • Id: 127

  • Name: Reference Identification

  • Type: AN

  • Min/Max: 1/30

  • Description: Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

@param arg [String] @return [void]

# File lib/definitions/segments/generated/cad.rb, line 153
def CAD08=(arg)
  @cad08.value = arg
end
Also aliased as: ReferenceIdentification=
CAD09=(arg) click to toggle source

### CAD09

  • 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

@param arg [String] @return [void]

# File lib/definitions/segments/generated/cad.rb, line 168
def CAD09=(arg)
  @cad09.value = arg
end
Also aliased as: ServiceLevelCode=
EquipmentInitial=(arg)
Alias for: CAD02=
EquipmentNumber=(arg)
Alias for: CAD03=
ReferenceIdentification=(arg)
Alias for: CAD08=
ReferenceIdentificationQualifier=(arg)
Alias for: CAD07=
Routing=(arg)
Alias for: CAD05=
ServiceLevelCode=(arg)
Alias for: CAD09=
ShipmentOrderStatusCode=(arg)
Alias for: CAD06=
StandardCarrierAlphaCode=(arg)
Alias for: CAD04=
TransportationMethodTypeCode=(arg)
Alias for: CAD01=