public interface DeliveryModeService
DeliveryModeModel. Delivery mode is a summary data about a logistic company. You may find
more info about delivery modes here. The service
allows finding DeliveryModeModels by code. It also helps to find out delivery modes supported by payment
modes.| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<DeliveryModeModel> |
getAllDeliveryModes()
Gets all
DeliveryModeModels. |
DeliveryModeModel |
getDeliveryModeForCode(java.lang.String code)
Gets the
DeliveryModeModel with the specified code. |
java.util.Collection<DeliveryModeModel> |
getSupportedDeliveryModes(PaymentModeModel paymentMode)
Gets all
DeliveryModeModels which are supported for the given PaymentModeModel. |
DeliveryModeModel getDeliveryModeForCode(java.lang.String code)
DeliveryModeModel with the specified code.code - the delivery mode codeDeliveryModeModel with the specified codeUnknownIdentifierException - if no delivery mode was found for the given code.AmbiguousIdentifierException - if more than one delivery model was found for the given code.java.util.Collection<DeliveryModeModel> getAllDeliveryModes()
DeliveryModeModels.Collection of all DeliveryModeModelsjava.util.Collection<DeliveryModeModel> getSupportedDeliveryModes(PaymentModeModel paymentMode)
DeliveryModeModels which are supported for the given PaymentModeModel.paymentMode - target paymentModeCollection of supported DeliveryModeModelsjava.lang.IllegalArgumentException - if paymentMode is nullCopyright © 2018 SAP SE. All Rights Reserved.