Class: BAI2::Structures::GroupHeader

Inherits:
Object
  • Object
show all
Defined in:
lib/bai2_ruby/structures/group_header.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ultimate_receiver_id:, originator_id:, group_status:, as_of_date:, as_of_time:, currency_code:, as_of_date_modifier:) ⇒ GroupHeader

Returns a new instance of GroupHeader.



9
10
11
12
13
14
15
16
17
18
# File 'lib/bai2_ruby/structures/group_header.rb', line 9

def initialize(ultimate_receiver_id:, originator_id:, group_status:, as_of_date:,
               as_of_time:, currency_code:, as_of_date_modifier:)
  @ultimate_receiver_id = ultimate_receiver_id
  @originator_id = originator_id
  @group_status = group_status
  @as_of_date = as_of_date
  @as_of_time = as_of_time
  @currency_code = currency_code
  @as_of_date_modifier = as_of_date_modifier
end

Instance Attribute Details

#as_of_dateObject (readonly)

Returns the value of attribute as_of_date.



6
7
8
# File 'lib/bai2_ruby/structures/group_header.rb', line 6

def as_of_date
  @as_of_date
end

#as_of_date_modifierObject (readonly)

Returns the value of attribute as_of_date_modifier.



6
7
8
# File 'lib/bai2_ruby/structures/group_header.rb', line 6

def as_of_date_modifier
  @as_of_date_modifier
end

#as_of_timeObject (readonly)

Returns the value of attribute as_of_time.



6
7
8
# File 'lib/bai2_ruby/structures/group_header.rb', line 6

def as_of_time
  @as_of_time
end

#currency_codeObject (readonly)

Returns the value of attribute currency_code.



6
7
8
# File 'lib/bai2_ruby/structures/group_header.rb', line 6

def currency_code
  @currency_code
end

#group_statusObject (readonly)

Returns the value of attribute group_status.



6
7
8
# File 'lib/bai2_ruby/structures/group_header.rb', line 6

def group_status
  @group_status
end

#originator_idObject (readonly)

Returns the value of attribute originator_id.



6
7
8
# File 'lib/bai2_ruby/structures/group_header.rb', line 6

def originator_id
  @originator_id
end

#ultimate_receiver_idObject (readonly)

Returns the value of attribute ultimate_receiver_id.



6
7
8
# File 'lib/bai2_ruby/structures/group_header.rb', line 6

def ultimate_receiver_id
  @ultimate_receiver_id
end