Service ‎

Service represents one service within a ServicePackage.  A service has a name and a value. The value can be of different types, like boolean or a timestamp.

Name

Description

Qualification

Schema

Name

Description

Qualification

Schema

serviceType

Type of service.

MONITOR_STATUS: The creator can monitor the status of the participants. For all three create transaction requests, it is considered present and set to the value ‘true’ for the time being.

MONITOR_STATUS_BY_PARTICIPANTS: All participants can monitor the status of the other participants. For both create transaction requests, it is considered present and set to the value ‘true’ for the time being.

MULTISIGN: All participants get a sign request. For the create transaction request 'ManagedUserCreateTransactionRequest', it is considered present and set to the value ‘true’ for the time being.

REVOKE: The creator can revoke participants' access to the transaction, as long as they have not opened the transaction.

TIMELOCK_BEFORE: The transaction cannot be opened before the specified time.

TIMELOCK_AFTER: The transaction cannot be opened after the specified time.

Required

enum 

(TIMELOCK_BEFORE, TIMELOCK_AFTER,
MONITOR_STATUS,
MONITOR_STATUS_BY_PARTICIPANTS,
MULTISIGN, REVOKE)

serviceValueType

Type of the value. The value should be set to either BOOLEAN or TIMESTAMP, depending on the intended representation of the service object.

Required

enum (TIMESTAMP, BOOLEAN)

timeStamp

A java timestamp in the number of milliseconds since January 1st, 1970.

Optional

integer (int64)

 value

Set to ‘true’ or ‘false’.

Optional

boolean

 

Copyright © 2021–2024 Lequa Net AB – a subsidiary of Extracticon AB (publ). All rights reserved.