Show / Hide Table of Contents

Class AssetTypeCreditAlphaNum

Assets are uniquely identified by the asset code and the issuer. Ultimately, it’s up to the issuer to set the asset code. By convention, however, currencies should be represented by the appropriate ISO 4217 code. For stocks and bonds, use the appropriate ISIN number.

Inheritance
System.Object
Asset
AssetTypeCreditAlphaNum
AssetTypeCreditAlphaNum12
AssetTypeCreditAlphaNum4
Inherited Members
Asset.Create(String)
Asset.Create(String, String, String)
Asset.CreateNonNativeAsset(String, String)
Asset.FromXdr(Asset)
Asset.Type
Asset.ToXdr()
Asset.CompareTo(Asset)
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public abstract class AssetTypeCreditAlphaNum : Asset

Constructors

AssetTypeCreditAlphaNum(String, String)

Creates an AssetTypeCreditAlphaNum based on the code and KeyPair

Declaration
public AssetTypeCreditAlphaNum(string code, string issuer)
Parameters
Type Name Description
System.String code

The asset code.

System.String issuer

The KeyPair of the issuer.

Properties

Code

Return the asset code

Declaration
public string Code { get; }
Property Value
System.String

Issuer

Return the asset issuer

Declaration
public string Issuer { get; }
Property Value
System.String

Methods

CanonicalName()

Returns the asset canonical name.

Declaration
public override string CanonicalName()
Returns
System.String

Overrides
Asset.CanonicalName()

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
System.Int32

Extension Methods

AssetExtensions.ToQueryParameterEncodedString(Asset)
Back to top Generated by DocFX