public class ProxyConfig
extends java.lang.Object
Constructor and Description |
---|
ProxyConfig(java.lang.String host,
int port,
java.lang.String username,
java.lang.String password)
Proxy config constructor.
|
Modifier and Type | Method and Description |
---|---|
static ProxyConfigBuilder |
builder()
Initialize proxy with builder
|
java.lang.String |
getHost()
Get merchant proxy host configuration.
|
java.lang.String |
getPassword()
Get proxy password to connect to Veritrans API
|
int |
getPort()
Get merchant proxy port configuration
|
java.lang.String |
getUsername()
Get proxy username to connect to Veritrans API
|
public ProxyConfig(java.lang.String host, int port, java.lang.String username, java.lang.String password)
host
- the proxy server host address.port
- the proxy server listening port.username
- the username used to authenticate against the proxy server.password
- the password used to authenticate against the proxy server.public java.lang.String getHost()
public int getPort()
public java.lang.String getUsername()
public java.lang.String getPassword()
public static ProxyConfigBuilder builder()