public interface OrderHistoryService
| Modifier and Type | Method and Description |
|---|---|
Order |
getOrderDetails(String orderNumber)
Gathers an
Order based on the given value
If `validate.customer.owned.data` is true, then we must throw an exception to avoid giving the currently logged in
Customer access to an order that they do not own. |
void |
validateCustomerOwnedData(Order order)
If is validation is enabled via the `validate.customer.owned.data` property, a
SecurityException should be thrown if the current customer
(CustomerState.getCustomer()) is not associated to the given . |
Order getOrderDetails(String orderNumber)
Order based on the given value
If `validate.customer.owned.data` is true, then we must throw an exception to avoid giving the currently logged in
Customer access to an order that they do not own.void validateCustomerOwnedData(Order order) throws SecurityException
SecurityException should be thrown if the current customer
(CustomerState.getCustomer()) is not associated to the given .SecurityExceptionCopyright © 2021. All rights reserved.