Class: OandaAPI::Resource::Transaction::TradeReduced

Inherits:
OandaAPI::ResourceBase show all
Defined in:
lib/oanda_api/resource/transaction.rb

Overview

Instance Attribute Summary collapse

Attributes inherited from OandaAPI::ResourceBase

#location

Method Summary

Methods inherited from OandaAPI::ResourceBase

#initialize, #to_json

Constructor Details

This class inherits a constructor from OandaAPI::ResourceBase

Instance Attribute Details

#idObject

Returns the value of attribute id


63
64
65
# File 'lib/oanda_api/resource/transaction.rb', line 63

def id
  @id
end

#interestObject

Returns the value of attribute interest


63
64
65
# File 'lib/oanda_api/resource/transaction.rb', line 63

def interest
  @interest
end

#plObject

Returns the value of attribute pl


63
64
65
# File 'lib/oanda_api/resource/transaction.rb', line 63

def pl
  @pl
end

#unitsObject

Returns the value of attribute units


63
64
65
# File 'lib/oanda_api/resource/transaction.rb', line 63

def units
  @units
end