Class PolymartLicenseEntry
java.lang.Object
me.hsgamer.hscore.license.polymart.PolymartLicenseEntry
The license entry for Polymart
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid
(boolean isPaid) Check if the entry is validConvert to propertiesConvert to a query map
-
Field Details
-
user
-
username
-
resource
-
resourceVersion
-
nonce
-
verifyToken
-
license
-
agent
-
timestamp
-
-
Constructor Details
-
PolymartLicenseEntry
-
-
Method Details
-
isValid
public boolean isValid(boolean isPaid) Check if the entry is valid- Parameters:
isPaid
- if the resource is paid- Returns:
- true if it is
-
toProperties
Convert to properties- Returns:
- the properties
-
toQueryMap
Convert to a query map- Returns:
- the query map
-