Reference / Modules / client / AbstractTermsAndConditionsElement
Class: AbstractTermsAndConditionsElement<P>
client.AbstractTermsAndConditionsElement
Provides a re-usable base implementation of TermsAndConditionsElement.
Type parameters
Name | Description |
---|---|
P | Type of Terms&Conditions parameters. |
Hierarchy
-
AbstractTermsAndConditionsElement
Implements
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
• new AbstractTermsAndConditionsElement<P
>(type
, licenseLocId
, parameters
): AbstractTermsAndConditionsElement
<P
>
Type parameters
Name |
---|
P |
Parameters
Name | Type |
---|---|
type | "logion_classification" | "specific_license" | "CC4.0" |
licenseLocId | UUID |
parameters | P |
Returns
AbstractTermsAndConditionsElement
<P
>
Defined in
packages/client/src/license/TermsAndConditions.ts:42
Properties
_parameters
• Private
Readonly
_parameters: P
Defined in
packages/client/src/license/TermsAndConditions.ts:40
_tcLocId
• Private
Readonly
_tcLocId: UUID
Defined in
packages/client/src/license/TermsAndConditions.ts:39
_type
• Private
Readonly
_type: "logion_classification"
| "specific_license"
| "CC4.0"
Defined in
packages/client/src/license/TermsAndConditions.ts:38
Accessors
details
• get
details(): string
The serialized details.
Returns
string
Implementation of
TermsAndConditionsElement.details
Defined in
packages/client/src/license/TermsAndConditions.ts:64
parameters
• get
parameters(): P
Provides the parameters.
Returns
P
the parameters.
Defined in
packages/client/src/license/TermsAndConditions.ts:60
tcLocId
• get
tcLocId(): UUID
The id of the LOC enabling the usage of this T&C.
Returns
UUID
Implementation of
TermsAndConditionsElement.tcLocId
Defined in
packages/client/src/license/TermsAndConditions.ts:52
type
• get
type(): "logion_classification"
| "specific_license"
| "CC4.0"
The type of this T&C element.
Returns
"logion_classification"
| "specific_license"
| "CC4.0"
Implementation of
TermsAndConditionsElement.type