Stellar PHP SDK API Documentation

XdrSCSpecUDTUnionCaseV0 extends XdrSCSpecUDTUnionCaseV0Base
in package

Table of Contents

Properties

$kind  : XdrSCSpecUDTUnionCaseV0Kind
$tupleCase  : XdrSCSpecUDTUnionCaseTupleV0|null
$voidCase  : XdrSCSpecUDTUnionCaseVoidV0|null

Methods

__construct()  : mixed
decode()  : static
encode()  : string
forTupleCase()  : XdrSCSpecUDTUnionCaseV0
forVoidCase()  : XdrSCSpecUDTUnionCaseV0
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getKind()  : XdrSCSpecUDTUnionCaseV0Kind
getTupleCase()  : XdrSCSpecUDTUnionCaseTupleV0|null
getVoidCase()  : XdrSCSpecUDTUnionCaseVoidV0|null
setKind()  : void
setTupleCase()  : void
setVoidCase()  : void
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : 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

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