square-java-sdk
square-java-sdk copied to clipboard
Java client library for the Square API
**Describe the bug** A basic java SDK project trying to create a location generates an okhttp NoSuchMethodError with the first payment API request. **Expected behavior** The `_client.getLocationsApi().createLocation(request)` call should succeed....
**Describe the bug** There are a problem using Square SDK in a project that uses jakarta namespace, it fails trying to load javax.json.JsonException class **Expected behavior** It doesn't fail **To...
Two reasons: 1) OkHttpClients are intended to be shared app wide, so, if you're using OkHttp for other HTTP api's you would want to share the OkHttp client instance. (read:...
Non successful http responses yield an ApiException whose message is just "HTTP Response Not OK". This is very cryptic and quite frustrating if the developer hasn't written code to capture...
Since java has `java.lang.Error` its probably better to name `com.squareup.square.models.Error`something else, perhaps `SquareError`