CommerceResponse¶
-
public class
CommerceResponse
¶ The main factory for all commerce responses. Please refer to the individual events that generate the response for specific information.
Methods¶
getEventId¶
getMessage¶
getSessionId¶
getStatus¶
-
public int
getStatus
()¶ Returns the status of the response, non-zero if it encountered an error during handling
getType¶
setFailed¶
-
public void
setFailed
()¶ Sets the status to a general failed value.
setMessage¶
-
public void
setMessage
(String message)¶ Refer to
getMessage()
.
setStatus¶
-
public void
setStatus
(int status)¶ Refer to
getStatus()
.
setSuccessful¶
-
public void
setSuccessful
()¶ Sets the status to the successful value, namely, 0.