Stellar PHP SDK API Documentation

XdrSorobanTransactionMetaExtV1
in package

Table of Contents

Properties

$ext  : XdrExtensionPoint
$rentFeeCharged  : int
$totalNonRefundableResourceFeeCharged  : int
$totalRefundableResourceFeeCharged  : int

Methods

__construct()  : mixed
decode()  : XdrSorobanTransactionMetaExtV1
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getExt()  : XdrExtensionPoint
getRentFeeCharged()  : int
getTotalNonRefundableResourceFeeCharged()  : int
getTotalRefundableResourceFeeCharged()  : int
setExt()  : void
setRentFeeCharged()  : void
setTotalNonRefundableResourceFeeCharged()  : void
setTotalRefundableResourceFeeCharged()  : void
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(XdrExtensionPoint $ext, int $totalNonRefundableResourceFeeCharged, int $totalRefundableResourceFeeCharged, int $rentFeeCharged) : mixed
Parameters
$ext : XdrExtensionPoint
$totalNonRefundableResourceFeeCharged : int
$totalRefundableResourceFeeCharged : int
$rentFeeCharged : int

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

setTotalNonRefundableResourceFeeCharged()

public setTotalNonRefundableResourceFeeCharged(int $totalNonRefundableResourceFeeCharged) : void
Parameters
$totalNonRefundableResourceFeeCharged : int

setTotalRefundableResourceFeeCharged()

public setTotalRefundableResourceFeeCharged(int $totalRefundableResourceFeeCharged) : void
Parameters
$totalRefundableResourceFeeCharged : int

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