XdrLedgerKeyTrustLine
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- decode() : XdrLedgerKeyTrustLine
- encode() : string
- fromBase64Xdr() : static
- fromTxRep() : XdrLedgerKeyTrustLine
- getAccountID() : XdrAccountID
- getAsset() : XdrTrustlineAsset
- setAccountID() : void
- setAsset() : void
- toBase64Xdr() : string
- toTxRep() : void
Properties
$accountID
public
XdrAccountID
$accountID
$asset
public
XdrTrustlineAsset
$asset
Methods
__construct()
public
__construct(XdrAccountID $accountID, XdrTrustlineAsset $asset) : mixed
Parameters
- $accountID : XdrAccountID
- $asset : XdrTrustlineAsset
decode()
public
static decode(XdrBuffer $xdr) : XdrLedgerKeyTrustLine
Parameters
- $xdr : XdrBuffer
Return values
XdrLedgerKeyTrustLineencode()
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) : XdrLedgerKeyTrustLine
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
XdrLedgerKeyTrustLinegetAccountID()
public
getAccountID() : XdrAccountID
Return values
XdrAccountIDgetAsset()
public
getAsset() : XdrTrustlineAsset
Return values
XdrTrustlineAssetsetAccountID()
public
setAccountID(XdrAccountID $accountID) : void
Parameters
- $accountID : XdrAccountID
setAsset()
public
setAsset(XdrTrustlineAsset $asset) : void
Parameters
- $asset : XdrTrustlineAsset
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>