Class StockMarketTransaction
java.lang.Object
org.rspeer.game.adapter.Adapter<jag.oldscape.RSStockMarketTransaction>
org.rspeer.game.adapter.component.StockMarketTransaction
- All Implemented Interfaces:
StockMarketable
public class StockMarketTransaction
extends Adapter<jag.oldscape.RSStockMarketTransaction>
implements StockMarketable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested classes/interfaces inherited from interface StockMarketable
StockMarketable.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionStockMarketTransaction(jag.oldscape.RSStockMarketTransaction provider, int index) -
Method Summary
Methods inherited from class Adapter
getProvider, validate
-
Field Details
-
TYPE_BUY
public static final int TYPE_BUY- See Also:
-
TYPE_SELL
public static final int TYPE_SELL- See Also:
-
STATUS_EMPTY
public static final int STATUS_EMPTY- See Also:
-
STATUS_ADDING
public static final int STATUS_ADDING- See Also:
-
STATUS_STABLE
public static final int STATUS_STABLE- See Also:
-
STATUS_FINISHED
public static final int STATUS_FINISHED- See Also:
-
-
Constructor Details
-
StockMarketTransaction
public StockMarketTransaction(jag.oldscape.RSStockMarketTransaction provider, int index)
-
-
Method Details
-
getIndex
public int getIndex() -
getItem
-
getItemPrice
public int getItemPrice() -
getWealthTransferred
public int getWealthTransferred() -
getAmountTransferred
public int getAmountTransferred() -
getItemId
public int getItemId() -
getItemQuantity
public int getItemQuantity() -
getType
- Specified by:
getTypein interfaceStockMarketable
-
getProgress
-
abort
public boolean abort() -
collect
-
toString
-