Class: BAI2::Structures::AccountHeader
- Inherits:
-
Object
- Object
- BAI2::Structures::AccountHeader
- Defined in:
- lib/bai2_ruby/structures/account_header.rb
Instance Attribute Summary collapse
-
#currency_code ⇒ Object
readonly
Returns the value of attribute currency_code.
-
#customer_account_number ⇒ Object
readonly
Returns the value of attribute customer_account_number.
-
#type_code ⇒ Object
readonly
Returns the value of attribute type_code.
Instance Method Summary collapse
-
#initialize(customer_account_number:, currency_code:, type_code:) ⇒ AccountHeader
constructor
A new instance of AccountHeader.
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 = customer_account_number @currency_code = currency_code @type_code = type_code end |
Instance Attribute Details
#currency_code ⇒ Object (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_number ⇒ Object (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 @customer_account_number end |
#type_code ⇒ Object (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 |