Package | Description |
---|---|
com.licensespring.management |
This package contains the main classes to be used when interfacing with Management APIS.
|
com.licensespring.management.api |
This package contains management APIs (
LicensesApi and
OrdersApi ). |
com.licensespring.management.model |
This package contains all models used in license-management SDK.
|
Modifier and Type | Method and Description |
---|---|
BackOfficeLicense |
LicenseService.enableLicense(Long licenseId)
Enables license with the provided id.
|
BackOfficeLicense |
LicenseService.getLicense(Long licenseId)
Retrieves license data.
|
BackOfficeLicense |
LicenseService.patchLicenseFeatures(Long licenseId,
PatchLicenseFeaturesRequest request)
Patches the license (product) features available.
|
BackOfficeLicense |
LicenseService.resetTotalConsumptions(Long licenseId)
Resets the total consumptions on the license to zero.
|
BackOfficeLicense |
LicenseService.setTotalConsumptions(Long licenseId,
int totalConsumptions)
Sets the total consumptions on the license to the desired number.
|
BackOfficeLicense |
LicenseService.updateLicense(Long licenseId,
UpdateLicenseRequest request)
Updates the license with the provided id.
|
Modifier and Type | Method and Description |
---|---|
List<BackOfficeLicense> |
LicenseService.paginateThroughAllLicenses(SearchLicensesRequest request)
Goes through all pages of the search licenses response and returns a list with all possible licenses that satisfy the request.
|
SearchResult<BackOfficeLicense> |
LicenseService.searchLicenses(SearchLicensesRequest request)
Returns list of licenses that satisfy the request.
|
Modifier and Type | Method and Description |
---|---|
BackOfficeLicense |
LicensesApi.getLicense(Long id)
Gets license data.
|
BackOfficeLicense |
LicensesApi.patchLicenseFeatures(Long id,
PatchLicenseFeaturesRequest request)
Update license features.
|
BackOfficeLicense |
LicensesApi.updateLicense(Long id,
UpdateLicenseRequest request)
Update license.
|
Modifier and Type | Method and Description |
---|---|
SearchResult<BackOfficeLicense> |
LicensesApi.searchLicenses(SearchLicensesRequest request)
Search licenses.
|
Modifier and Type | Method and Description |
---|---|
List<BackOfficeLicense> |
BackOfficeOrderItem.getLicenses()
Licenses associated with this order item.
|
Constructor and Description |
---|
BackOfficeOrderItem(Long id,
String productId,
List<BackOfficeLicense> licenses,
ZonedDateTime createdAt,
ZonedDateTime updatedAt,
Long order,
Long product) |
Copyright © 2023 Cense Data Inc.. All rights reserved.