Class PinConsoleManager.PinProgressObject

java.lang.Object
nl.minetopiasdb.api.banking.PinConsoleManager.PinProgressObject
Enclosing class:
PinConsoleManager

public static class PinConsoleManager.PinProgressObject extends Object
Pin progress object
  • Constructor Details

    • PinProgressObject

      public PinProgressObject(UUID uuid, org.bukkit.Location consoleLocation, double amount, PinConsoleManager.PinProgress progress, int bankAccountId)
  • Method Details

    • getTargetUUID

      public UUID getTargetUUID()
      Get the UUID of the player that needs to pay this pin action
      Returns:
      UUID of player that needs to pay the pin action
    • setLocation

      public void setLocation(org.bukkit.Location consoleLocation)
      Change the console location
      Parameters:
      consoleLocation - new console location
    • getConsoleLocation

      public org.bukkit.Location getConsoleLocation()
      Get the block location of the pinconsoel
      Returns:
      location
    • getAmount

      public double getAmount()
      Get the amount that needs to be paid
      Returns:
      amount that needs to be paid
    • setProgress

      public void setProgress(PinConsoleManager.PinProgress progress)
      Change the pin progress
      Parameters:
      progress - new pin progresss
    • getProgress

      public PinConsoleManager.PinProgress getProgress()
      Get the progress of this pin transaction
      Returns:
      pin progress
    • setBankAccountId

      public void setBankAccountId(int bankAccountId)
      Change the bankaccount id
      Parameters:
      bankAccountId - new bankaccount id
    • getBankAccountId

      public int getBankAccountId()
      Get the bankaccount id
      Returns:
      bankaccount id