Stellar PHP SDK API Documentation

XdrPaymentResultCode
in package

Table of Contents

Constants

LINE_FULL  : mixed = -8
MALFORMED  : mixed = -1
NO_DESTINATION  : mixed = -5
NO_ISSUER  : mixed = -9
NO_TRUST  : mixed = -6
NOT_AUTHORIZED  : mixed = -7
SRC_NO_TRUST  : mixed = -3
SRC_NOT_AUTHORIZED  : mixed = -4
SUCCESS  : mixed = 0
UNDERFUNDED  : mixed = -2

Properties

$value  : int

Methods

__construct()  : mixed
decode()  : XdrPaymentResultCode
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getValue()  : int
LINE_FULL()  : XdrPaymentResultCode
MALFORMED()  : XdrPaymentResultCode
NO_DESTINATION()  : XdrPaymentResultCode
NO_ISSUER()  : XdrPaymentResultCode
NO_TRUST()  : XdrPaymentResultCode
NOT_AUTHORIZED()  : XdrPaymentResultCode
SRC_NO_TRUST()  : XdrPaymentResultCode
SRC_NOT_AUTHORIZED()  : XdrPaymentResultCode
SUCCESS()  : XdrPaymentResultCode
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string
UNDERFUNDED()  : XdrPaymentResultCode

Constants

Properties

Methods

fromBase64Xdr()

public static fromBase64Xdr(string $xdr) : static
Parameters
$xdr : string
Return values
static

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

fromJsonValue()

public static fromJsonValue(mixed $value) : static
Parameters
$value : mixed
Return values
static

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