public interface CancellationController extends WidgetController
| Modifier and Type | Method and Description |
|---|---|
TypedObject |
createOrderCancellationRequest(ObjectValueContainer cancelRequest)
Create a full order cancel request.
|
TypedObject |
createPartialOrderCancellationRequest(java.util.List<ObjectValueContainer> orderEntryCancelRecords,
ObjectValueContainer cancelRequest)
Create a partial order cancel request.
|
java.util.Map<TypedObject,java.lang.Long> |
getCancelableOrderEntries()
Get all the cancelable order entries.
|
TypedObject |
getOrder()
Get the order
|
addCockpitEventAcceptor, dispatchEvent, removeCockpitEventAcceptor, setCockpitEventAcceptorsTypedObject getOrder()
java.util.Map<TypedObject,java.lang.Long> getCancelableOrderEntries() throws CancelableOrderDenialReasonsException
CancelableOrderDenialReasonsException - thrown if the order is not cancelableTypedObject createOrderCancellationRequest(ObjectValueContainer cancelRequest) throws OrderCancelException, ValidationException
cancelRequest - The value container holding the values for the properties for the full order cancellation request.OrderCancelException - if cancellation failsValidationException - if the cancelRequest is invalidTypedObject createPartialOrderCancellationRequest(java.util.List<ObjectValueContainer> orderEntryCancelRecords, ObjectValueContainer cancelRequest) throws OrderCancelException, ValidationException
orderEntryCancelRecords - the quantity and reasons for the cancellation of each linecancelRequest - the default reasonsOrderCancelException - if cancellation failsValidationException - if the cancelRequest is invalidCopyright © 2018 SAP SE. All Rights Reserved.