# CheckpointSchedule

Represents a Schedule in which Checkpoints are created for a specific Security Token. Schedules can be set up to create checkpoints

## Hierarchy

* [Entity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity)‹UniqueIdentifiers, [HumanReadable](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/humanreadable)›

  ↳ **CheckpointSchedule**

## Index

### Properties

* [complexity](#complexity)
* [context](#protected-context)
* [expiryDate](#expirydate)
* [id](#id)
* [period](#period)
* [start](#start)
* [ticker](#ticker)
* [uuid](#uuid)

### Methods

* [details](#details)
* [exists](#exists)
* [getCheckpoints](#getcheckpoints)
* [isEqual](#isequal)
* [toJson](#tojson)
* [generateUuid](#static-generateuuid)
* [unserialize](#static-unserialize)

## Properties

### complexity

• **complexity**: *number*

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:83*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L83)

abstract measure of the complexity of this Schedule. Shorter periods translate into more complexity

### `Protected` context

• **context**: [*Context*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/context)

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity)*.*[*context*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/entity#protected-context)

*Defined in* [*src/api/entities/Entity.ts:48*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Entity.ts#L48)

### expiryDate

• **expiryDate**: *Date | null*

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:78*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L78)

date at which the last Checkpoint will be created with this Schedule. A null value means that this Schedule never expires

### id

• **id**: *BigNumber*

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:56*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L56)

schedule identifier number

### period

• **period**: [*CalendarPeriod*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/calendarperiod) *| null*

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:67*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L67)

how often this Schedule creates a Checkpoint. A null value means this Schedule creates a single Checkpoint and then expires

### start

• **start**: *Date*

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:72*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L72)

first Checkpoint creation date

### ticker

• **ticker**: *string*

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:61*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L61)

ticker of the Security Token for which Checkpoints are scheduled

### uuid

• **uuid**: *string*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity)*.*[*uuid*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/entity#uuid)

*Defined in* [*src/api/entities/Entity.ts:46*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Entity.ts#L46)

## Methods

### details

▸ **details**(): *Promise‹*[*ScheduleDetails*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/scheduledetails)*›*

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:119*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L119)

Retrieve information specific to this Schedule

**Returns:** *Promise‹*[*ScheduleDetails*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/scheduledetails)*›*

### exists

▸ **exists**(): *Promise‹boolean›*

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:185*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L185)

Retrieve whether the Checkpoint Schedule still exists on chain

**Returns:** *Promise‹boolean›*

### getCheckpoints

▸ **getCheckpoints**(): *Promise‹*[*Checkpoint*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/checkpoint)*\[]›*

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:153*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L153)

Retrieve all Checkpoints created by this Schedule

**Returns:** *Promise‹*[*Checkpoint*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/checkpoint)*\[]›*

### isEqual

▸ **isEqual**(`entity`: [Entity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity)‹unknown, unknown›): *boolean*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity)*.*[*isEqual*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/entity#isequal)

*Defined in* [*src/api/entities/Entity.ts:61*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Entity.ts#L61)

Whether this Entity is the same as another one

**Parameters:**

| Name     | Type                                                                                                              |
| -------- | ----------------------------------------------------------------------------------------------------------------- |
| `entity` | [Entity](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity)‹unknown, unknown› |

**Returns:** *boolean*

### toJson

▸ **toJson**(): [*HumanReadable*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/humanreadable)

*Overrides* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity)*.*[*toJson*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/entity#abstract-tojson)

*Defined in* [*src/api/entities/CheckpointSchedule/index.ts:207*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/CheckpointSchedule/index.ts#L207)

Return the Schedule's ID and Token ticker

**Returns:** [*HumanReadable*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/interfaces/humanreadable)

### `Static` generateUuid

▸ **generateUuid**‹**Identifiers**›(`identifiers`: Identifiers): *string*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity)*.*[*generateUuid*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/entity#static-generateuuid)

*Defined in* [*src/api/entities/Entity.ts:14*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Entity.ts#L14)

Generate the Entity's UUID from its identifying properties

**Type parameters:**

▪ **Identifiers**

**Parameters:**

| Name          | Type        | Description |
| ------------- | ----------- | ----------- |
| `identifiers` | Identifiers |             |

**Returns:** *string*

### `Static` unserialize

▸ **unserialize**‹**Identifiers**›(`serialized`: string): *Identifiers*

*Inherited from* [*Entity*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/classes/entity)*.*[*unserialize*](https://developers.polymath.network/polymesh-sdk-api-reference/docs-v7/entity#static-unserialize)

*Defined in* [*src/api/entities/Entity.ts:23*](https://github.com/PolymathNetwork/polymesh-sdk/blob/bf2b7a12/src/api/entities/Entity.ts#L23)

Unserialize a UUID into its Unique Identifiers

**Type parameters:**

▪ **Identifiers**

**Parameters:**

| Name         | Type   | Description         |
| ------------ | ------ | ------------------- |
| `serialized` | string | UUID to unserialize |

**Returns:** *Identifiers*
