Package org.stellar.sdk
Class AssetTypeCreditAlphaNum
java.lang.Object
org.stellar.sdk.Asset
org.stellar.sdk.AssetTypeCreditAlphaNum
- All Implemented Interfaces:
Comparable<Asset>
- Direct Known Subclasses:
AssetTypeCreditAlphaNum12,AssetTypeCreditAlphaNum4
Base class for
AssetTypeCreditAlphaNum4 and AssetTypeCreditAlphaNum12 subclasses.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAssetTypeCreditAlphaNum(@NonNull String code, @NonNull String issuer) Class constructor -
Method Summary
Methods inherited from class org.stellar.sdk.Asset
compareTo, create, create, createNativeAsset, createNonNativeAsset, fromXdr, getContractId, getType, toXdr
-
Constructor Details
-
AssetTypeCreditAlphaNum
Class constructor- Parameters:
code- Asset codeissuer- Asset issuer- Throws:
IllegalArgumentException- when the issuer is not a valid Ed25519 public key.
-
-
Method Details