Class: OFX::CreditCardClosingStatementRequest
- Inherits:
-
TransactionalRequest
- Object
- Request
- TransactionalRequest
- OFX::CreditCardClosingStatementRequest
- Defined in:
- lib/ofx/credit_card_statement_message_set.rb,
lib/ofx/1.0.2/credit_card_statement_message_set.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#statement_range ⇒ Object
Returns the value of attribute statement_range.
Attributes inherited from TransactionalRequest
#client_cookie, #transaction_authorization_number, #transaction_identifier
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from TransactionalRequest
Methods inherited from Request
#satisfies_requirements?, #to_ofx_102_s
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
72 73 74 |
# File 'lib/ofx/credit_card_statement_message_set.rb', line 72 def account @account end |
#statement_range ⇒ Object
Returns the value of attribute statement_range.
73 74 75 |
# File 'lib/ofx/credit_card_statement_message_set.rb', line 73 def statement_range @statement_range end |
Class Method Details
.from_ofx_102_hash(transaction_hash) ⇒ Object
207 208 209 |
# File 'lib/ofx/1.0.2/credit_card_statement_message_set.rb', line 207 def self.from_ofx_102_hash(transaction_hash) raise NotImplementedError end |
Instance Method Details
#ofx_102_name ⇒ Object
192 193 194 |
# File 'lib/ofx/1.0.2/credit_card_statement_message_set.rb', line 192 def ofx_102_name 'CCSTMTEND' end |
#ofx_102_request_body ⇒ Object
195 196 197 198 199 200 201 202 203 204 205 |
# File 'lib/ofx/1.0.2/credit_card_statement_message_set.rb', line 195 def ofx_102_request_body body = "" body += account.to_ofx_102_request_body body += " <DTSTART>#{statement_range.begin.to_ofx_102_s}\n" + " <DTEND>#{statement_range.end.to_ofx_102_s}\n" if statement_range body end |