Class ProfitCenterByKeyFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,EntityT,EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperByKey<ProfitCenterByKeyFluentHelper,ProfitCenter,ProfitCenterSelectable>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.profitcenter.ProfitCenterByKeyFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class ProfitCenterByKeyFluentHelper
extends FluentHelperByKey<ProfitCenterByKeyFluentHelper,ProfitCenter,ProfitCenterSelectable>
Fluent helper to fetch a single
ProfitCenter entity using key fields. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself.-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionProfitCenterByKeyFluentHelper(String servicePath, String entityCollection, String controllingArea, String profitCenter, LocalDateTime validityEndDate) Creates a fluent helper object that will fetch a singleProfitCenterentity with the provided key field values. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperByKey
executeRequest, select, toRequest, withCsrfToken, withQueryParameterMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getCsrfTokenRetriever, getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders
-
Constructor Details
-
ProfitCenterByKeyFluentHelper
public ProfitCenterByKeyFluentHelper(@Nonnull String servicePath, @Nonnull String entityCollection, String controllingArea, String profitCenter, LocalDateTime validityEndDate) Creates a fluent helper object that will fetch a singleProfitCenterentity with the provided key field values. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
entityCollection- Entity Collection to be used to fetch a singleProfitCenterservicePath- Service path to be used to fetch a singleProfitCentercontrollingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
profitCenter- Profit CenterConstraints: Not nullable, Maximum length: 10
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<ProfitCenterByKeyFluentHelper,ProfitCenter, ProfitCenter>
-
getKey
- Specified by:
getKeyin classFluentHelperByKey<ProfitCenterByKeyFluentHelper,ProfitCenter, ProfitCenterSelectable>
-