All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mercadopago.client.oauth.CreateOauthCredentialRequest Maven / Gradle / Ivy

There is a newer version: 2.1.29
Show newest version
package com.mercadopago.client.oauth;

import lombok.Builder;
import lombok.Getter;

/**
 * Credential information to perform a create credential request. Go to this page to learn
 * more.
 */
@Getter
@Builder
public class CreateOauthCredentialRequest {
  /**
   * Specify type of operation to perform to get your credentials. This is a fixed parameter with an
   * authorization_code value.
   */
  private final String grantType = "authorization_code";
  /**
   * Private key to be used in some plugins to generate payments. You can get it in Your
   * credentials.
   */
  private final String clientSecret;
  /** Unique ID that identifies your integration. You can get it in Your credentials. */
  private final String clientId;
  /** The authorization code you get in the authorization url for linking. */
  private final String code;

  /** This is the URL you set up in the Redirect URL field in your application. */
  private final String redirectUri;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy