class Eddy::Segments::CAD
### Segment Summary:
-
Id:
CAD
-
Name: Carrier Detail
-
Purpose: To specify transportation details for the transaction.
Public Class Methods
@param store [Eddy::Data::Store] @return [void]
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
-
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
-
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
### 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
### 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
### 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
### 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
### 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
-
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
### 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