Package dev.espi.protectionstones
Class PSRegion.LastRegionTaxPaymentEntry
java.lang.Object
dev.espi.protectionstones.PSRegion.LastRegionTaxPaymentEntry
- Enclosing class:
- PSRegion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromString(String s)
Convert a flag entry to a last region tax payment entry object.long
void
setLastPaymentAdded(long lastPaymentAdded)
void
setRegionId(String regionId)
Converts the last region tax payment entry object into its flag representation.
-
Constructor Details
-
LastRegionTaxPaymentEntry
-
-
Method Details
-
fromString
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
Converts the last region tax payment entry object into its flag representation.- Returns:
- the flag representation of this object
-
getRegionId
-
getLastPaymentAdded
public long getLastPaymentAdded() -
setRegionId
-
setLastPaymentAdded
public void setLastPaymentAdded(long lastPaymentAdded)
-