10Duke Scale C++ Client
Loading...
Searching...
No Matches
LicenseCheckoutArguments.h
1#ifndef TENDUKE_SE_LICENSING_LICENSECHECKOUTARGUMENTS_H
2#define TENDUKE_SE_LICENSING_LICENSECHECKOUTARGUMENTS_H
3
4#include "../../License.h"
5
6#include <cstdint>
7#include <string>
8#include <utility>
9
10namespace tenduke { namespace se { namespace licensing {
11
16{
17public:
27 std::string productName,
28 const std::int64_t qty,
29 const enum ::tenduke::se::licensing::License::QuantityDimension qtyDimension,
30 std::string clientVersion,
31 std::string licenseId
32 ) : productName(std::move(productName))
33 , qty(qty)
35 , clientVersion(std::move(clientVersion))
36 , licenseId(std::move(licenseId))
37 {}
38
39public:
41 const std::string productName;
43 const std::int64_t qty;
45 const enum ::tenduke::se::licensing::License::QuantityDimension qtyDimension;
46
48 const std::string clientVersion;
49
51 const std::string licenseId;
52};
53
54}}}
55
56#endif //TENDUKE_SE_LICENSING_LICENSECHECKOUTARGUMENTS_H
Describes one license checkout item.
Definition LicenseCheckoutArguments.h:16
const std::string licenseId
License id from which to checkout.
Definition LicenseCheckoutArguments.h:51
LicenseCheckoutArguments(std::string productName, const std::int64_t qty, const enum ::tenduke::se::licensing::License::QuantityDimension qtyDimension, std::string clientVersion, std::string licenseId)
Constructs new instance.
Definition LicenseCheckoutArguments.h:26
const std::string clientVersion
Version to checkout.
Definition LicenseCheckoutArguments.h:48
const std::string productName
Product name to checkout.
Definition LicenseCheckoutArguments.h:41
enum ::tenduke::se::licensing::License::QuantityDimension qtyDimension
Type of quantity to checkout.
Definition LicenseCheckoutArguments.h:45
const std::int64_t qty
Quantity of items (seats, use counts, time) to checkout.
Definition LicenseCheckoutArguments.h:43
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7