XdrPreconditions
in package
Table of Contents
Properties
- $timeBounds : XdrTimeBounds|null
- $type : XdrPreconditionType
- $v2 : XdrPreconditionsV2|null
Methods
- __construct() : mixed
- decode() : XdrPreconditions
- encode() : string
- fromBase64Xdr() : static
- fromTxRep() : XdrPreconditions
- getTimeBounds() : XdrTimeBounds|null
- getType() : XdrPreconditionType
- getV2() : XdrPreconditionsV2|null
- setTimeBounds() : void
- setType() : void
- setV2() : void
- toBase64Xdr() : string
- toTxRep() : void
Properties
$timeBounds
public
XdrTimeBounds|null
$timeBounds
= null
$type
public
XdrPreconditionType
$type
$v2
public
XdrPreconditionsV2|null
$v2
= null
Methods
__construct()
public
__construct([XdrPreconditionType|null $type = null ]) : mixed
Parameters
- $type : XdrPreconditionType|null = null
decode()
public
static decode(XdrBuffer $xdr) : XdrPreconditions
Parameters
- $xdr : XdrBuffer
Return values
XdrPreconditionsencode()
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) : XdrPreconditions
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
XdrPreconditionsgetTimeBounds()
public
getTimeBounds() : XdrTimeBounds|null
Return values
XdrTimeBounds|nullgetType()
public
getType() : XdrPreconditionType
Return values
XdrPreconditionTypegetV2()
public
getV2() : XdrPreconditionsV2|null
Return values
XdrPreconditionsV2|nullsetTimeBounds()
public
setTimeBounds(XdrTimeBounds|null $timeBounds) : void
Parameters
- $timeBounds : XdrTimeBounds|null
setType()
public
setType(XdrPreconditionType $type) : void
Parameters
- $type : XdrPreconditionType
setV2()
public
setV2(XdrPreconditionsV2|null $v2) : void
Parameters
- $v2 : XdrPreconditionsV2|null
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>