Class AssetTypeCreditAlphaNum

java.lang.Object
org.stellar.sdk.Asset
org.stellar.sdk.AssetTypeCreditAlphaNum
All Implemented Interfaces:
Comparable<Asset>
Direct Known Subclasses:
AssetTypeCreditAlphaNum12, AssetTypeCreditAlphaNum4

public abstract class AssetTypeCreditAlphaNum extends Asset
See Also:
  • Constructor Details

    • AssetTypeCreditAlphaNum

      public AssetTypeCreditAlphaNum(@NonNull @NonNull String code, @NonNull @NonNull String issuer)
      Creates a new AssetTypeCreditAlphaNum instance.
      Parameters:
      code - Asset code
      issuer - Asset issuer
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class Asset
    • hashCode

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

      @NonNull public @NonNull String getCode()
      Asset code
    • getIssuer

      @NonNull public @NonNull String getIssuer()
      Asset issuer