Skip to content

Commit

Permalink
Fixed Readme example.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmacdomhnall committed Dec 1, 2017
1 parent 1408f96 commit 2b711a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ compile "com.realexpayments.hpp.sdk:rxp-hpp-java:1.3.1"
### Creating Request JSON for Realex JS Library
```java
HppRequest hppRequest = new HppRequest()
.addAmount(100)
.addCurrency("EUR")
.addMerchantId("merchantId");
.addAmount(100)
.addCurrency("EUR")
.addMerchantId("merchantId");

RealexHpp realexHpp = new RealexHpp("mySecret");
String requestJson = realexHpp.requestToJson(hppRequest);
Expand Down

0 comments on commit 2b711a8

Please sign in to comment.