Class: OFX::CreditCardStatement

Inherits:
Base::Statement show all
Defined in:
lib/ofx_kit/credit_card_statement.rb

Overview

Represents a complete credit card statement parsed from an OFX file, aggregating the account, its transactions, and the closing balance.

Example

stmt = OFX.new("credit_card.ofx").statements.first
stmt.                  #=> #<OFX::CreditCardAccount ...>
stmt.balance                  #=> #<OFX::Balance ...>
stmt.transactions             #=> #<OFX::TransactionCollection ...>
stmt.credit_card_statement?   #=> true

Instance Attribute Summary

Attributes inherited from Base::Statement

#account, #balance, #transactions

Instance Method Summary collapse

Methods inherited from Base::Statement

#bank_statement?, #initialize

Constructor Details

This class inherits a constructor from OFX::Base::Statement

Instance Method Details

#credit_card_statement?Boolean

Always true.

Returns:

  • (Boolean)


16
# File 'lib/ofx_kit/credit_card_statement.rb', line 16

def credit_card_statement? = true