Class CostCenterByKeyFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,EntityT,EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperByKey<CostCenterByKeyFluentHelper,CostCenter,CostCenterSelectable>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.costcentertest.CostCenterByKeyFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class CostCenterByKeyFluentHelper
extends FluentHelperByKey<CostCenterByKeyFluentHelper,CostCenter,CostCenterSelectable>
Fluent helper to fetch a single
CostCenter 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
ConstructorsConstructorDescriptionCostCenterByKeyFluentHelper(String servicePath, String entityCollection, String companyCode, String costCenterID, LocalDateTime validityEndDate) Creates a fluent helper object that will fetch a singleCostCenterentity 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
-
CostCenterByKeyFluentHelper
public CostCenterByKeyFluentHelper(@Nonnull String servicePath, @Nonnull String entityCollection, String companyCode, String costCenterID, LocalDateTime validityEndDate) Creates a fluent helper object that will fetch a singleCostCenterentity with the provided key field values. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
companyCode- The company code is an organizational unit within financial accounting.Constraints: Not nullable, Maximum length: 4
entityCollection- Entity Collection to be used to fetch a singleCostCentercostCenterID- A key that uniquely identifies a cost center.Constraints: Not nullable, Maximum length: 10
servicePath- Service path to be used to fetch a singleCostCentervalidityEndDate- Date indicating up to when an entry is valid.Constraints: Not nullable, Precision: 0
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<CostCenterByKeyFluentHelper,CostCenter, CostCenter>
-
getKey
- Specified by:
getKeyin classFluentHelperByKey<CostCenterByKeyFluentHelper,CostCenter, CostCenterSelectable>
-