class Eddy::Segments::GE

### Segment Summary:

Public Class Methods

new(store, group_control_number, number_of_transaction_sets) click to toggle source

@param store [Eddy::Data::Store] @param group_control_number [Integer] A unique *functional group control number*. @param number_of_transaction_sets [Integer] Number of transaction sets included in a functional group. @return [void]

Calls superclass method Eddy::Models::Segment::new
# File lib/definitions/segments/manual/envelopes/ge.rb, line 14
def initialize(store, group_control_number, number_of_transaction_sets)
  @id = "GE"
  @name = "Functional Group Trailer"
  @ge01 = Eddy::Elements::E97.new(ref: "GE01", req: "M", val: number_of_transaction_sets)
  @ge02 = Eddy::Elements::E28.new(ref: "GE02", req: "M", val: group_control_number)
  super(store, @ge01, @ge02)
end

Public Instance Methods

GE01=(arg) click to toggle source

### GE01

  • Id: 97

  • Name: Number of Transaction Sets Included

  • Type: N0

  • Min/Max: 1/6

  • Description: Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

@param arg [Integer] @return [void]

# File lib/definitions/segments/manual/envelopes/ge.rb, line 32
def GE01=(arg)
  @ge01.value = arg
end
GE02=(arg) click to toggle source

### GE02

  • Id: 28

  • Name: Group Control Number

  • Type: N0

  • Min/Max: 1/9

  • Description: Assigned number originated and maintained by the sender

@param arg [Integer] @return [void]

# File lib/definitions/segments/manual/envelopes/ge.rb, line 47
def GE02=(arg)
  @ge02.value = arg
end
Also aliased as: GroupControlNumber=
GroupControlNumber=(arg)
Alias for: GE02=
NumberOfTransactionSetsIncluded=(arg)
Alias for: GE01=