File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ If you use Maven, we also host [Maven Artifacts](https://github.com/talon-one/ma
88
99Building the API client library requires:
1010
11- 1 . Java 1.7 +
11+ 1 . Java 21 +
12122 . Maven/Gradle
1313
1414## Installation
@@ -96,7 +96,7 @@ public class TalonApiTest {
9696 CartItem cartItem = new CartItem ();
9797 cartItem. setName(" Hawaiian Pizza" );
9898 cartItem. setSku(" pizza-x" );
99- cartItem. setQuantity(1 );
99+ cartItem. setQuantity(1L );
100100 cartItem. setPrice(new java.math. BigDecimal (" 5.5" ));
101101
102102 // Creating a customer session of V2
@@ -176,7 +176,7 @@ public class TalonApiTest {
176176
177177 try {
178178 // Calling `getApplication` function with the desired id (7)
179- Application application = mApi. getApplication(7 );
179+ Application application = mApi. getApplication(7L );
180180 System . out. println(application. toString());
181181 } catch (Exception e) {
182182 System . out. println(e);
You can’t perform that action at this time.
0 commit comments