PathLinksResponse
in package
HAL navigation links for payment path resources
This response contains hypermedia links following the HAL (Hypertext Application Language) specification for navigating payment path resources in the Horizon API. Path payment endpoints return possible routes for converting one asset to another through the network.
Available links:
- self: Link to this payment path endpoint
Tags
Table of Contents
Methods
- fromJson() : PathLinksResponse
- Creates a PathLinksResponse from JSON data
- getSelf() : LinkResponse
- Gets the link to this payment path endpoint
- loadFromJson() : void
Methods
fromJson()
Creates a PathLinksResponse from JSON data
public
static fromJson(array<string|int, mixed> $json) : PathLinksResponse
Parameters
- $json : array<string|int, mixed>
-
Associative array of parsed JSON response
Return values
PathLinksResponse —The populated links response
getSelf()
Gets the link to this payment path endpoint
public
getSelf() : LinkResponse
Return values
LinkResponse —The self link
loadFromJson()
protected
loadFromJson(array<string|int, mixed> $json) : void
Parameters
- $json : array<string|int, mixed>