Class: OFX::Data::Banking::Statement::Transaction::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/ofx/data/banking/statement/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(opts) ⇒ Response

Returns a new instance of Response.



9
10
11
12
13
# File 'lib/ofx/data/banking/statement/transaction.rb', line 9

def initialize(opts)
  @trnuid = opts.fetch(:trnuid)
  @status = opts.fetch(:status)
  @response = opts.fetch(:response)
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



7
8
9
# File 'lib/ofx/data/banking/statement/transaction.rb', line 7

def response
  @response
end

#statusObject (readonly)

Returns the value of attribute status.



7
8
9
# File 'lib/ofx/data/banking/statement/transaction.rb', line 7

def status
  @status
end

#trnuidObject (readonly)

Returns the value of attribute trnuid.



7
8
9
# File 'lib/ofx/data/banking/statement/transaction.rb', line 7

def trnuid
  @trnuid
end

Instance Method Details

#ofx_typeObject



15
16
17
# File 'lib/ofx/data/banking/statement/transaction.rb', line 15

def ofx_type
  :"banking.statement.transaction.response"
end