Package org.xrpl.xrpl4j.model.ledger
Interface Issue
- All Known Implementing Classes:
ImmutableIssue
@Immutable
public interface Issue
Represents an asset on the ledger without an amount.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableIssue.Builderbuilder()Construct aAssetbuilder.currency()Either a 3 character currency code, or a 40 character hexadecimal encoded currency code value.issuer()TheAddressof the issuer of the currency, or empty if the currency is XRP.
-
Field Details
-
XRP
ConstantIssuerepresenting XRP.
-
-
Method Details
-
builder
Construct aAssetbuilder.- Returns:
- An
ImmutableIssue.Builder.
-
currency
String currency()Either a 3 character currency code, or a 40 character hexadecimal encoded currency code value.- Returns:
- A
Stringcontaining the currency code.
-
issuer
TheAddressof the issuer of the currency, or empty if the currency is XRP.- Returns:
- The
Addressof the issuer account.
-