| Package | Description |
|---|---|
| com.squareup.square.api | |
| com.squareup.square.models |
| Modifier and Type | Method and Description |
|---|---|
ObtainTokenResponse |
DefaultOAuthApi.obtainToken(ObtainTokenRequest body)
Returns an OAuth access token and a refresh token unless the `short_lived` parameter is set
to `true`, in which case the endpoint returns only an access token.
|
ObtainTokenResponse |
OAuthApi.obtainToken(ObtainTokenRequest body)
Returns an OAuth access token and a refresh token unless the `short_lived` parameter is set
to `true`, in which case the endpoint returns only an access token.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ObtainTokenResponse> |
DefaultOAuthApi.obtainTokenAsync(ObtainTokenRequest body)
Returns an OAuth access token and a refresh token unless the `short_lived` parameter is set
to `true`, in which case the endpoint returns only an access token.
|
CompletableFuture<ObtainTokenResponse> |
OAuthApi.obtainTokenAsync(ObtainTokenRequest body)
Returns an OAuth access token and a refresh token unless the `short_lived` parameter is set
to `true`, in which case the endpoint returns only an access token.
|
| Modifier and Type | Method and Description |
|---|---|
ObtainTokenResponse |
ObtainTokenResponse.Builder.build()
Builds a new
ObtainTokenResponse object using the set fields. |
Copyright © 2022. All rights reserved.