Ejemplo n.º 1
0
 public Amount(AmountValue value,
               Currency currency=null,
               AccountId issuer=null)
 {
     Currency = currency ?? Currency.Xrp;
     Issuer = issuer ?? (Currency.IsNative ?
                             AccountId.Zero :
                             AccountId.Neutral);
     Value = value;
 }
Ejemplo n.º 2
0
 public Amount(string v="0", Currency c=null, AccountId i=null) :
               this(AmountValue.FromString(v, c == null || c.IsNative), c, i)
 {
 }
Ejemplo n.º 3
0
 public AccountId ReadAccountId()
 {
     return(AccountId.FromParser(_parser));
 }