Class DetermineAvailabilityAtFluentHelper
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<DetermineAvailabilityAtFluentHelper,AvailabilityRecord,AvailabilityRecord>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.basicproductavailabilityinformation.DetermineAvailabilityAtFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class DetermineAvailabilityAtFluentHelper
extends SingleValuedFluentHelperFunction<DetermineAvailabilityAtFluentHelper,AvailabilityRecord,AvailabilityRecord>
Fluent helper for the DetermineAvailabilityAt OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionDetermineAvailabilityAtFluentHelper(String servicePath, String supplyingPlant, String material, String aTPCheckingRule, ZonedDateTime requestedUTCDateTime) Creates a fluent helper object that will execute the DetermineAvailabilityAt 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 Class<AvailabilityRecord>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
-
DetermineAvailabilityAtFluentHelper
public DetermineAvailabilityAtFluentHelper(@Nonnull String servicePath, @Nonnull String supplyingPlant, @Nonnull String material, @Nonnull String aTPCheckingRule, @Nonnull ZonedDateTime requestedUTCDateTime) Creates a fluent helper object that will execute the DetermineAvailabilityAt OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
aTPCheckingRule- Checking ruleConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ATPCheckingRule
servicePath- Service path to be used to call the functions against.requestedUTCDateTime- DateConstraints: Not nullable, Precision: 7
Original parameter name from the Odata EDM: RequestedUTCDateTime
supplyingPlant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: SupplyingPlant
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<DetermineAvailabilityAtFluentHelper,AvailabilityRecord, AvailabilityRecord>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<DetermineAvailabilityAtFluentHelper,AvailabilityRecord, AvailabilityRecord>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<DetermineAvailabilityAtFluentHelper,AvailabilityRecord, AvailabilityRecord>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<DetermineAvailabilityAtFluentHelper,AvailabilityRecord, AvailabilityRecord>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<DetermineAvailabilityAtFluentHelper,AvailabilityRecord, AvailabilityRecord>
-