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

com.mercadopago.core.MPRequestOptions Maven / Gradle / Ivy

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

import java.util.Map;
import lombok.Builder;
import lombok.Data;

/** MPRequestOptions class. */
@Data
@Builder
public class MPRequestOptions {
  private String accessToken;

  private int connectionTimeout;

  private int connectionRequestTimeout;

  private int socketTimeout;

  private Map customHeaders;

  /**
   * Create default MPRequestOptions.
   *
   * @return MPRequestOptions
   */
  public static MPRequestOptions createDefault() {
    return MPRequestOptions.builder().build();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy