Skip to content

Commit 1b7ed09

Browse files
committed
Add support for the payout_change event type input
1 parent 9ebef61 commit 1b7ed09

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CHANGELOG
1212
* `DALENYS`
1313
* `ONEY`
1414
* `POSCONNECT`
15+
* Added new type to the `Event.Type` enum: `PAYOUT_CHANGE`
1516

1617
1.8.0 (2018-01-19)
1718
------------------

src/main/java/com/maxmind/minfraud/request/Event.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public enum Type {
120120
ACCOUNT_LOGIN,
121121
EMAIL_CHANGE,
122122
PASSWORD_RESET,
123+
PAYOUT_CHANGE,
123124
PURCHASE,
124125
RECURRING_PURCHASE,
125126
REFERRAL,

src/test/java/com/maxmind/minfraud/request/EventTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@ public void testTime() throws Exception {
3333
public void testType() throws Exception {
3434
Event event = new Builder().type(Type.ACCOUNT_CREATION).build();
3535
assertEquals(Type.ACCOUNT_CREATION, event.getType());
36+
37+
event = new Builder().type(Type.PAYOUT_CHANGE).build();
38+
assertEquals(Type.PAYOUT_CHANGE, event.getType());
3639
}
37-
}
40+
}

0 commit comments

Comments
 (0)