com.global.api.terminals.abstractions.ITerminalConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalpayments-sdk Show documentation
Show all versions of globalpayments-sdk Show documentation
API for processing payments through Global Payments
package com.global.api.terminals.abstractions;
import com.global.api.entities.enums.*;
import com.global.api.entities.exceptions.ConfigurationException;
import com.global.api.serviceConfigs.GatewayConfig;
import com.global.api.logging.IRequestLogger;
import com.global.api.terminals.IRequestIdProvider;
public interface ITerminalConfiguration {
ConnectionModes getConnectionMode();
void setConnectionMode(ConnectionModes connectionMode);
String getIpAddress();
void setIpAddress(String ipAddress);
int getPort();
void setPort(int port);
BaudRate getBaudRate();
void setBaudRate(BaudRate baudRate);
Parity getParity();
void setParity(Parity parity);
StopBits getStopBits();
void setStopBits(StopBits stopBits);
DataBits getDataBits();
void setDataBits(DataBits dataBits);
int getTimeout();
void setTimeout(int timeout);
void validate() throws ConfigurationException;
DeviceType getDeviceType();
void setDeviceType(DeviceType type);
IRequestIdProvider getRequestIdProvider();
void setRequestIdProvider(IRequestIdProvider requestIdProvider);
GatewayConfig getGatewayConfig();
void setGatewayConfig(GatewayConfig gatewayConfig);
IRequestLogger getLogManagementProvider();
void setLogManagementProvider(IRequestLogger logManagementProvider);
}