XdrClaimPredicate
in package
Table of Contents
Properties
- $absBefore : int|null
- $andPredicates : array<string|int, mixed>|null
- $notPredicate : XdrClaimPredicate|null
- $orPredicates : array<string|int, mixed>|null
- $relBefore : int|null
- $type : XdrClaimPredicateType
Methods
- __construct() : mixed
- decode() : XdrClaimPredicate
- encode() : string
- fromBase64Xdr() : static
- fromJson() : static
- fromJsonValue() : static
- fromTxRep() : XdrClaimPredicate
- getAbsBefore() : int|null
- getAndPredicates() : array<string|int, mixed>|null
- getNotPredicate() : XdrClaimPredicate|null
- getOrPredicates() : array<string|int, mixed>|null
- getRelBefore() : int|null
- getType() : XdrClaimPredicateType
- setAbsBefore() : void
- setAndPredicates() : void
- setNotPredicate() : void
- setOrPredicates() : void
- setRelBefore() : void
- setType() : void
- toBase64Xdr() : string
- toJson() : string
- toJsonValue() : mixed
- toTxRep() : void
Properties
$absBefore
public
int|null
$absBefore
= null
$andPredicates
public
array<string|int, mixed>|null
$andPredicates
= null
$notPredicate
public
XdrClaimPredicate|null
$notPredicate
= null
$orPredicates
public
array<string|int, mixed>|null
$orPredicates
= null
$relBefore
public
int|null
$relBefore
= null
$type
public
XdrClaimPredicateType
$type
Methods
__construct()
public
__construct([XdrClaimPredicateType|null $type = null ]) : mixed
Parameters
- $type : XdrClaimPredicateType|null = null
decode()
public
static decode(XdrBuffer $xdr) : XdrClaimPredicate
Parameters
- $xdr : XdrBuffer
Return values
XdrClaimPredicateencode()
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) : XdrClaimPredicate
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
XdrClaimPredicategetAbsBefore()
public
getAbsBefore() : int|null
Return values
int|nullgetAndPredicates()
public
getAndPredicates() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetNotPredicate()
public
getNotPredicate() : XdrClaimPredicate|null
Return values
XdrClaimPredicate|nullgetOrPredicates()
public
getOrPredicates() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetRelBefore()
public
getRelBefore() : int|null
Return values
int|nullgetType()
public
getType() : XdrClaimPredicateType
Return values
XdrClaimPredicateTypesetAbsBefore()
public
setAbsBefore(int|null $absBefore) : void
Parameters
- $absBefore : int|null
setAndPredicates()
public
setAndPredicates(array<string|int, mixed>|null $andPredicates) : void
Parameters
- $andPredicates : array<string|int, mixed>|null
setNotPredicate()
public
setNotPredicate(XdrClaimPredicate|null $notPredicate) : void
Parameters
- $notPredicate : XdrClaimPredicate|null
setOrPredicates()
public
setOrPredicates(array<string|int, mixed>|null $orPredicates) : void
Parameters
- $orPredicates : array<string|int, mixed>|null
setRelBefore()
public
setRelBefore(int|null $relBefore) : void
Parameters
- $relBefore : int|null
setType()
public
setType(XdrClaimPredicateType $type) : void
Parameters
- $type : XdrClaimPredicateType
toBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoJson()
public
toJson() : string
Tags
Return values
stringtoJsonValue()
public
toJsonValue() : mixed
toTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
- $prefix : string
- $lines : array<string|int, mixed>