Class Reve::Classes::MarketOrder
In: lib/reve/classes.rb
Parent: Object

Used for the Reve::API#personal_market_orders and Reve::API#corporate_market_orders Each of those derrive from this parent class. Attributes

  • id ( Fixnum ) - ID of the MarketOrder. This is a CCP internal ID and is not guaranteed to always be unique! You may want to generate your own globally unique ID for this.
  • character_id ( Fixnum ) - ID of the Character who set this MarketOrder up
  • station_id ( Fixnum ) - ID of the Station where the MarketOrder is
  • volume_entered ( Fixnum ) - How many of type_id was initially entered in the MarketOrder
  • volume_remaining ( Fixnum ) - How many of type_id is left in the MarketOrder
  • minimum_volume ( Fixnum ) - How much of type_id can be transacted (as a minimum) at once
  • order_state ( String ) - String representation of the MarketOrder‘s current state. Options are: Active, Closed, Expired, Cancelled, Pending, Character Deleted
  • type_id ( Fixnum ) - Type ID of item for which the MarketOrder was created. (Refer to CCP database dump invtypes)
  • range ( Fixnum ) - Range of the MarketOrder. For sell orders it is always 32767 (Entire Region), for sell orders the values are -1 (Station only), 0 (Solar system), 1..40 (Number of jumps away from the Station), 32767 (Region wide)
  • account_key ( Fixnum ) - For a CorporateMarketOrder the account key (see WalletDivision and CorporationSheet) that was used as the source/destination.
  • duration ( Fixnum ) - Duration of the MarketOrder in days from when it was created_at
  • escrow ( Float ) - How much ISK is held in escrow for the MarketOrder
  • price ( Float ) - Unit price of the item in the MarketOrder
  • bid ( Boolean ) - True if this MarketOrder is a sell order, false otherwise
  • created_at ( Time ) - When the MarketOrder was created

See Also: CorporationSheet, WalletDivision, CorporateDivision, Reve::API#personal_market_orders, Reve::API#corporate_market_orders

Attributes

account_key  [R] 
bid  [R] 
character_id  [R] 
created_at  [R] 
duration  [R] 
escrow  [R] 
id  [R] 
minimum_volume  [R] 
order_state  [R] 
price  [R] 
range  [R] 
station_id  [R] 
type_id  [R] 
volume_entered  [R] 
volume_remaining  [R] 

[Validate]