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.
Inherited Members
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
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
|