10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::se::licensing::LicenseReleaseResult Class Reference

#include <LicenseReleaseResult.h>

Detailed Description

Describes result of release of single license lease.

Public Member Functions

 LicenseReleaseResult ()
 No-arg constructs new instance with defaults.
 
 LicenseReleaseResult (const std::int64_t finalUsedQty, std::string licenseConsumerId, std::string productName, const ::tenduke::se::licensing::License::QuantityDimension qtyDimension, const bool released, std::string releasedLeaseId, std::string releasedLicenseId, const std::int64_t remainingQty)
 Constructs new instance.
 

Public Attributes

std::string errorCode
 Error code.
 
std::string errorDescription
 Error description.
 
std::int64_t finalUsedQty
 Final used quantity.
 
std::string licenseConsumerId
 License consumer id.
 
std::string productName
 Product name.
 
enum::tenduke::se::licensing::License::QuantityDimension qtyDimension
 Quantity dimension.
 
bool released
 Was the lease released?
 
std::string releasedLeaseId
 Released lease id.
 
std::string releasedLicenseId
 Released license id.
 
std::int64_t remainingQty
 Remaining quantity.
 

Constructor & Destructor Documentation

◆ LicenseReleaseResult()

tenduke::se::licensing::LicenseReleaseResult::LicenseReleaseResult ( const std::int64_t  finalUsedQty,
std::string  licenseConsumerId,
std::string  productName,
const ::tenduke::se::licensing::License::QuantityDimension  qtyDimension,
const bool  released,
std::string  releasedLeaseId,
std::string  releasedLicenseId,
const std::int64_t  remainingQty 
)
inline

Constructs new instance.

Parameters
finalUsedQty-
licenseConsumerId-
productName-
qtyDimension-
released-
releasedLeaseId-
releasedLicenseId-
remainingQty-

Member Data Documentation

◆ errorCode

std::string tenduke::se::licensing::LicenseReleaseResult::errorCode

Error code.

Empty if this is instance was succesfully released.

◆ errorDescription

std::string tenduke::se::licensing::LicenseReleaseResult::errorDescription

Error description.

(See .errorCode)


The documentation for this class was generated from the following file: