XdrPathPaymentStrictReceiveOperation
in package
Table of Contents
Properties
- $destAmount : BigInteger
- $destAsset : XdrAsset
- $destination : XdrMuxedAccount
- $path : array<string|int, mixed>
- $sendAsset : XdrAsset
- $sendMax : BigInteger
Methods
- __construct() : mixed
- decode() : XdrPathPaymentStrictReceiveOperation
- encode() : string
- fromBase64Xdr() : static
- fromJson() : static
- fromJsonValue() : static
- fromTxRep() : XdrPathPaymentStrictReceiveOperation
- getDestAmount() : BigInteger
- getDestAsset() : XdrAsset
- getDestination() : XdrMuxedAccount
- getPath() : array<string|int, mixed>
- getSendAsset() : XdrAsset
- getSendMax() : BigInteger
- setDestAmount() : void
- setDestAsset() : void
- setDestination() : void
- setPath() : void
- setSendAsset() : void
- setSendMax() : void
- toBase64Xdr() : string
- toJson() : string
- toJsonValue() : array<string|int, mixed>
- toTxRep() : void
Properties
$destAmount
public
BigInteger
$destAmount
$destAsset
public
XdrAsset
$destAsset
$destination
public
XdrMuxedAccount
$destination
$path
public
array<string|int, mixed>
$path
$sendAsset
public
XdrAsset
$sendAsset
$sendMax
public
BigInteger
$sendMax
Methods
__construct()
public
__construct(XdrAsset $sendAsset, BigInteger $sendMax, XdrMuxedAccount $destination, XdrAsset $destAsset, BigInteger $destAmount, array<string|int, mixed> $path) : mixed
Parameters
- $sendAsset : XdrAsset
- $sendMax : BigInteger
- $destination : XdrMuxedAccount
- $destAsset : XdrAsset
- $destAmount : BigInteger
- $path : array<string|int, mixed>
decode()
public
static decode(XdrBuffer $xdr) : XdrPathPaymentStrictReceiveOperation
Parameters
- $xdr : XdrBuffer
Return values
XdrPathPaymentStrictReceiveOperationencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromJson()
public
static fromJson(string $json) : static
Parameters
- $json : string
Tags
Return values
staticfromJsonValue()
public
static fromJsonValue(mixed $value) : static
Parameters
- $value : mixed
Return values
staticfromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : XdrPathPaymentStrictReceiveOperation
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
XdrPathPaymentStrictReceiveOperationgetDestAmount()
public
getDestAmount() : BigInteger
Return values
BigIntegergetDestAsset()
public
getDestAsset() : XdrAsset
Return values
XdrAssetgetDestination()
public
getDestination() : XdrMuxedAccount
Return values
XdrMuxedAccountgetPath()
public
getPath() : array<string|int, mixed>
Return values
array<string|int, mixed>getSendAsset()
public
getSendAsset() : XdrAsset
Return values
XdrAssetgetSendMax()
public
getSendMax() : BigInteger
Return values
BigIntegersetDestAmount()
public
setDestAmount(BigInteger $destAmount) : void
Parameters
- $destAmount : BigInteger
setDestAsset()
public
setDestAsset(XdrAsset $destAsset) : void
Parameters
- $destAsset : XdrAsset
setDestination()
public
setDestination(XdrMuxedAccount $destination) : void
Parameters
- $destination : XdrMuxedAccount
setPath()
public
setPath(array<string|int, mixed> $path) : void
Parameters
- $path : array<string|int, mixed>
setSendAsset()
public
setSendAsset(XdrAsset $sendAsset) : void
Parameters
- $sendAsset : XdrAsset
setSendMax()
public
setSendMax(BigInteger $sendMax) : void
Parameters
- $sendMax : BigInteger
toBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoJson()
public
toJson() : string
Tags
Return values
stringtoJsonValue()
public
toJsonValue() : array<string|int, mixed>
Return values
array<string|int, mixed>toTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
- $prefix : string
- $lines : array<string|int, mixed>