Class CustomActivityResponse
java.lang.Object
com.clover.remote.client.messages.BaseResponse
com.clover.remote.client.messages.CustomActivityResponse
Response object for a custom activity request
-
Constructor Summary
ConstructorsConstructorDescriptionCustomActivityResponse(boolean success, ResultCode code, String payload, String failReason, String action) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the field valueGet the field valueMethods inherited from class com.clover.remote.client.messages.BaseResponse
getMessage, getReason, getResult, isSuccess, setMessage, setReason, setResult, setSuccess
-
Constructor Details
-
CustomActivityResponse
public CustomActivityResponse(boolean success, ResultCode code, String payload, String failReason, String action) Constructor- Parameters:
success- If true then the requested operation succeededcode- The result of the requested operationpayload- Data for this activityfailReason- Optional information about resultaction- The name of the action for this activity
-
-
Method Details
-
getAction
Get the field value- Returns:
- The name of the action for this activity
-
getPayload
Get the field value- Returns:
- Data for this activity
-