Class: BetfairApiNgRails::Api::Data::StatementLegacyData

Inherits:
Base
  • Object
show all
Includes:
Concerns::Hashable
Defined in:
lib/betfair_api_ng_rails/api/data/statement_legacy_data.rb

Overview

Summary of a cleared order.

Constant Summary collapse

STATEMENT_LEGACY_DATA_ATTRS =
[
  :avg_price,
  :bet_size,
  :bet_type,
  :bet_category_type,
  :comission_rate,
  :event_id,
  :event_type_id,
  :full_market_name,
  :gross_bet_amount,
  :market_name,
  :market_type,
  :placed_date,
  :selection_id,
  :selection_name,
  :start_date,
  :transaction_type,
  :transaction_id,
  :win_lose
]

Constants included from Constants

Constants::ATTRS_AS_IS

Constants included from Concerns::Attributable

Concerns::Attributable::DEFAULT_OPTIONS

Class Method Summary collapse

Methods included from Concerns::Hashable

#to_hash, #to_param

Methods inherited from Base

#initialize

Methods included from Concerns::Jsonable

included

Methods included from Concerns::Attributable

included

Constructor Details

This class inherits a constructor from BetfairApiNgRails::Api::Data::Base

Class Method Details

.to_hash_attrsObject



33
34
35
# File 'lib/betfair_api_ng_rails/api/data/statement_legacy_data.rb', line 33

def self.to_hash_attrs
  STATEMENT_LEGACY_DATA_ATTRS
end