You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InitiateOauth2SigninResponse res = sdk.carrierAccounts().initiateOauth2Signin()
309
307
.carrierAccountObjectId("<id>")
310
-
.redirectUri("https://enlightened-mortise.com/")
311
-
.state("Louisiana")
312
-
.shippoApiVersion("2018-02-08")
308
+
.redirectUri("https://ashamed-reporter.biz")
313
309
.call();
314
310
315
311
// handle response
@@ -323,7 +319,7 @@ public class Application {
323
319
324
320
### Override Server URL Per-Client
325
321
326
-
The default server can also be overridden globally using the `.serverURL(String serverUrl)` builder method when initializing the SDK client instance. For example:
322
+
The default server can be overridden globally using the `.serverURL(String serverUrl)` builder method when initializing the SDK client instance. For example:
327
323
```java
328
324
packagehello.world;
329
325
@@ -337,14 +333,13 @@ public class Application {
337
333
338
334
Shippo sdk =Shippo.builder()
339
335
.serverURL("https://api.goshippo.com")
340
-
.apiKeyHeader("<YOUR_API_KEY_HERE>")
341
336
.shippoApiVersion("2018-02-08")
337
+
.apiKeyHeader("<YOUR_API_KEY_HERE>")
342
338
.build();
343
339
344
340
ListAddressesResponse res = sdk.addresses().list()
345
341
.page(1L)
346
342
.results(5L)
347
-
.shippoApiVersion("2018-02-08")
348
343
.call();
349
344
350
345
if (res.addressPaginatedList().isPresent()) {
@@ -386,7 +381,6 @@ public class Application {
386
381
ListAddressesResponse res = sdk.addresses().list()
0 commit comments