Class: OFX::TransactionalRequest
- Defined in:
- lib/ofx/message_set.rb,
lib/ofx/1.0.2/message_set.rb
Direct Known Subclasses
AccountInformationRequest, BankingStatementRequest, CreditCardClosingStatementRequest, CreditCardStatementRequest, FinancialInstitutionProfileRequest, PasswordChangeRequest
Instance Attribute Summary collapse
-
#client_cookie ⇒ Object
Returns the value of attribute client_cookie.
-
#transaction_authorization_number ⇒ Object
Returns the value of attribute transaction_authorization_number.
-
#transaction_identifier ⇒ Object
Returns the value of attribute transaction_identifier.
Instance Method Summary collapse
Methods inherited from Request
Instance Attribute Details
#client_cookie ⇒ Object
Returns the value of attribute client_cookie.
65 66 67 |
# File 'lib/ofx/message_set.rb', line 65 def @client_cookie end |
#transaction_authorization_number ⇒ Object
Returns the value of attribute transaction_authorization_number.
66 67 68 |
# File 'lib/ofx/message_set.rb', line 66 def @transaction_authorization_number end |
#transaction_identifier ⇒ Object
Returns the value of attribute transaction_identifier.
64 65 66 |
# File 'lib/ofx/message_set.rb', line 64 def transaction_identifier @transaction_identifier end |
Instance Method Details
#ofx_102_request_body ⇒ Object
122 123 124 |
# File 'lib/ofx/1.0.2/message_set.rb', line 122 def ofx_102_request_body raise NotImplementedError end |
#to_ofx_102_s ⇒ Object
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/ofx/1.0.2/message_set.rb', line 104 def to_ofx_102_s request = '' request += " <#{ofx_102_name}TRNRQ>\n" request += " <TRNUID>#{transaction_identifier}\n" request += " <CLTCOOKIE>#{}\n" if request += " <TAN>#{}\n" if request += " <#{ofx_102_name}RQ>\n" request += ofx_102_request_body + "\n" request += " </#{ofx_102_name}RQ>\n" request += " </#{ofx_102_name}TRNRQ>" request end |