Class CallActionFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.SingleValuedFluentHelperFunction<CallActionFluentHelper,Et_ActionResult,Et_ActionResult>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.eventbasedrevenuerecognitionintegration.CallActionFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class CallActionFluentHelper
extends SingleValuedFluentHelperFunction<CallActionFluentHelper,Et_ActionResult,Et_ActionResult>
Fluent helper for the CallAction OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.protected Class<Et_ActionResult>protected Stringprotected com.google.gson.JsonElementrefineJsonResponse(com.google.gson.JsonElement jsonElement) Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
CallActionFluentHelper
public CallActionFluentHelper(@Nonnull String servicePath, @Nonnull Short year, @Nonnull Short period, @Nonnull String actionName, @Nonnull String wBSElementExternalID) Creates a fluent helper object that will execute the CallAction OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
period- Signed INT2 / int16Constraints: none
Original parameter name from the Odata EDM: Period
year- Signed INT2 / int16Constraints: none
Original parameter name from the Odata EDM: Year
wBSElementExternalID- Constraints: Not nullable, Maximum length: 24Original parameter name from the Odata EDM: WBSElementExternalID
servicePath- Service path to be used to call the functions against.actionName- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: ActionName
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<CallActionFluentHelper,Et_ActionResult, Et_ActionResult>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<CallActionFluentHelper,Et_ActionResult, Et_ActionResult>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<CallActionFluentHelper,Et_ActionResult, Et_ActionResult>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<CallActionFluentHelper,Et_ActionResult, Et_ActionResult>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<CallActionFluentHelper,Et_ActionResult, Et_ActionResult>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<CallActionFluentHelper,Et_ActionResult, Et_ActionResult>
-