com.pax.market.api.sdk.java.api.check.CheckServiceApi, extends BaseApi
public CheckServiceApi(String baseUrl, String appKey, String appSecret, String terminalSN) {
super(baseUrl, appKey, appSecret, terminalSN);
}
Parameter | Type | Description |
---|---|---|
baseUrl | String | The base url |
appKey | String | The app key |
appSecret | String | The app secret |
terminalSN | String | The terminal SN |
public ServiceAvailableObject checkServiceAvailable(ServiceType serviceType)
Parameter | Type | Description |
---|---|---|
serviceType | ServiceType | The service that you want to know |
Value of enum ServiceType
Value | Description |
---|---|
LAUNCHER_UP | the CheckUp service |
public ServiceAvailableObject checkSolutionAppAvailable()
com.pax.market.api.sdk.java.base.dto.ServiceAvailableObject
The ServiceAvailableObject extends SdkObject
Property | Type | Description |
---|---|---|
serviceAvailable | Boolean | The serviceAvailable indicates whether the application is available |
public TerminalStatusObject checkTerminalStatus()
com.pax.market.api.sdk.java.base.dto.TerminalStatusObject
The TerminalStatusObject extends SdkObject
Property | Type | Description |
---|---|---|
status | String | The terminal Simplification status. For example "A". |
description | String | The terminal status detailed description. For example "Active". |
Status Result
PENDING("P", "Inactive"),
ACTIVE("A", "Active"),
SUSPEND("S", "Disabled"),
NOT_EXIST("N", "Not Exist"),
NO_PERM("NP", "No Permission");
The API is suitable for the Industry Solution enabled environements only.
public SdkObject checkSolutionUsage()
com.pax.market.api.sdk.java.base.dto.SdkObject
Property | Type | Description |
---|---|---|
businessCode | int | The reuslt code, the default value is -1 |
message | String | The result message |