Venue

Represents a Venue through which settlements are handled

Hierarchy

  • Entity‹UniqueIdentifiers›

    Venue

Index

Properties

Methods

Properties

Protected context

context: Context

Inherited from CheckpointSchedule.context

Defined in src/api/entities/Entity.ts:48

id

id: BigNumber

Defined in src/api/entities/Venue/index.ts:57

Identifier number of the venue

uuid

uuid: string

Inherited from CheckpointSchedule.uuid

Defined in src/api/entities/Entity.ts:46

Methods

addInstruction

addInstruction(args: AddInstructionParams): Promise‹TransactionQueueInstruction[], Instruction››

Defined in src/api/entities/Venue/index.ts:194

Creates a settlement Instruction in this Venue

note required role:

  • Venue Owner

note this method is of type ProcedureMethod, which means you can call addInstruction.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Parameters:

Returns: Promise‹TransactionQueueInstruction[], Instruction››

addInstructions

addInstructions(args: AddInstructionsParams): Promise‹TransactionQueueInstruction[]››

Defined in src/api/entities/Venue/index.ts:207

Creates a batch of settlement Instructions in this Venue

note required role:

  • Venue Owner

note this method is of type ProcedureMethod, which means you can call addInstructions.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Parameters:

Returns: Promise‹TransactionQueueInstruction[]››

details

details(): Promise‹VenueDetails

Defined in src/api/entities/Venue/index.ts:110

Retrieve information specific to this venue

Returns: Promise‹VenueDetails

exists

exists(): Promise‹boolean›

Defined in src/api/entities/Venue/index.ts:91

Retrieve whether the Venue exists

Returns: Promise‹boolean›

getPendingInstructions

getPendingInstructions(): Promise‹Instruction[]›

Defined in src/api/entities/Venue/index.ts:144

Retrieve all pending Instructions in this Venue

Returns: Promise‹Instruction[]›

isEqual

isEqual(entity: Entity‹unknown›): boolean

Inherited from CheckpointSchedule.isEqual

Defined in src/api/entities/Entity.ts:61

Whether this Entity is the same as another one

Parameters:

Name

Type

entity

Entity‹unknown›

Returns: boolean

modify

modify(args: ModifyVenueParams): Promise‹TransactionQueue‹void››

Defined in src/api/entities/Venue/index.ts:220

Modify description and type

note required role:

  • Venue Owner

note this method is of type ProcedureMethod, which means you can call modify.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Parameters:

Name

Type

args

Returns: Promise‹TransactionQueue‹void››

Static generateUuid

generateUuidIdentifiers›(identifiers: Identifiers): string

Inherited from CheckpointSchedule.generateUuid

Defined in src/api/entities/Entity.ts:14

Generate the Entity's UUID from its identifying properties

Type parameters:

Identifiers

Parameters:

Name

Type

Description

identifiers

Identifiers

Returns: string

Static unserialize

unserializeIdentifiers›(serialized: string): Identifiers

Inherited from CheckpointSchedule.unserialize

Defined in src/api/entities/Entity.ts:23

Unserialize a UUID into its Unique Identifiers

Type parameters:

Identifiers

Parameters:

Name

Type

Description

serialized

string

UUID to unserialize

Returns: Identifiers

Last updated