Class License
- java.lang.Object
-
- in.dragonbra.javasteam.steam.handlers.steamapps.License
-
public class License extends java.lang.ObjectRepresents a granted license (steam3 subscription) for one or more games.
-
-
Constructor Summary
Constructors Constructor Description License(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver.CMsgClientLicenseList.License license)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAccessToken()intgetLastChangeNumber()java.util.EnumSet<ELicenseFlags>getLicenseFlags()ELicenseTypegetLicenseType()intgetMasterPackageID()intgetMinuteLimit()intgetMinutesUsed()intgetOwnerAccountID()intgetPackageID()EPaymentMethodgetPaymentMethod()java.lang.StringgetPurchaseCode()intgetTerritoryCode()java.util.DategetTimeCreated()java.util.DategetTimeNextProcess()
-
-
-
Method Detail
-
getPackageID
public int getPackageID()
- Returns:
- the package ID used to identify the license.
-
getLastChangeNumber
public int getLastChangeNumber()
- Returns:
- the last change number for this license.
-
getTimeCreated
public java.util.Date getTimeCreated()
- Returns:
- the time the license was created.
-
getTimeNextProcess
public java.util.Date getTimeNextProcess()
- Returns:
- the next process time for the license.
-
getMinuteLimit
public int getMinuteLimit()
- Returns:
- the minute limit of the license.
-
getMinutesUsed
public int getMinutesUsed()
- Returns:
- the minutes used of the license.
-
getPaymentMethod
public EPaymentMethod getPaymentMethod()
- Returns:
- the payment method used when the license was created.
-
getLicenseFlags
public java.util.EnumSet<ELicenseFlags> getLicenseFlags()
- Returns:
- the license flags.
-
getPurchaseCode
public java.lang.String getPurchaseCode()
- Returns:
- the two-letter country code where the license was purchased.
-
getLicenseType
public ELicenseType getLicenseType()
- Returns:
- the type of the license.
-
getTerritoryCode
public int getTerritoryCode()
- Returns:
- the territory code of the license.
-
getAccessToken
public long getAccessToken()
- Returns:
- the PICS access token for this package.
-
getOwnerAccountID
public int getOwnerAccountID()
- Returns:
- the owner account id of the license.
-
getMasterPackageID
public int getMasterPackageID()
- Returns:
- the master package id.
-
-