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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static Claimant.ClaimantV0decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic Claimant.ClaimantV0fromXdrBase64(String xdr) static Claimant.ClaimantV0fromXdrByteArray(byte[] xdr) inthashCode()voidsetDestination(AccountID destination) voidsetPredicate(ClaimPredicate predicate) toString()default Stringdefault 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
-