Builder

class Builder
Represents an asset
Note: alphanum12 currently not supported
Protobuf type TW.Stellar.Proto.Asset

Functions

Link copied to clipboard
Optional in case of non-native asset; the asset alphanum4 code.
string alphanum4 = 2;
Link copied to clipboard
Optional in case of non-native asset; the asset issuer address
string issuer = 1;
Link copied to clipboard
open fun getAlphanum4(): String
Optional in case of non-native asset; the asset alphanum4 code.
string alphanum4 = 2;
Link copied to clipboard
open fun getAlphanum4Bytes(): ByteString
Optional in case of non-native asset; the asset alphanum4 code.
string alphanum4 = 2;
Link copied to clipboard
open fun getIssuer(): String
Optional in case of non-native asset; the asset issuer address
string issuer = 1;
Link copied to clipboard
open fun getIssuerBytes(): ByteString
Optional in case of non-native asset; the asset issuer address
string issuer = 1;
Link copied to clipboard
Optional in case of non-native asset; the asset alphanum4 code.
string alphanum4 = 2;
Link copied to clipboard
open fun setAlphanum4Bytes(value: ByteString): Stellar.Asset.Builder
Optional in case of non-native asset; the asset alphanum4 code.
string alphanum4 = 2;
Link copied to clipboard
Optional in case of non-native asset; the asset issuer address
string issuer = 1;
Link copied to clipboard
open fun setIssuerBytes(value: ByteString): Stellar.Asset.Builder
Optional in case of non-native asset; the asset issuer address
string issuer = 1;