Interface Issue

All Known Implementing Classes:
ImmutableIssue

@Immutable public interface Issue
Represents an asset on the ledger without an amount.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Issue
    Constant Issue representing XRP.
  • Method Summary

    Modifier and Type
    Method
    Description
    Construct a Asset builder.
    Either a 3 character currency code, or a 40 character hexadecimal encoded currency code value.
    The Address of the issuer of the currency, or empty if the currency is XRP.
  • Field Details

    • XRP

      static final Issue XRP
      Constant Issue representing XRP.
  • Method Details

    • builder

      static ImmutableIssue.Builder builder()
      Construct a Asset builder.
      Returns:
      An ImmutableIssue.Builder.
    • currency

      String currency()
      Either a 3 character currency code, or a 40 character hexadecimal encoded currency code value.
      Returns:
      A String containing the currency code.
    • issuer

      Optional<Address> issuer()
      The Address of the issuer of the currency, or empty if the currency is XRP.
      Returns:
      The Address of the issuer account.