Class SellResponse

java.lang.Object
com.vk2gpz.autosell.object.SellResponse

public class SellResponse extends Object
Represents the response of a sell operation in the AutoSell plugin. It contains information about the type of response, items sold, price, player involved, and the list of sold items.
  • Constructor Details

    • SellResponse

      public SellResponse(SellResponseType type, org.bukkit.entity.Player player, int itemsSold, double price, List<org.bukkit.inventory.ItemStack> soldItems)
      Constructor to initialize the SellResponse object with the response type, player, number of items sold, price, and list of sold items.
      Parameters:
      type - The type of response for the sell operation.
      player - The player who sold the items.
      itemsSold - The number of items sold.
      price - The total price for the sold items.
      soldItems - The list of items that were sold.
  • Method Details

    • getSoldItems

      public List<org.bukkit.inventory.ItemStack> getSoldItems()
    • getResponseType

      public SellResponseType getResponseType()
    • getItemsSold

      public int getItemsSold()
    • getPrice

      public double getPrice()
    • getPlayer

      public org.bukkit.entity.Player getPlayer()