PlaceOrderResult Class
Contains properties to hold the response to the place order request.
-
Learn more about the available properties with the
PlaceOrderResultclass.
Learn more about the available properties with the PlaceOrderResult class.
The PlaceOrderResult class includes these properties.
-
Get the ID of the order that’s created after a successful request.
-
Get the request ID of the process to query the asynchronous status of the Place Order Apex API.
-
Get the list of errors encountered during the synchronous processing of the API request.
-
Get the asynchronous status URL of the request, if available.
-
Get the request status of the synchronous part of the processing.
Get the ID of the order that’s created after a successful request.
public String orderId {get; set;}
Type: String
Get the request ID of the process to query the asynchronous status of the Place Order Apex API.
public String requestIdentifier {get; set;}
Type: String
Get the list of errors encountered during the synchronous processing of the API request.
public List<commerceorders.PlaceOrderErrorResponse> responseError {get; set;}
Type: List<ConnectApi.PlaceOrderErrorResponse>
Get the asynchronous status URL of the request, if available.
public String statusURL {get; set;}
Type: String
Get the request status of the synchronous part of the processing.
public Boolean success {get; set;}
Type: Boolean
Indicates whether the synchronous part of the processing is successful (true) or not (false).