Class: BAI2::Structures::AccountHeader

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(customer_account_number:, currency_code:, type_code:) ⇒ AccountHeader

Returns a new instance of AccountHeader.



8
9
10
11
12
# File 'lib/bai2_ruby/structures/account_header.rb', line 8

def initialize(customer_account_number:, currency_code:, type_code:)
  @customer_account_number = 
  @currency_code = currency_code
  @type_code = type_code
end

Instance Attribute Details

#currency_codeObject (readonly)

Returns the value of attribute currency_code.



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

def currency_code
  @currency_code
end

#customer_account_numberObject (readonly)

Returns the value of attribute customer_account_number.



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

def 
  @customer_account_number
end

#type_codeObject (readonly)

Returns the value of attribute type_code.



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

def type_code
  @type_code
end