public static final class PlaceOrderService.OrderStatus extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INSUFFICIENT_STOCK
Indicates that the order failed, due to insufficient stock.
|
static int |
SUCCESS
Indicates that the order was successfully placed.
|
static int |
UNKOWN_FAILURE
Indicates that the order failed, for unknown reasons.
|
| Constructor and Description |
|---|
PlaceOrderService.OrderStatus(int status,
Object details,
String userMessage)
Creates an OrderStatus.
|
public static final int UNKOWN_FAILURE
public static final int SUCCESS
public static final int INSUFFICIENT_STOCK
Copyright © 2016. All rights reserved.