Class TrustLineAsset

java.lang.Object
org.stellar.sdk.xdr.TrustLineAsset

public class TrustLineAsset extends Object
TrustLineAsset's original definition in the XDR file is:
 union TrustLineAsset switch (AssetType type)
 {
 case ASSET_TYPE_NATIVE: // Not credit
     void;

 case ASSET_TYPE_CREDIT_ALPHANUM4:
     AlphaNum4 alphaNum4;

 case ASSET_TYPE_CREDIT_ALPHANUM12:
     AlphaNum12 alphaNum12;

 case ASSET_TYPE_POOL_SHARE:
     PoolID liquidityPoolID;

     // add other asset types here in the future
 };