Combi = function (eventId,marketId,outcomeId,marketStart,marketName,outcomeName,betType,odds,oddsFloat,eventShortcut,bank,expected) { this.eventId = eventId; this.marketId = marketId; this.outcomeId = outcomeId; this.marketStart = marketStart; this.marketName = marketName; this.outcomeName = outcomeName; this.betType = betType; this.odds = odds; this.oddsFloat = oddsFloat; if(eventShortcut) this.eventShortcut = eventShortcut; if(bank) this.bank = bank; else this.bank = false; if(expected) this.expected = expected; else this.expected = 1; }