@Override
	void setRawResponse(JsonObject resp) {
		super.setRawResponse(resp);

		if (resp.containsKey("ChanceTooHigh"))
			chanceTooHigh = true;
		else if (resp.containsKey("ChanceTooLow"))
			chanceTooLow = true;
		else if (resp.containsKey("InsufficientFunds"))
			insufficientFunds = true;
		else if (resp.containsKey("NoPossibleProfit"))
			noPossibleProfit = true;
		else if (resp.containsKey("maxPayoutExceeded"))
			maxPayoutExceeded = true;
		else if (resp.containsKey("BetId") && resp.containsKey("PayOut")
				&& resp.containsKey("Secret")
				&& resp.containsKey("StartingBalance")) {
			success = true;
			betId = resp.getJsonNumber("BetId").longValue();
			payOut = resp.getJsonNumber("PayOut").bigDecimalValue()
					.divide(new BigDecimal(100000000), MathContext.DECIMAL128);
			secret = resp.getJsonNumber("Secret").longValue();
			startingBalance = resp.getJsonNumber("StartingBalance")
					.bigDecimalValue()
					.divide(new BigDecimal(100000000), MathContext.DECIMAL128);
		}
	}