new CloverDeviceErrorEvent()
Methods
(static) CloverDeviceErrorEvent#getCause() → {remotepay.PlatformError}
Get the field value
Returns:
(static) CloverDeviceErrorEvent#getCode() → {remotepay.DeviceErrorEventCode}
Get the field value
Returns:
(static) CloverDeviceErrorEvent#getMessage() → {String}
Get the field value
Description of the error.
Returns:
- Type
- String
(static) CloverDeviceErrorEvent#getType() → {remotepay.ErrorType}
Get the field value
Returns:
- Type
- remotepay.ErrorType
(static) CloverDeviceErrorEvent#setCause(cause)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
cause |
remotepay.PlatformError |
(static) CloverDeviceErrorEvent#setCode(code)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
code |
remotepay.DeviceErrorEventCode |
(static) CloverDeviceErrorEvent#setMessage(message)
Set the field value
Description of the error.
Parameters:
Name | Type | Description |
---|---|---|
message |
String |
(static) CloverDeviceErrorEvent#setType(type)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
type |
remotepay.ErrorType |