Stellar PHP SDK API Documentation

XdrSetOptionsResultCode
in package

Table of Contents

Constants

AUTH_REVOCABLE_REQUIRED  : mixed = -10
BAD_FLAGS  : mixed = -3
BAD_SIGNER  : mixed = -8
CANT_CHANGE  : mixed = -5
INVALID_HOME_DOMAIN  : mixed = -9
INVALID_INFLATION  : mixed = -4
LOW_RESERVE  : mixed = -1
SUCCESS  : mixed = 0
THRESHOLD_OUT_OF_RANGE  : mixed = -7
TOO_MANY_SIGNERS  : mixed = -2
UNKNOWN_FLAG  : mixed = -6

Properties

$value  : int

Methods

__construct()  : mixed
AUTH_REVOCABLE_REQUIRED()  : XdrSetOptionsResultCode
BAD_FLAGS()  : XdrSetOptionsResultCode
BAD_SIGNER()  : XdrSetOptionsResultCode
CANT_CHANGE()  : XdrSetOptionsResultCode
decode()  : XdrSetOptionsResultCode
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getValue()  : int
INVALID_HOME_DOMAIN()  : XdrSetOptionsResultCode
INVALID_INFLATION()  : XdrSetOptionsResultCode
LOW_RESERVE()  : XdrSetOptionsResultCode
SUCCESS()  : XdrSetOptionsResultCode
THRESHOLD_OUT_OF_RANGE()  : XdrSetOptionsResultCode
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string
TOO_MANY_SIGNERS()  : XdrSetOptionsResultCode
UNKNOWN_FLAG()  : XdrSetOptionsResultCode

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