Package com.mercadopago.client.oauth
Class CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder
- java.lang.Object
-
- com.mercadopago.client.oauth.CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder
-
- Enclosing class:
- CreateOauthCredentialRequest
public static class CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOauthCredentialRequest
build()
CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder
clientId(String clientId)
Unique ID that identifies your integration.CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder
clientSecret(String clientSecret)
Private key to be used in some plugins to generate payments.CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder
code(String code)
The authorization code you get in the authorization url for linking.CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder
redirectUri(String redirectUri)
This is the URL you set up in the Redirect URL field in your application.String
toString()
-
-
-
Method Detail
-
clientSecret
public CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder clientSecret(String clientSecret)
Private key to be used in some plugins to generate payments. You can get it in Your credentials.- Returns:
this
.
-
clientId
public CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder clientId(String clientId)
Unique ID that identifies your integration. You can get it in Your credentials.- Returns:
this
.
-
code
public CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder code(String code)
The authorization code you get in the authorization url for linking.- Returns:
this
.
-
redirectUri
public CreateOauthCredentialRequest.CreateOauthCredentialRequestBuilder redirectUri(String redirectUri)
This is the URL you set up in the Redirect URL field in your application.- Returns:
this
.
-
build
public CreateOauthCredentialRequest build()
-
-