Stellar PHP SDK API Documentation

XdrPathPaymentResultSuccess
in package

Table of Contents

Properties

$last  : XdrSimplePaymentResult
$offers  : array<string|int, mixed>

Methods

__construct()  : mixed
decode()  : XdrPathPaymentResultSuccess
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getLast()  : XdrSimplePaymentResult
getOffers()  : array<string|int, mixed>
setLast()  : void
setOffers()  : void
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : array<string|int, mixed>

Properties

Methods

fromJson()

public static fromJson(string $json) : static
Parameters
$json : string
Tags
throws
JsonException

If $json is not syntactically valid JSON.

InvalidArgumentException

If the JSON shape does not match this type.

Return values
static

setOffers()

public setOffers(array<string|int, mixed> $offers) : void
Parameters
$offers : array<string|int, mixed>

toJson()

public toJson() : string
Tags
throws
JsonException

If the value contains structures that cannot be encoded as JSON.

Return values
string
On this page

Search results