@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultConditionTypeForPricingInPurchasingService") public class DefaultConditionTypeForPricingInPurchasingService extends Object implements ConditionTypeForPricingInPurchasingService
This inbound service enables external applications to read condition types that are used for pricing in Purchasing through API calls. The service contains condition type and description entities.
Reference: SAP API Business Hub
OData Service: | API_PURGPRICINGCONDITIONTYPE_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 |
---|
DefaultConditionTypeForPricingInPurchasingService()
Creates a service using
ConditionTypeForPricingInPurchasingService.DEFAULT_SERVICE_PATH to send the
requests. |
Modifier and Type | Method and Description |
---|---|
PurgPrcgCndnTypeTextFluentHelper |
getAllPurgPrcgCndnTypeText()
Fetch multiple
PurgPrcgCndnTypeText entities. |
PurgPricingConditionTypeFluentHelper |
getAllPurgPricingConditionType()
Fetch multiple
PurgPricingConditionType entities. |
PurgPrcgCndnTypeTextByKeyFluentHelper |
getPurgPrcgCndnTypeTextByKey(String language,
String conditionUsage,
String conditionApplication,
String conditionType)
Fetch a single
PurgPrcgCndnTypeText entity using key fields. |
PurgPricingConditionTypeByKeyFluentHelper |
getPurgPricingConditionTypeByKey(String conditionUsage,
String conditionApplication,
String conditionType)
Fetch a single
PurgPricingConditionType entity using key fields. |
DefaultConditionTypeForPricingInPurchasingService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultConditionTypeForPricingInPurchasingService()
ConditionTypeForPricingInPurchasingService.DEFAULT_SERVICE_PATH
to send the
requests.@Nonnull public DefaultConditionTypeForPricingInPurchasingService withServicePath(@Nonnull String servicePath)
ConditionTypeForPricingInPurchasingService
withServicePath
in interface ConditionTypeForPricingInPurchasingService
servicePath
- Service path that will override the default.@Nonnull public PurgPrcgCndnTypeTextFluentHelper getAllPurgPrcgCndnTypeText()
ConditionTypeForPricingInPurchasingService
PurgPrcgCndnTypeText
entities.getAllPurgPrcgCndnTypeText
in interface ConditionTypeForPricingInPurchasingService
PurgPrcgCndnTypeText
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 PurgPrcgCndnTypeTextByKeyFluentHelper getPurgPrcgCndnTypeTextByKey(String language, String conditionUsage, String conditionApplication, String conditionType)
ConditionTypeForPricingInPurchasingService
PurgPrcgCndnTypeText
entity using key fields.getPurgPrcgCndnTypeTextByKey
in interface ConditionTypeForPricingInPurchasingService
language
- The language key indicates
Constraints: 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
PurgPrcgCndnTypeText
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 PurgPricingConditionTypeFluentHelper getAllPurgPricingConditionType()
ConditionTypeForPricingInPurchasingService
PurgPricingConditionType
entities.getAllPurgPricingConditionType
in interface ConditionTypeForPricingInPurchasingService
PurgPricingConditionType
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 PurgPricingConditionTypeByKeyFluentHelper getPurgPricingConditionTypeByKey(String conditionUsage, String conditionApplication, String conditionType)
ConditionTypeForPricingInPurchasingService
PurgPricingConditionType
entity using key fields.getPurgPricingConditionTypeByKey
in interface ConditionTypeForPricingInPurchasingService
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
PurgPricingConditionType
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.