Class Claimant

java.lang.Object
org.stellar.sdk.Claimant

public final class Claimant extends Object
Represents an entity who is eligible to claim the claimable balance.
  • Constructor Details

    • Claimant

      public Claimant(@NonNull @NonNull String destination, @NonNull @NonNull Predicate predicate)
      Creates a new Claimant instance.
      Parameters:
      destination - The destination account id.
      predicate - The predicate for this claimable balance.
  • Method Details

    • getDestination

      @NonNull public @NonNull String getDestination()
      The destination account id.
    • getPredicate

      @NonNull public @NonNull Predicate getPredicate()
      The predicate for this claimable balance.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object