Skip to content

Commit db13519

Browse files
authored
Merge pull request #562 from maxmind/greg/eng-3454-minfraud-api-java-add-email-domain-outputs
Add new domain outputs
2 parents fc1a007 + abb7e61 commit db13519

File tree

12 files changed

+943
-9
lines changed

12 files changed

+943
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*.ear
77
*.sw?
88
*.classpath
9+
.claude
910
.gh-pages
1011
.idea
1112
.pmd

CHANGELOG.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,27 @@ CHANGELOG
5959
* Added the input `/payment/method`. This is the payment method associated
6060
with the transaction. You may provide this using the `method` method on
6161
`Payment.Builder`.
62-
63-
3.9.0
64-
------------------
65-
62+
* Added new email domain fields to the `EmailDomain` response model:
63+
* `classification` - A classification of the email domain. Possible values
64+
are `BUSINESS`, `EDUCATION`, `GOVERNMENT`, and `ISP_EMAIL`.
65+
* `risk` - A risk score associated with the email domain, ranging from 0.01
66+
to 99. Higher scores indicate higher risk.
67+
* `volume` - The activity on the email domain across the minFraud network,
68+
expressed in sightings per million. This value ranges from 0.001 to
69+
1,000,000.
70+
* `visit` - An `EmailDomainVisit` object containing information about an
71+
automated visit to the email domain, including:
72+
* `status` - The status of the domain based on the automated visit.
73+
Possible values are `LIVE`, `DNS_ERROR`, `NETWORK_ERROR`, `HTTP_ERROR`,
74+
`PARKED`, and `PRE_DEVELOPMENT`.
75+
* `lastVisitedOn` - The date when the automated visit was last completed.
76+
* `hasRedirect` - Whether the domain redirects to another URL.
77+
* Added support for forward-compatible enum deserialization. Enums in response
78+
models will now return `null` for unknown values instead of throwing an
79+
exception. This allows the client to handle new enum values added by the
80+
server without requiring an immediate client update. This required adding
81+
`READ_ENUMS_USING_TO_STRING` and `READ_UNKNOWN_ENUM_VALUES_AS_NULL` to the
82+
Jackson `ObjectMapper` configuration.
6683
* Added `SECUREPAY` to the `Payment.Processor` enum.
6784
* `WebServiceClient.Builder` now has an `httpClient()` method to allow
6885
passing in a custom `HttpClient`.

0 commit comments

Comments
 (0)