Class ReverseGoodsReceiptFluentHelper
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.CollectionValuedFluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.inbounddelivery.ReverseGoodsReceiptFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class ReverseGoodsReceiptFluentHelper
extends CollectionValuedFluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
Fluent helper for the ReverseGoodsReceipt OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionReverseGoodsReceiptFluentHelper(String servicePath, String deliveryDocument, LocalDateTime actualGoodsMovementDate) Creates a fluent helper object that will execute the ReverseGoodsReceipt 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<DeliveryMessage>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
-
ReverseGoodsReceiptFluentHelper
public ReverseGoodsReceiptFluentHelper(@Nonnull String servicePath, @Nonnull String deliveryDocument, @Nonnull LocalDateTime actualGoodsMovementDate) Creates a fluent helper object that will execute the ReverseGoodsReceipt OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
deliveryDocument- DeliveryConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
actualGoodsMovementDate- Actual GI DateConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ActualGoodsMovementDate
servicePath- Service path to be used to call the functions against.
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<ReverseGoodsReceiptFluentHelper,DeliveryMessage, List<DeliveryMessage>>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage, List<DeliveryMessage>>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage, List<DeliveryMessage>>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage, List<DeliveryMessage>>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage, List<DeliveryMessage>>
-
executeRequest
@Nonnull public List<DeliveryMessage> executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<ReverseGoodsReceiptFluentHelper,DeliveryMessage, List<DeliveryMessage>>
-