public class RequestOptions extends Object
| Modifier and Type | Method and Description |
|---|---|
static RequestOptions |
createDefault() |
String |
getApiKey() |
String |
getApiVersion() |
String |
getBaseUrl() |
int |
getConnectTimeoutInMilliSeconds() |
Map<String,String> |
getHeaders() |
String |
getHeaders(String key) |
JweJwsEncryptionKeys |
getJweJwsEncryptionKeys() |
String |
getMerchantId() |
int |
getReadTimeoutInMilliSeconds() |
String |
getRoutingId() |
RequestOptions |
withApiKey(String apiKey) |
RequestOptions |
withApiVersion(String version) |
RequestOptions |
withBaseUrl(String baseUrl) |
RequestOptions |
withConnectTimeout(int connectTimeout) |
RequestOptions |
withCustomerId(String customerId) |
RequestOptions |
withHeaders(Map<String,String> val) |
RequestOptions |
withHeaders(String key,
String val) |
RequestOptions |
withJweJwsEncryption(JweJwsEncryptionKeys encryption) |
RequestOptions |
withMerchantId(String merchantId) |
RequestOptions |
withReadTimeout(int readTimeout) |
RequestOptions |
withRoutingId(String routingId) |
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)
public RequestOptions withCustomerId(String customerId)
public RequestOptions withRoutingId(String routingId)
public String getRoutingId()
public String getBaseUrl()
public RequestOptions withBaseUrl(String baseUrl)
Copyright © 2025 Juspay. All rights reserved.