public final class Product extends Object
| Constructor and Description |
|---|
Product(Long productId,
String productName,
String shortCode,
boolean allowTrial,
int trialDays,
String authorizationMethod,
boolean allowOverages,
int maxOverages,
boolean preventVm,
String validityPeriod,
int floatingTimeout,
Long companyId,
com.google.gson.JsonElement metadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAuthorizationMethod()
Authorization method for the product (e.g., "license-key").
|
Long |
getCompanyId()
Company ID associated with this product.
|
int |
getFloatingTimeout()
Floating timeout in minutes for floating licenses.
|
int |
getMaxOverages()
Maximum number of overages allowed.
|
com.google.gson.JsonElement |
getMetadata()
JSON metadata of the product.
|
Long |
getProductId()
Unique identifier of the product.
|
String |
getProductName()
Name of the product.
|
String |
getShortCode()
Short code of the product.
|
int |
getTrialDays()
Number of trial days.
|
String |
getValidityPeriod()
Validity period for the product.
|
int |
hashCode() |
boolean |
isAllowOverages()
Boolean value indicating if overages are allowed.
|
boolean |
isAllowTrial()
Boolean value indicating is trial allowed.
|
boolean |
isPreventVm()
Boolean value indicating if the product prevents VM usage.
|
String |
toString() |
public Long getProductId()
public String getProductName()
public String getShortCode()
public boolean isAllowTrial()
public int getTrialDays()
public String getAuthorizationMethod()
public boolean isAllowOverages()
public int getMaxOverages()
public boolean isPreventVm()
public String getValidityPeriod()
public int getFloatingTimeout()
public Long getCompanyId()
public com.google.gson.JsonElement getMetadata()
Copyright © 2026 Cense Data Inc.. All rights reserved.