public static Withdrawals ToWithdrawals(jsonWithdrawals _Withdrawals) { Withdrawals tmp = new Withdrawals(); foreach (jsonWithdrawal t in _Withdrawals.withdrawals) { tmp.MyWithdrawals.Add(t.ToWithdrawal()); } return(tmp); }
public static jsonWithdrawals FromWithdrawals(Withdrawals _Withdrawals) { List <jsonWithdrawal> tmpWithdrawals = new List <jsonWithdrawal>(); foreach (Withdrawal t in _Withdrawals) { tmpWithdrawals.Add(t); } jsonWithdrawals tmp = new jsonWithdrawals { withdrawals = tmpWithdrawals.ToArray() }; return(tmp); }
public Withdrawals FromJsonWithdrawals(jsonWithdrawals _Withdrawals) { return(_Withdrawals.ToWithdrawals()); }