public static class Claimant.ClaimantV0 extends java.lang.Object implements XdrElement
struct { AccountID destination; // The account that can use this condition ClaimPredicate predicate; // Claimable if predicate is true }
Modifier and Type | Class and Description |
---|---|
static class |
Claimant.ClaimantV0.ClaimantV0Builder |
Constructor and Description |
---|
ClaimantV0() |
ClaimantV0(AccountID destination,
ClaimPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
static Claimant.ClaimantV0.ClaimantV0Builder |
builder() |
static Claimant.ClaimantV0 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static Claimant.ClaimantV0 |
fromXdrBase64(java.lang.String xdr) |
static Claimant.ClaimantV0 |
fromXdrByteArray(byte[] xdr) |
AccountID |
getDestination() |
ClaimPredicate |
getPredicate() |
int |
hashCode() |
void |
setDestination(AccountID destination) |
void |
setPredicate(ClaimPredicate predicate) |
Claimant.ClaimantV0.ClaimantV0Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public ClaimantV0()
public ClaimantV0(AccountID destination, ClaimPredicate predicate)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static Claimant.ClaimantV0 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static Claimant.ClaimantV0 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static Claimant.ClaimantV0 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static Claimant.ClaimantV0.ClaimantV0Builder builder()
public Claimant.ClaimantV0.ClaimantV0Builder toBuilder()
public AccountID getDestination()
public ClaimPredicate getPredicate()
public void setDestination(AccountID destination)
public void setPredicate(ClaimPredicate predicate)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object