Class PSRegion.LastRegionTaxPaymentEntry

java.lang.Object
dev.espi.protectionstones.PSRegion.LastRegionTaxPaymentEntry
Enclosing class:
PSRegion

public static class PSRegion.LastRegionTaxPaymentEntry extends Object
  • Constructor Details

    • LastRegionTaxPaymentEntry

      public LastRegionTaxPaymentEntry(String regionId, long lastPaymentAdded)
  • Method Details

    • fromString

      public static PSRegion.LastRegionTaxPaymentEntry fromString(String s)
      Convert a flag entry to a last region tax payment entry object. The flag entry is in the form "regionId timestamp".
      Parameters:
      s - the flag value
      Returns:
      the last region tax payment entry object, or null if the string was invalid
    • toFlagEntry

      public String toFlagEntry()
      Converts the last region tax payment entry object into its flag representation.
      Returns:
      the flag representation of this object
    • getRegionId

      public String getRegionId()
    • getLastPaymentAdded

      public long getLastPaymentAdded()
    • setRegionId

      public void setRegionId(String regionId)
    • setLastPaymentAdded

      public void setLastPaymentAdded(long lastPaymentAdded)