10Duke Scale C++ Client
|
#include <FluentStartMeteredUse.h>
Starts metered license use, building the request fluently.
Call execute()
to execute the request.
See superclass tenduke::se::licensing::FluentConsumptionBuilder
for the methods.
Additional Inherited Members | |
Protected Member Functions inherited from tenduke::se::licensing::FluentConsumptionBuilder<::tenduke::se::licensing::FluentStartMeteredUse > | |
void | buildArgument () |
Builds one argument. | |
void | startArgument (::tenduke::se::licensing::License::QuantityDimension pQtyDimension, const std::string &pProductName, std::int64_t pQty) |
Starts building new argument. | |
Protected Attributes inherited from tenduke::se::licensing::FluentConsumptionBuilder<::tenduke::se::licensing::FluentStartMeteredUse > | |
const std::string | licenseKey |
License key to use in checkout. | |
std::vector<::tenduke::se::licensing::LicenseCheckoutArguments > | arguments |
Arguments. | |
|
explicit |
Constructs new instance.
client | licensing client |
licenseKey | license key. Pass empty string, if this is not a license key operation. |
xdlic::StartMeteredUseResponse tenduke::se::licensing::FluentStartMeteredUse::execute | ( | ) |
Starts metered license use.
tenduke::net::NetworkingException | (and subclasses) on networking issues (no network, host not found etc) |
tenduke::jwt::JWTValidationException | when any returned license token fails to validate |
tenduke::se::http::APIException | (and subclasses) when the request failed |