Package | Description |
---|---|
com.mypos.myposcheckout.ipc | |
com.mypos.myposcheckout.ipc.enumerable | |
com.mypos.myposcheckout.ipc.request | |
com.mypos.myposcheckout.ipc.response |
Modifier and Type | Method and Description |
---|---|
static boolean |
Helper.isValidOutputFormat(CommunicationFormat format)
Checks if a CommunicationFormat value can be used as an output format (to
send data to the API).
|
Modifier and Type | Method and Description |
---|---|
static CommunicationFormat |
CommunicationFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommunicationFormat[] |
CommunicationFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected CommunicationFormat |
Request.outputFormat
Output format from the API (for some requests may be XML or JSON)
|
Modifier and Type | Method and Description |
---|---|
CommunicationFormat |
Request.getOutputFormat() |
Modifier and Type | Method and Description |
---|---|
void |
Request.setOutputFormat(CommunicationFormat outputFormat) |
Modifier and Type | Field and Description |
---|---|
protected CommunicationFormat |
BasicResponse.format
Output format from the API
|
Modifier and Type | Method and Description |
---|---|
CommunicationFormat |
BasicResponse.getFormat() |
Constructor and Description |
---|
BasicResponse(Config config,
java.lang.String rawData,
CommunicationFormat format) |
ComplexResponse(Config config,
java.lang.String rawData,
CommunicationFormat format) |