Package com.runemate.game.api.hybrid.net
Class GrandExchange.Item
- java.lang.Object
-
- com.runemate.game.api.hybrid.net.GrandExchange.Item
-
- Enclosing class:
- GrandExchange
public static final class GrandExchange.Item extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GrandExchange.Item.Source
-
Constructor Summary
Constructors Constructor Description Item(int id, int price, boolean membersOnly, java.lang.String name, java.lang.String description, GrandExchange.Item.Source source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
int
getEstimatedTax()
int
getId()
java.lang.String
getName()
int
getPrice()
GrandExchange.Item.Source
getSource()
Gets the data source that was used for getting this items priceboolean
isMembersOnly()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Item
public Item(int id, int price, boolean membersOnly, java.lang.String name, java.lang.String description, GrandExchange.Item.Source source)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
-
getId
public int getId()
-
getName
public java.lang.String getName()
-
getPrice
public int getPrice()
-
getSource
public GrandExchange.Item.Source getSource()
Gets the data source that was used for getting this items price
-
getEstimatedTax
public int getEstimatedTax()
- Returns:
- the amount of tax paid per item if sold at
getPrice()
.
-
isMembersOnly
public boolean isMembersOnly()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-