src/test/java/com/squareup/connect/api/OAuthApiTest.java
@Test
    public void renewTokenTest() throws ApiException {
        String clientId = null;
        RenewTokenRequest body = null;
        RenewTokenResponse response = api.renewToken(clientId, body);

        // TODO: test validations
    }
/**
     * RenewToken
     *
     * Renews an OAuth access token before it expires.  OAuth access tokens besides your application&#39;s personal access token expire after __30 days__. You can also renew expired tokens within __15 days__ of their expiration. You cannot renew an access token that has been expired for more than 15 days. Instead, the associated merchant must complete the [OAuth flow](https://docs.connect.squareup.com/api/oauth#implementingoauth) from the beginning.  __Important:__ The &#x60;Authorization&#x60; header you provide to this endpoint must have the following format:  &#x60;&#x60;&#x60; Authorization: Client APPLICATION_SECRET &#x60;&#x60;&#x60;  Replace &#x60;APPLICATION_SECRET&#x60; with your application&#39;s secret, available from the [application dashboard](https://connect.squareup.com/apps).
     *
     * @throws ApiException
     *          if the Api call fails
     */
RenewToken
Renews an OAuth access token before it expires.  OAuth access tokens besides your application's personal access token expire after __30 days__. You can also renew expired tokens within __15 days__ of their expiration. You cannot renew an access token that has been expired for more than 15 days. Instead, the associated merchant must complete the [OAuth flow] from the beginning.

@throws ApiException
if the Api call fails
RenewToken Renews an OAuth access token before it expires . OAuth access tokens besides your application ' s personal access token expire after __30 days__ . You can also renew expired tokens within __15 days__ of their expiration . You cannot renew an access token that has been expired for more than 15 days . Instead the associated merchant must complete the [ OAuth flow ] from the beginning . @throws ApiException if the Api call fails
@Test
    public void renewTokenTest() throws ApiException {
        String clientId = null;
        RenewTokenRequest body = null;
        RenewTokenResponse response = api.renewToken(clientId, body);
    }
@ Test public void renewTokenTest ( ) throws ApiException { String clientId = null ; RenewTokenRequest body = null ; RenewTokenResponse response = api . renewToken ( clientId , body ) ; }
RenewToken
 Renews an OAuth access token before it expires.
RenewToken Renews an OAuth access token before it expires .
// TODO: test validations