Class: Tastytrade::Models::OrderResponse
- Defined in:
- lib/tastytrade/models/order_response.rb
Overview
Represents the response from placing an order
Instance Attribute Summary collapse
-
#account_number ⇒ Object
readonly
Returns the value of attribute account_number.
-
#buying_power_effect ⇒ Object
readonly
Returns the value of attribute buying_power_effect.
-
#cancellable ⇒ Object
readonly
Returns the value of attribute cancellable.
-
#complex_order_id ⇒ Object
readonly
Returns the value of attribute complex_order_id.
-
#complex_order_tag ⇒ Object
readonly
Returns the value of attribute complex_order_tag.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#editable ⇒ Object
readonly
Returns the value of attribute editable.
-
#edited ⇒ Object
readonly
Returns the value of attribute edited.
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#fee_calculations ⇒ Object
readonly
Returns the value of attribute fee_calculations.
-
#legs ⇒ Object
readonly
Returns the value of attribute legs.
-
#order_id ⇒ Object
readonly
Returns the value of attribute order_id.
-
#order_type ⇒ Object
readonly
Returns the value of attribute order_type.
-
#price ⇒ Object
readonly
Returns the value of attribute price.
-
#price_effect ⇒ Object
readonly
Returns the value of attribute price_effect.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#stop_trigger ⇒ Object
readonly
Returns the value of attribute stop_trigger.
-
#time_in_force ⇒ Object
readonly
Returns the value of attribute time_in_force.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
-
#value_effect ⇒ Object
readonly
Returns the value of attribute value_effect.
-
#warnings ⇒ Object
readonly
Returns the value of attribute warnings.
Attributes inherited from Base
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Tastytrade::Models::Base
Instance Attribute Details
#account_number ⇒ Object (readonly)
Returns the value of attribute account_number.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def account_number @account_number end |
#buying_power_effect ⇒ Object (readonly)
Returns the value of attribute buying_power_effect.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def end |
#cancellable ⇒ Object (readonly)
Returns the value of attribute cancellable.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def cancellable @cancellable end |
#complex_order_id ⇒ Object (readonly)
Returns the value of attribute complex_order_id.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def complex_order_id @complex_order_id end |
#complex_order_tag ⇒ Object (readonly)
Returns the value of attribute complex_order_tag.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def complex_order_tag @complex_order_tag end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def created_at @created_at end |
#editable ⇒ Object (readonly)
Returns the value of attribute editable.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def editable @editable end |
#edited ⇒ Object (readonly)
Returns the value of attribute edited.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def edited @edited end |
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def errors @errors end |
#fee_calculations ⇒ Object (readonly)
Returns the value of attribute fee_calculations.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def fee_calculations @fee_calculations end |
#legs ⇒ Object (readonly)
Returns the value of attribute legs.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def legs @legs end |
#order_id ⇒ Object (readonly)
Returns the value of attribute order_id.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def order_id @order_id end |
#order_type ⇒ Object (readonly)
Returns the value of attribute order_type.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def order_type @order_type end |
#price ⇒ Object (readonly)
Returns the value of attribute price.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def price @price end |
#price_effect ⇒ Object (readonly)
Returns the value of attribute price_effect.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def price_effect @price_effect end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def status @status end |
#stop_trigger ⇒ Object (readonly)
Returns the value of attribute stop_trigger.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def stop_trigger @stop_trigger end |
#time_in_force ⇒ Object (readonly)
Returns the value of attribute time_in_force.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def time_in_force @time_in_force end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def updated_at @updated_at end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def value @value end |
#value_effect ⇒ Object (readonly)
Returns the value of attribute value_effect.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def value_effect @value_effect end |
#warnings ⇒ Object (readonly)
Returns the value of attribute warnings.
9 10 11 |
# File 'lib/tastytrade/models/order_response.rb', line 9 def warnings @warnings end |