Class LedgerByKeyFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,EntityT,EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperByKey<LedgerByKeyFluentHelper,Ledger,LedgerSelectable>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.LedgerByKeyFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class LedgerByKeyFluentHelper
extends FluentHelperByKey<LedgerByKeyFluentHelper,Ledger,LedgerSelectable>
Fluent helper to fetch a single
Ledger 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
ConstructorsConstructorDescriptionLedgerByKeyFluentHelper(String servicePath, String entityCollection, String ledger) Creates a fluent helper object that will fetch a singleLedgerentity 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
-
LedgerByKeyFluentHelper
public LedgerByKeyFluentHelper(@Nonnull String servicePath, @Nonnull String entityCollection, String ledger) Creates a fluent helper object that will fetch a singleLedgerentity with the provided key field values. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
ledger- LedgerConstraints: Not nullable
entityCollection- Entity Collection to be used to fetch a singleLedgerservicePath- Service path to be used to fetch a singleLedger
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<LedgerByKeyFluentHelper,Ledger, Ledger>
-
getKey
- Specified by:
getKeyin classFluentHelperByKey<LedgerByKeyFluentHelper,Ledger, LedgerSelectable>
-