Class RejectItemFluentHelper
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<RejectItemFluentHelper,Result,Result>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.businesssolutionorder.RejectItemFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class RejectItemFluentHelper
extends SingleValuedFluentHelperFunction<RejectItemFluentHelper,Result,Result>
Fluent helper for the RejectItem OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionRejectItemFluentHelper(String servicePath, String busSolnOrdItmRjcnReason, String businessSolutionOrderItem, String businessSolutionOrder) Creates a fluent helper object that will execute the RejectItem OData function import with the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.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
-
RejectItemFluentHelper
public RejectItemFluentHelper(@Nonnull String servicePath, @Nonnull String busSolnOrdItmRjcnReason, @Nonnull String businessSolutionOrderItem, @Nonnull String businessSolutionOrder) Creates a fluent helper object that will execute the RejectItem OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
busSolnOrdItmRjcnReason- Rejection ReasonConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: BusSolnOrdItmRjcnReason
businessSolutionOrder- Object IDConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: BusinessSolutionOrder
servicePath- Service path to be used to call the functions against.businessSolutionOrderItem- Item NumberConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: BusinessSolutionOrderItem
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<RejectItemFluentHelper,Result, Result>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<RejectItemFluentHelper,Result, Result>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<RejectItemFluentHelper,Result, Result>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<RejectItemFluentHelper,Result, Result>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<RejectItemFluentHelper,Result, Result>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<RejectItemFluentHelper,Result, Result>
-