public final class AssetTypeNative extends Asset
Constructor and Description |
---|
AssetTypeNative() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(@NonNull Asset other)
Compares two assets.
|
boolean |
equals(java.lang.Object object) |
AssetType |
getType()
Returns asset type.
|
int |
hashCode() |
java.lang.String |
toString() |
Asset |
toXdr()
Generates XDR object from a given Asset object
|
create, create, createNativeAsset, createNonNativeAsset, fromXdr, getContractId
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Asset toXdr()
Asset