class Radar::Api::Transaction
Constants
- EQUITY_BUY
- EQUITY_POSITION_SNAPSHOT
- EQUITY_SELL
- FIELDS
- OPTION_EXERCISE
- SLB
- SLBR
- STOCK_COMMISSION_EXPENSE
- TRANSFER
Public Class Methods
equity_buy(val)
click to toggle source
# File gen/radar/api/transaction_types.rb, line 239 def equity_buy(val) Transaction.new(:equity_buy, val) end
equity_position_snapshot(val)
click to toggle source
# File gen/radar/api/transaction_types.rb, line 247 def equity_position_snapshot(val) Transaction.new(:equity_position_snapshot, val) end
equity_sell(val)
click to toggle source
# File gen/radar/api/transaction_types.rb, line 243 def equity_sell(val) Transaction.new(:equity_sell, val) end
option_exercise(val)
click to toggle source
# File gen/radar/api/transaction_types.rb, line 267 def option_exercise(val) Transaction.new(:option_exercise, val) end
slb(val)
click to toggle source
# File gen/radar/api/transaction_types.rb, line 251 def slb(val) Transaction.new(:slb, val) end
slbr(val)
click to toggle source
# File gen/radar/api/transaction_types.rb, line 255 def slbr(val) Transaction.new(:slbr, val) end
stock_commission_expense(val)
click to toggle source
# File gen/radar/api/transaction_types.rb, line 259 def stock_commission_expense(val) Transaction.new(:stock_commission_expense, val) end
transfer(val)
click to toggle source
# File gen/radar/api/transaction_types.rb, line 263 def transfer(val) Transaction.new(:transfer, val) end
Public Instance Methods
struct_fields()
click to toggle source
# File gen/radar/api/transaction_types.rb, line 292 def struct_fields; FIELDS; end
validate()
click to toggle source
# File gen/radar/api/transaction_types.rb, line 294 def validate raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil? end