@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultSalesPriceService") public class DefaultSalesPriceService extends Object implements ServiceWithNavigableEntities, SalesPriceService
To retrieve sales prices, consumers of this service must specify sales organizational data as well as one or more sold-to parties and product (that is, material) IDs in the service request. Additional criteria can also be applied. In response, the service sends the corresponding sales prices, along with the associated price elements. If any issues occur during sales price retrieval, the response also provides the relevant error messages..
Reference: SAP API Business Hub
OData Service: | SALESPRICE_0001 |
API Version: | 1 |
Communication Scenario: | Sales Price Integration (SAP_COM_0702) |
Scope Items: | External Billing (1Z6) |
Authentication Methods: | Basic, x509 |
Service Group Name: | API_SALESPRICE |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSalesPriceService()
Creates a service using
SalesPriceService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
String |
getServicePath()
Getter for the OData service root path.
|
DefaultSalesPriceService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultSalesPriceService()
SalesPriceService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSalesPriceService withServicePath(@Nonnull String servicePath)
SalesPriceService
withServicePath
in interface SalesPriceService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
SalesPriceService
batch
in interface SalesPriceService
execute
method on the request builder object.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.