OperationLinksResponse
in package
Hypermedia links for operation resources
Provides HAL-style links to related resources for an operation, including the operation itself, its effects, the parent transaction, and adjacent operations in the ledger sequence. These links enable navigation through the operation history and related data.
Table of Contents
Methods
- fromJson() : OperationLinksResponse
- getEffects() : LinkResponse
- Gets the link to the operation's effects
- getPrecedes() : LinkResponse
- Gets the link to the next operation in sequence
- getSelf() : LinkResponse
- Gets the link to this operation resource
- getSucceeds() : LinkResponse
- Gets the link to the previous operation in sequence
- getTransaction() : LinkResponse
- Gets the link to the parent transaction
- loadFromJson() : void
Methods
fromJson()
public
static fromJson(array<string|int, mixed> $json) : OperationLinksResponse
Parameters
- $json : array<string|int, mixed>
Return values
OperationLinksResponsegetEffects()
Gets the link to the operation's effects
public
getEffects() : LinkResponse
Return values
LinkResponse —Link to effects caused by this operation
getPrecedes()
Gets the link to the next operation in sequence
public
getPrecedes() : LinkResponse
Return values
LinkResponse —Link to the chronologically following operation
getSelf()
Gets the link to this operation resource
public
getSelf() : LinkResponse
Return values
LinkResponse —Link to the operation details
getSucceeds()
Gets the link to the previous operation in sequence
public
getSucceeds() : LinkResponse
Return values
LinkResponse —Link to the chronologically preceding operation
getTransaction()
Gets the link to the parent transaction
public
getTransaction() : LinkResponse
Return values
LinkResponse —Link to the transaction containing this operation
loadFromJson()
protected
loadFromJson(array<string|int, mixed> $json) : void
Parameters
- $json : array<string|int, mixed>