public class RequestOptions extends Object
| Modifier and Type | Method and Description |
|---|---|
static RequestOptions |
createDefault() |
String |
getApiKey() |
String |
getApiVersion() |
int |
getConnectTimeoutInMilliSeconds() |
Map<String,String> |
getHeaders() |
String |
getHeaders(String key) |
JweJwsEncryptionKeys |
getJweJwsEncryptionKeys() |
String |
getMerchantId() |
int |
getReadTimeoutInMilliSeconds() |
RequestOptions |
withApiKey(String apiKey) |
RequestOptions |
withApiVersion(String version) |
RequestOptions |
withConnectTimeout(int connectTimeout) |
RequestOptions |
withHeaders(Map<String,String> val) |
RequestOptions |
withHeaders(String key,
String val) |
RequestOptions |
withJweJwsEncryption(JweJwsEncryptionKeys encryption) |
RequestOptions |
withMerchantId(String merchantId) |
RequestOptions |
withReadTimeout(int readTimeout) |
public static RequestOptions createDefault()
public String getApiKey()
public String getMerchantId()
public RequestOptions withMerchantId(String merchantId)
public RequestOptions withApiKey(String apiKey)
public int getConnectTimeoutInMilliSeconds()
public RequestOptions withConnectTimeout(int connectTimeout)
public int getReadTimeoutInMilliSeconds()
public RequestOptions withReadTimeout(int readTimeout)
public String getApiVersion()
public RequestOptions withApiVersion(String version)
public RequestOptions withJweJwsEncryption(JweJwsEncryptionKeys encryption)
public JweJwsEncryptionKeys getJweJwsEncryptionKeys()
public RequestOptions withHeaders(Map<String,String> val)
public RequestOptions withHeaders(String key, String val)
Copyright © 2023 Juspay. All rights reserved.