public class SlsPricingConditionTypeByKeyFluentHelper extends FluentHelperByKey<SlsPricingConditionTypeByKeyFluentHelper,SlsPricingConditionType,SlsPricingConditionTypeSelectable>
SlsPricingConditionType
entity using key fields. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself.Constructor and Description |
---|
SlsPricingConditionTypeByKeyFluentHelper(String servicePath,
String conditionUsage,
String conditionApplication,
String conditionType)
Creates a fluent helper object that will fetch a single
SlsPricingConditionType entity with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<SlsPricingConditionType> |
getEntityClass()
Returns a class object of the type this fluent helper works with.
|
protected Map<String,Object> |
getKey()
Getter for a map containing the OData name of key properties, each mapped to the value to search by.
|
execute, getQueryBuilder, select, toQuery, withCustomQueryParameter, withErrorHandler
asResilientCommand, asResilientCommand, cachingMetadata, execute, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, withCustomHttpHeader, withCustomHttpHeaders, withoutCachingMetadata
public SlsPricingConditionTypeByKeyFluentHelper(@Nonnull String servicePath, String conditionUsage, String conditionApplication, String conditionType)
SlsPricingConditionType
entity with the provided key field values. To perform execution, call the
execute
method on the fluent helper object.servicePath
- Service path to be used to fetch a single SlsPricingConditionType
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
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
@Nonnull protected Class<SlsPricingConditionType> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<SlsPricingConditionTypeByKeyFluentHelper,SlsPricingConditionType,SlsPricingConditionType>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<SlsPricingConditionTypeByKeyFluentHelper,SlsPricingConditionType,SlsPricingConditionTypeSelectable>
Copyright © 2019 SAP SE. All rights reserved.