org.gbanga.api
Class Trade.TradeItem

java.lang.Object
  extended by org.gbanga.api.Trade.TradeItem
Enclosing class:
Trade

public static class Trade.TradeItem
extends java.lang.Object

A container class for general items used in a trade.

Author:
Zlatko

Field Summary
 long id
          The id of the item.
 java.lang.String type
          The type of the item (e.g.
 
Constructor Summary
Trade.TradeItem()
          No-argument constructor needed for conversion from JSON
Trade.TradeItem(long id, java.lang.String type)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public long id
The id of the item.


type

public java.lang.String type
The type of the item (e.g. Gbangoo).

Constructor Detail

Trade.TradeItem

public Trade.TradeItem()
No-argument constructor needed for conversion from JSON


Trade.TradeItem

public Trade.TradeItem(long id,
                       java.lang.String type)
Parameters:
id - the id of the item
type - the type of the item (e.g. Gbangoo)