Skip to content

Commit a6e917c

Browse files
committed
Merge pull request betfair#8 from dimitrisli/master
Updating Java Enums to reflect the Betting Enums documentation
2 parents e75059f + 865acf9 commit a6e917c

File tree

7 files changed

+55
-1
lines changed

7 files changed

+55
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.betfair.aping.enums;
2+
3+
public enum BetStatus {
4+
SETTLED,
5+
VOIDED,
6+
LAPSED,
7+
CANCELLED
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package com.betfair.aping.enums;
2+
3+
public enum GroupBy {
4+
EVENT_TYPE,
5+
EVENT,
6+
MARKET,
7+
SIDE,
8+
BET
9+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package com.betfair.aping.enums;
22

33
public enum MarketProjection {
4-
COMPETITION, EVENT, EVENT_TYPE, MARKET_DESCRIPTION, RUNNER_DESCRIPTION;
4+
COMPETITION, EVENT, EVENT_TYPE, MARKET_START_TIME, MARKET_DESCRIPTION, RUNNER_DESCRIPTION, RUNNER_METADATA;
55
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.betfair.aping.enums;
2+
3+
public enum MarketStatus {
4+
INACTIVE,
5+
OPEN,
6+
SUSPENDED,
7+
CLOSED
8+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.betfair.aping.enums;
2+
3+
public enum OrderBy {
4+
/**
5+
* Use BY_PLACE_TIME instead.
6+
*/
7+
@Deprecated
8+
BY_BET,
9+
BY_MARKET,
10+
BY_MATCH_TIME,
11+
BY_PLACE_TIME,
12+
BY_SETTLED_TIME,
13+
BY_VOID_TIME;
14+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.betfair.aping.enums;
2+
3+
public enum RunnerStatus {
4+
ACTIVE,
5+
WINNER,
6+
LOSER,
7+
REMOVED_VACANT,
8+
REMOVED,
9+
HIDDEN
10+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.betfair.aping.enums;
2+
3+
public enum SortDir {
4+
EARLIEST_TO_LATEST, LATEST_TO_EARLIEST
5+
}

0 commit comments

Comments
 (0)