public class MerchantConfig extends Object
| Constructor and Description |
|---|
MerchantConfig() |
MerchantConfig(Properties _props) |
MerchantConfig(Properties _props,
Map<String,String> defaultHeaders) |
MerchantConfig(Properties _props,
Map<String,String> defaultHeaders,
PrivateKey responseMlePrivateKey) |
MerchantConfig(Properties _props,
PrivateKey responseMlePrivateKey) |
public MerchantConfig()
throws ConfigException
ConfigExceptionpublic MerchantConfig(Properties _props) throws ConfigException
ConfigExceptionpublic MerchantConfig(Properties _props, Map<String,String> defaultHeaders) throws ConfigException
ConfigExceptionpublic MerchantConfig(Properties _props, Map<String,String> defaultHeaders, PrivateKey responseMlePrivateKey) throws ConfigException
ConfigExceptionpublic MerchantConfig(Properties _props, PrivateKey responseMlePrivateKey) throws ConfigException
ConfigExceptionpublic boolean validateMerchantDetails(String requestTypeData) throws ConfigException
requestTypeData - the HTTP request type to validateConfigException - if some value is missing for merchant.public boolean checkRequestType(String requestTypeData) throws ConfigException
requestTypeData - the HTTP request type to validate (GET, POST, PUT, DELETE, PATCH)ConfigException - if some value is missing or wrong for merchant.public boolean checkKeyPassword()
throws ConfigException
ConfigException - if some value is missing or wrong for merchant.public boolean checkRunEvironment()
throws ConfigException
ConfigException - if some value is missing or wrong for merchant.public boolean checkMerchantKeyId()
throws ConfigException
ConfigException - if some value is missing or wrong for merchant.public boolean checkMerchantSecretKey()
throws ConfigException
ConfigException - if some value is missing or wrong for merchant.public boolean checkKeyAlias()
throws ConfigException
ConfigException - if some value is missing or wrong for merchant.public boolean checkMerchantId()
throws ConfigException
ConfigException - if some value is missing or wrong for merchant.public boolean checkKeyFile()
throws ConfigException
ConfigException - if some value is missing or wrong for merchant.public Properties getProps()
public String getMerchantID()
public String getAuthenticationType()
public void setAuthenticationType(String authenticationType)
public String getRequestHost()
public boolean isRetryEnabled()
public long getRetryDelay()
public boolean isUseMetaKey()
public String getPortfolioID()
public String getKeysDirectory()
public String getKeyAlias()
public String getKeyPass()
public String getKeyFilename()
public String getAccessToken()
public void setAccessToken(String accessToken)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public boolean isUseProxyEnabled()
public String getProxyAddress()
public int getProxyPort()
public String getProxyUser()
public String getProxyPassword()
public String getRunEnvironment()
public String getIntermediateHost()
public String getDefaultDeveloperId()
public File getKeyFile()
public boolean isEnableClientCert()
public String getClientId()
public String getClientSecret()
public String getClientCertFile()
public String getClientCertDirectory()
public String getClientCertPassword()
public boolean isMerchantDetailsSet()
public String getMerchantKeyId()
public String getMerchantSecretKey()
public String getSolutionId()
public int getUserDefinedConnectionTimeout()
public int getUserDefinedReadTimeout()
public int getUserDefinedWriteTimeout()
public int getUserDefinedKeepAliveDuration()
public int getUserDefinedMaxIdleConnections()
public void setUserDefinedMaxIdleConnections(int userDefinedMaxIdleConnections)
public String getPemFileDirectory()
public void setPemFileDirectory(String pemFileDirectory)
public boolean isEnableRequestMLEForOptionalApisGlobally()
public boolean isDisableRequestMLEForMandatoryApisGlobally()
public Map<String,Boolean> getInternalMapToControlRequestMLEonAPI()
public Map<String,Boolean> getInternalMapToControlResponseMLEonAPI()
public String getRequestMleKeyAlias()
public String getMleForRequestPublicCertPath()
public void setMleForRequestPublicCertPath(String mleForRequestPublicCertPath)
public boolean isEnableResponseMleGlobally()
public void setEnableResponseMleGlobally(boolean enableResponseMleGlobally)
public String getResponseMleKID()
public void setResponseMleKID(String responseMleKID)
public String getResponseMlePrivateKeyFilePath()
public void setResponseMlePrivateKeyFilePath(String responseMlePrivateKeyFilePath)
public char[] getResponseMlePrivateKeyFilePassword()
public void setResponseMlePrivateKeyFilePassword(char[] responseMlePrivateKeyFilePassword)
public PrivateKey getResponseMlePrivateKey()
public void setResponseMlePrivateKey(PrivateKey responseMlePrivateKey)
Copyright © 2026. All rights reserved.