class Eddy::Segments::SE

### 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/manual/envelopes/se.rb, line 12
def initialize(store)
  @id = "SE"
  @name = "Transaction Set Trailer"
  @se01 = Eddy::Elements::E96.new(ref:  "SE01", req: "M")
  @se02 = Eddy::Elements::E329.new(ref: "SE02", req: "M") # TODO: store.transaction_set_control_number
  super(store, @se01, @se02)
end

Public Instance Methods

NumberOfIncludedSegments=(arg)
Alias for: SE01=
SE01=(arg) click to toggle source

### SE01

  • Id: 96

  • Name: Number of Included Segments

  • Type: N0

  • Min/Max: 1/10

  • Description: Total number of segments included in a transaction set including ST and SE segments

@param arg [String] @return [void]

# File lib/definitions/segments/manual/envelopes/se.rb, line 30
def SE01=(arg)
  @se01.value = arg
end
Also aliased as: NumberOfIncludedSegments=
SE02=(arg) click to toggle source

### SE02

  • 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/se.rb, line 45
def SE02=(arg)
  @se02.value = arg
end
Also aliased as: TransactionSetControlNumber=
TransactionSetControlNumber=(arg)
Alias for: SE02=