@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultConditionTypeForPricingInSalesService") public class DefaultConditionTypeForPricingInSalesService extends Object implements ConditionTypeForPricingInSalesService
This inbound service enables external applications to read condition types that are used for pricing in Sales through API calls. The service contains condition type and description entities.
Reference: SAP API Business Hub
OData Service: | API_SLSPRICINGCONDITIONTYPE_SRV |
API Version: | 1 |
Communication Scenario: | Pricing Data Integration (SAP_COM_0294) |
Scope Items: | Sell from Stock (BD9) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultConditionTypeForPricingInSalesService()
Creates a service using
ConditionTypeForPricingInSalesService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
SlsPrcgCndnTypeTextFluentHelper |
getAllSlsPrcgCndnTypeText()
Fetch multiple
SlsPrcgCndnTypeText entities. |
SlsPricingConditionTypeFluentHelper |
getAllSlsPricingConditionType()
Fetch multiple
SlsPricingConditionType entities. |
SlsPrcgCndnTypeTextByKeyFluentHelper |
getSlsPrcgCndnTypeTextByKey(String language,
String conditionUsage,
String conditionApplication,
String conditionType)
Fetch a single
SlsPrcgCndnTypeText entity using key fields. |
SlsPricingConditionTypeByKeyFluentHelper |
getSlsPricingConditionTypeByKey(String conditionUsage,
String conditionApplication,
String conditionType)
Fetch a single
SlsPricingConditionType entity using key fields. |
DefaultConditionTypeForPricingInSalesService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultConditionTypeForPricingInSalesService()
ConditionTypeForPricingInSalesService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultConditionTypeForPricingInSalesService withServicePath(@Nonnull String servicePath)
ConditionTypeForPricingInSalesService
withServicePath
in interface ConditionTypeForPricingInSalesService
servicePath
- Service path that will override the default.@Nonnull public SlsPrcgCndnTypeTextFluentHelper getAllSlsPrcgCndnTypeText()
ConditionTypeForPricingInSalesService
SlsPrcgCndnTypeText
entities.getAllSlsPrcgCndnTypeText
in interface ConditionTypeForPricingInSalesService
SlsPrcgCndnTypeText
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.@Nonnull public SlsPrcgCndnTypeTextByKeyFluentHelper getSlsPrcgCndnTypeTextByKey(String language, String conditionUsage, String conditionApplication, String conditionType)
ConditionTypeForPricingInSalesService
SlsPrcgCndnTypeText
entity using key fields.getSlsPrcgCndnTypeTextByKey
in interface ConditionTypeForPricingInSalesService
language
- The language key indicatesConstraints: Not nullable, Maximum length: 2
conditionUsage
- Determines for which area the condition is used (for example, pricing or output).Constraints: Not nullable, Maximum length: 1
conditionApplication
- Subdivides the usage of a condition (for example, pricing) for use in different application areas (for example, sales & distribution or purchasing).Constraints: Not nullable, Maximum length: 2
conditionType
- The condition type is used for different functions. In pricing, for example, the condition type lets you differentiate between different kinds of discount; in output determination, between different output types such as order confirmation or delivery note; in batch determination, between different strategy types.Constraints: Not nullable, Maximum length: 4
SlsPrcgCndnTypeText
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.@Nonnull public SlsPricingConditionTypeFluentHelper getAllSlsPricingConditionType()
ConditionTypeForPricingInSalesService
SlsPricingConditionType
entities.getAllSlsPricingConditionType
in interface ConditionTypeForPricingInSalesService
SlsPricingConditionType
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.@Nonnull public SlsPricingConditionTypeByKeyFluentHelper getSlsPricingConditionTypeByKey(String conditionUsage, String conditionApplication, String conditionType)
ConditionTypeForPricingInSalesService
SlsPricingConditionType
entity using key fields.getSlsPricingConditionTypeByKey
in interface ConditionTypeForPricingInSalesService
conditionUsage
- Determines for which area the condition is used (for example, pricing or output).Constraints: Not nullable, Maximum length: 1
conditionApplication
- Subdivides the usage of a condition (for example, pricing) for use in different application areas (for example, sales & distribution or purchasing).Constraints: Not nullable, Maximum length: 2
conditionType
- The condition type is used for different functions. In pricing, for example, the condition type lets you differentiate between different kinds of discount; in output determination, between different output types such as order confirmation or delivery note; in batch determination, between different strategy types.Constraints: Not nullable, Maximum length: 4
SlsPricingConditionType
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.