Interface MerchantView

All Superinterfaces:
InventoryView

public interface MerchantView extends InventoryView
An instance of InventoryView which provides extra methods related to merchant view data.
Since:
1.21
  • Method Details

    • getTopInventory

      @NotNull @NotNull MerchantInventory getTopInventory()
      Description copied from interface: InventoryView
      Get the upper inventory involved in this transaction.
      Specified by:
      getTopInventory in interface InventoryView
      Returns:
      the inventory
      Since:
      1.21.1
    • getMerchant

      @NotNull @NotNull Merchant getMerchant()
      Gets the merchant that this view is for.
      Returns:
      The merchant that this view uses
      Since:
      1.21