class Eddy::Segments::ST
### Segment Summary:
-
Id:
ST
-
Name: Transaction Set Header
-
Purpose: To indicate the start of a transaction set and to assign a control number.
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/manual/envelopes/st.rb, line 12 def initialize(store) @id = "ST" @name = "Transaction Set Header" @st01 = Eddy::Elements::E143.new(ref: "ST01", req: "M") @st02 = Eddy::Elements::E329.new(ref: "ST02", req: "M") # TODO: store.transaction_set_control_number super(store, @st01, @st02) end
Public Instance Methods
ST01=(arg)
click to toggle source
### ST01
-
Id: 143
-
Name: Transaction Set Identifier Code
-
Type: ID
-
Min/Max: 3/3
-
Description: Code uniquely identifying a Transaction Set
@param arg [String] @return [void]
# File lib/definitions/segments/manual/envelopes/st.rb, line 30 def ST01=(arg) @st01.value = arg end
Also aliased as: TransactionSetIdentifierCode=
ST02=(arg)
click to toggle source
### ST02
-
Id: 329
-
Name: Transaction Set Control Number
-
Type: AN
-
Min/Max: 4/9
-
Description: Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
@param arg [String] @return [void]
# File lib/definitions/segments/manual/envelopes/st.rb, line 45 def ST02=(arg) @st02.value = arg end
Also aliased as: TransactionSetControlNumber=