public class ReverseGoodsReceiptFluentHelper extends CollectionValuedFluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
csrfTokenRetriever, entityCollection
Constructor and Description |
---|
ReverseGoodsReceiptFluentHelper(String servicePath,
String deliveryDocument,
LocalDateTime actualGoodsMovementDate)
Creates a fluent helper object that will execute the ReverseGoodsReceipt OData function import with the
provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
List<DeliveryMessage> |
executeRequest(HttpDestinationProperties destination)
Execute this function import.
|
protected Class<DeliveryMessage> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement) |
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfToken
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
public ReverseGoodsReceiptFluentHelper(@Nonnull String servicePath, @Nonnull String deliveryDocument, @Nonnull LocalDateTime actualGoodsMovementDate)
executeRequest
method on the fluent
helper object.deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
actualGoodsMovementDate
- Actual GI Date
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ActualGoodsMovementDate
servicePath
- Service path to be used to call the functions against.@Nonnull protected Class<DeliveryMessage> getEntityClass()
getEntityClass
in class FluentHelperBasic<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
@Nonnull protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
refineJsonResponse
in class FluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
@Nonnull public List<DeliveryMessage> executeRequest(@Nonnull HttpDestinationProperties destination)
executeRequest
in interface FluentHelperExecutable<Object>
executeRequest
in class FluentHelperBasic<ReverseGoodsReceiptFluentHelper,DeliveryMessage,List<DeliveryMessage>>
Copyright © 2022 SAP SE. All rights reserved.