Skip to main content

Reference / Modules / client / AbstractTermsAndConditionsElement

Class: AbstractTermsAndConditionsElement<P>

client.AbstractTermsAndConditionsElement

Provides a re-usable base implementation of TermsAndConditionsElement.

Type parameters

NameDescription
PType of Terms&Conditions parameters.

Hierarchy

Implements

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new AbstractTermsAndConditionsElement<P>(type, licenseLocId, parameters): AbstractTermsAndConditionsElement<P>

Type parameters

Name
P

Parameters

NameType
type"logion_classification" | "specific_license" | "CC4.0"
licenseLocIdUUID
parametersP

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

Defined in

packages/client/src/license/TermsAndConditions.ts:48