|
10Duke Scale C++ Client
|
#include <FluentEndMeteredUse.h>
Ends metered license use, building the request fluently.
Call execute() to execute the request.
See superclass tenduke::se::licensing::FluentReleaseBuilder for the methods.
Public Member Functions | |
| FluentEndMeteredUse (const ::tenduke::se::licensing::LicensingClient &client, const std::string &licenseKey="") | |
| Constructs new instance. | |
| ::tenduke::se::licensing::EndMeteredUseResponse | execute () |
| Ends metered license use. | |
Public Member Functions inherited from tenduke::se::licensing::FluentReleaseBuilder<::tenduke::se::licensing::FluentEndMeteredUse > | |
| FluentReleaseBuilder (std::string licenseKey) | |
| Constructs new instance. | |
| ::tenduke::se::licensing::FluentEndMeteredUse & | lease (const std::string &leaseId, std::int64_t finalUsedQty) |
| Adds lease id to release, with final used quantity. | |
| ::tenduke::se::licensing::FluentEndMeteredUse & | lease (const std::string leaseId) |
| Adds lease id to release, with quantity of 1. | |
| ::tenduke::se::licensing::FluentEndMeteredUse & | lease (const ::tenduke::se::licensing::Lease &lease, std::int64_t finalUsedQty) |
| Adds lease to release, with given final-used quantity. | |
| ::tenduke::se::licensing::FluentEndMeteredUse & | lease (const ::tenduke::se::licensing::Lease &lease) |
| Adds lease to release with quantity of 1. | |
| ::tenduke::se::licensing::FluentEndMeteredUse & | leases (const std::vector<::tenduke::se::licensing::Lease > &licensesToRelease) |
| Adds leases to release, each with quantity of 1. | |
Additional Inherited Members | |
Protected Attributes inherited from tenduke::se::licensing::FluentReleaseBuilder<::tenduke::se::licensing::FluentEndMeteredUse > | |
| const std::string | licenseKey |
| Licensekey. | |
| std::vector<::tenduke::se::licensing::LicenseReleaseArguments > | arguments |
| The individual arguments. | |
|
explicit |
Constructs new instance.
| client | licensing client |
| licenseKey | license key. Pass empty string, if this is not a license key operation. |
| xdlic::EndMeteredUseResponse tenduke::se::licensing::FluentEndMeteredUse::execute | ( | ) |
Ends metered license use.
| tenduke::net::NetworkingException | (and subclasses) on networking issues (no network, host not found etc) |
| tenduke::se::http::APIException | (and subclasses) when the request failed |