Class Memo.MemoBuilder

java.lang.Object
org.stellar.sdk.xdr.Memo.MemoBuilder
Enclosing class:
Memo

public static class Memo.MemoBuilder extends Object
  • Method Details

    • discriminant

      public Memo.MemoBuilder discriminant(MemoType discriminant)
      Value of the discriminant field.
      Parameters:
      discriminant - the discriminant field value
      Returns:
      this.
    • text

      public Memo.MemoBuilder text(XdrString text)
      Value of the text field.
      Parameters:
      text - the text field value
      Returns:
      this.
    • id

      public Memo.MemoBuilder id(Uint64 id)
      Value of the id field.
      Parameters:
      id - the id field value
      Returns:
      this.
    • hash

      public Memo.MemoBuilder hash(Hash hash)
      Value of the hash field.
      Parameters:
      hash - the hash field value
      Returns:
      this.
    • retHash

      public Memo.MemoBuilder retHash(Hash retHash)
      Value of the retHash field.
      Parameters:
      retHash - the retHash field value
      Returns:
      this.
    • build

      public Memo build()
    • toString

      public String toString()
      Overrides:
      toString in class Object