Package com.mercadopago.core
Class MPRequestOptions
- java.lang.Object
-
- com.mercadopago.core.MPRequestOptions
-
public class MPRequestOptions extends Object
MPRequestOptions class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPRequestOptions.MPRequestOptionsBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MPRequestOptions.MPRequestOptionsBuilder
builder()
protected boolean
canEqual(Object other)
static MPRequestOptions
createDefault()
Create default MPRequestOptions.boolean
equals(Object o)
String
getAccessToken()
int
getConnectionRequestTimeout()
int
getConnectionTimeout()
Map<String,String>
getCustomHeaders()
int
getSocketTimeout()
int
hashCode()
void
setAccessToken(String accessToken)
void
setConnectionRequestTimeout(int connectionRequestTimeout)
void
setConnectionTimeout(int connectionTimeout)
void
setCustomHeaders(Map<String,String> customHeaders)
void
setSocketTimeout(int socketTimeout)
String
toString()
-
-
-
Method Detail
-
createDefault
public static MPRequestOptions createDefault()
Create default MPRequestOptions.- Returns:
- MPRequestOptions
-
builder
public static MPRequestOptions.MPRequestOptionsBuilder builder()
-
getAccessToken
public String getAccessToken()
-
getConnectionTimeout
public int getConnectionTimeout()
-
getConnectionRequestTimeout
public int getConnectionRequestTimeout()
-
getSocketTimeout
public int getSocketTimeout()
-
setAccessToken
public void setAccessToken(String accessToken)
-
setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout)
-
setConnectionRequestTimeout
public void setConnectionRequestTimeout(int connectionRequestTimeout)
-
setSocketTimeout
public void setSocketTimeout(int socketTimeout)
-
canEqual
protected boolean canEqual(Object other)
-
-