Skip to content

Commit 98af935

Browse files
oschwaldclaude
andcommitted
Fix typos and style inconsistencies in README.md
- Add missing article "the" before method names - Fix missing space after hyphen in HttpException description - Fix typo "with" → "will" in Report Transactions section - Fix grammatically broken sentence about required arguments - Fix typo "BanK" → "Bank" in example code - Standardize heading style to use trailing ## consistently Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f48c280 commit 98af935

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ After creating the transaction object, send a Score request by calling the
7878
ScoreResponse score = client.score(transaction);
7979
```
8080

81-
an Insights request by calling `insights` method:
81+
an Insights request by calling the `insights` method:
8282

8383
```java
8484
InsightsResponse insights = client.insights(transaction);
8585
```
8686

87-
a Factors request by calling `factors` method:
87+
a Factors request by calling the `factors` method:
8888

8989
```java
9090
FactorsResponse factors = client.factors(transaction);
@@ -128,12 +128,12 @@ Checked exceptions:
128128
* `MinFraudException` - This will be thrown when the server returns an
129129
unexpected response. This also serves as the base class for the above
130130
checked exceptions.
131-
* `HttpException` -This will be thrown when an unexpected HTTP error
131+
* `HttpException` - This will be thrown when an unexpected HTTP error
132132
occurs such as an internal server error or other unexpected status code.
133133

134-
## Examples
134+
## Examples ##
135135

136-
### Insights
136+
### Insights ###
137137

138138
```java
139139
Transaction request = new Transaction.Builder(
@@ -164,7 +164,7 @@ Transaction request = new Transaction.Builder(
164164
).creditCard(
165165
new CreditCard.Builder()
166166
.avsResult('N')
167-
.bankName("BanK of New Haven")
167+
.bankName("Bank of New Haven")
168168
.bankPhoneCountryCode("1")
169169
.bankPhoneNumber("313-231-3213")
170170
.cvvResult('Y')
@@ -243,18 +243,18 @@ WebServiceClient client = new WebServiceClient.Builder(6, "ABCD567890").build();
243243
System.out.println(client.insights(request));
244244
```
245245

246-
### Report Transactions API
246+
### Report Transactions API ###
247247

248248
MaxMind encourages the use of this API, as data received through this channel
249249
is continually used to improve the accuracy of our fraud detection algorithms.
250250

251251
To use the Report Transactions API, create a new `TransactionReport` object. A
252-
valid tag at least one of the following are required arguments: IP address,
253-
MaxMind ID, minFraud ID, or transaction ID. Additional parameters may also be
254-
set, as documented below.
252+
valid tag and at least one of the following are required: IP address, MaxMind
253+
ID, minFraud ID, or transaction ID. Additional parameters may also be set, as
254+
documented below.
255255

256256
If the report is successful, nothing is returned. If the report fails, an
257-
exception with be thrown.
257+
exception will be thrown.
258258

259259
See the API documentation for more details.
260260

0 commit comments

Comments
 (0)