/* * This file is part of aion-unique <aion-unique.org>. * * aion-unique is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * aion-unique is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with aion-unique. If not, see <http://www.gnu.org/licenses/>. */ package com.aionemu.gameserver.model.trade; /** * @author Simple * */ public class TradePSItem extends TradeItem { private int itemObjId; private int price; /** * @param itemId * @param count */ public TradePSItem(int itemObjId, int itemId, int count, int price) { super(itemId, count); this.setPrice(price); this.setItemObjId(itemObjId); } /** * @param price * the price to set */ public void setPrice(int price) { this.price = price; } /** * @return the price */ public int getPrice() { return price; } /** * @param itemObjId * the itemObjId to set */ public void setItemObjId(int itemObjId) { this.itemObjId = itemObjId; } /** * @return the itemObjId */ public int getItemObjId() { return itemObjId; } }