public static MeNewCashInOutModel Create( string id, string clientId, string assetId, double amount, FeeContract feeContract = null) { return(new MeNewCashInOutModel { Id = id, ClientId = clientId, DateTime = (long)System.DateTime.UtcNow.ToUnixTime(), AssetId = assetId, Amount = amount, Fee = feeContract }); }
public static MeNewTransferModel Create( string id, string fromClientId, string toClientId, string assetId, double amount, FeeContract feeContract, double overdraft) { return(new MeNewTransferModel { Id = id, FromClientId = fromClientId, ToClientId = toClientId, DateTime = (long)System.DateTime.UtcNow.ToUnixTime(), AssetId = assetId, Amount = amount, Fee = feeContract, Overdraft = overdraft }); }