Package org.stellar.sdk.xdr
Class Claimant.ClaimantV0
java.lang.Object
org.stellar.sdk.xdr.Claimant.ClaimantV0
- Enclosing class:
Claimant
ClaimantV0's original definition in the XDR file is:
struct { AccountID destination; // The account that can use this condition ClaimPredicate predicate; // Claimable if predicate is true }
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static Claimant.ClaimantV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Claimant.ClaimantV0
fromXdrBase64
(String xdr) static Claimant.ClaimantV0
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDestination
(AccountID destination) void
setPredicate
(ClaimPredicate predicate) toString()
default String
default byte[]
-
Constructor Details
-
ClaimantV0
public ClaimantV0() -
ClaimantV0
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDestination
-
getPredicate
-
setDestination
-
setPredicate
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-