Sha256: 2c7ae54e2b514c5a5b01209dbf23b134775742ea659c8017382978dfb33dc819
Contents?: true
Size: 1.42 KB
Versions: 11
Compression:
Stored size: 1.42 KB
Contents
module Eddy module Segments # ### Segment Summary: # # - Id: ST # - Name: Transaction Set Header # - Purpose: To indicate the start of a transaction set and to assign a control number. class ST < Eddy::Models::Segment # @param store [Eddy::Data::Store] # @return [void] 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 # ### 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] def ST01=(arg) @st01.value = arg end alias TransactionSetIdentifierCode= ST01= # ### 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] def ST02=(arg) @st02.value = arg end alias TransactionSetControlNumber= ST02= end end end
Version data entries
11 entries across 11 versions & 1 rubygems