XdrTrustlineAssetBase
in package
Table of Contents
Properties
- $alphaNum12 : XdrAssetAlphaNum12|null
- $alphaNum4 : XdrAssetAlphaNum4|null
- $liquidityPoolID : string|null
- $type : XdrAssetType
Methods
- __construct() : mixed
- decode() : static
- encode() : string
- fromBase64Xdr() : static
- fromTxRep() : static
- getAlphaNum12() : XdrAssetAlphaNum12|null
- getAlphaNum4() : XdrAssetAlphaNum4|null
- getLiquidityPoolID() : string|null
- getType() : XdrAssetType
- setAlphaNum12() : void
- setAlphaNum4() : void
- setLiquidityPoolID() : void
- setType() : void
- toBase64Xdr() : string
- toTxRep() : void
Properties
$alphaNum12
public
XdrAssetAlphaNum12|null
$alphaNum12
= null
$alphaNum4
public
XdrAssetAlphaNum4|null
$alphaNum4
= null
$liquidityPoolID
public
string|null
$liquidityPoolID
= null
$type
public
XdrAssetType
$type
Methods
__construct()
public
__construct([XdrAssetType|null $type = null ]) : mixed
Parameters
- $type : XdrAssetType|null = null
decode()
public
static decode(XdrBuffer $xdr) : static
Parameters
- $xdr : XdrBuffer
Return values
staticencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : static
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
staticgetAlphaNum12()
public
getAlphaNum12() : XdrAssetAlphaNum12|null
Return values
XdrAssetAlphaNum12|nullgetAlphaNum4()
public
getAlphaNum4() : XdrAssetAlphaNum4|null
Return values
XdrAssetAlphaNum4|nullgetLiquidityPoolID()
public
getLiquidityPoolID() : string|null
Return values
string|nullgetType()
public
getType() : XdrAssetType
Return values
XdrAssetTypesetAlphaNum12()
public
setAlphaNum12(XdrAssetAlphaNum12|null $alphaNum12) : void
Parameters
- $alphaNum12 : XdrAssetAlphaNum12|null
setAlphaNum4()
public
setAlphaNum4(XdrAssetAlphaNum4|null $alphaNum4) : void
Parameters
- $alphaNum4 : XdrAssetAlphaNum4|null
setLiquidityPoolID()
public
setLiquidityPoolID(string|null $liquidityPoolID) : void
Parameters
- $liquidityPoolID : string|null
setType()
public
setType(XdrAssetType $type) : void
Parameters
- $type : XdrAssetType
toBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
- $prefix : string
- $lines : array<string|int, mixed>