Stellar PHP SDK API Documentation

XdrPrice
in package

Table of Contents

Properties

$d  : int
$n  : int

Methods

__construct()  : mixed
decode()  : XdrPrice
encode()  : string
fromBase64Xdr()  : static
fromTxRep()  : XdrPrice
getD()  : int
getN()  : int
setD()  : void
setN()  : void
toBase64Xdr()  : string
toTxRep()  : void

Properties

Methods

__construct()

public __construct(int $n, int $d) : mixed
Parameters
$n : int
$d : int

encode()

public encode() : string
Return values
string

fromBase64Xdr()

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

fromTxRep()

public static fromTxRep(array<string|int, mixed> $map, string $prefix) : XdrPrice
Parameters
$map : array<string|int, mixed>
$prefix : string
Return values
XdrPrice

getD()

public getD() : int
Return values
int

getN()

public getN() : int
Return values
int

setD()

public setD(int $d) : void
Parameters
$d : int

setN()

public setN(int $n) : void
Parameters
$n : int

toBase64Xdr()

public toBase64Xdr() : string
Return values
string

toTxRep()

public toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
$prefix : string
$lines : array<string|int, mixed>

        
On this page

Search results