public class CreateBatchSplitItemFluentHelper extends FluentHelperFunction<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem,CreatedDeliveryItem>
Constructor and Description |
---|
CreateBatchSplitItemFluentHelper(String servicePath,
String deliveryQuantityUnit,
BigDecimal actualDeliveryQuantity,
String deliveryDocumentItem,
String deliveryDocument,
String batch,
BigDecimal pickQuantityInSalesUOM)
Creates a fluent helper object that will execute the CreateBatchSplitItem OData function import with the
provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
CreatedDeliveryItem |
execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
executeRequest(HttpDestinationProperties) instead. |
protected Class<CreatedDeliveryItem> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement) |
executeMultiple, executeRequest, executeSingle, getJsonResponseObjectName, toRequest
and, cachingMetadata, getHeaders, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, onRequestAndImplicitRequests, onRequestOnly, withHeader, withHeaders, withoutCachingMetadata, withQueryParameter
public CreateBatchSplitItemFluentHelper(@Nonnull String servicePath, @Nonnull String deliveryQuantityUnit, @Nonnull BigDecimal actualDeliveryQuantity, @Nonnull String deliveryDocumentItem, @Nonnull String deliveryDocument, @Nonnull String batch, @Nullable BigDecimal pickQuantityInSalesUOM)
execute
method on the fluent helper object.deliveryQuantityUnit
- Sales Unit
Constraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: DeliveryQuantityUnit
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
pickQuantityInSalesUOM
- Pick quantity
Constraints: Nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: PickQuantityInSalesUOM
servicePath
- Service path to be used to call the functions against.batch
- Batch
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: Batch
actualDeliveryQuantity
- Delivery Qty
Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: ActualDeliveryQuantity
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
@Nonnull protected Class<CreatedDeliveryItem> getEntityClass()
getEntityClass
in class FluentHelperBasic<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem,CreatedDeliveryItem>
@Nonnull protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem,CreatedDeliveryItem>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem,CreatedDeliveryItem>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem,CreatedDeliveryItem>
@Deprecated @Nullable public CreatedDeliveryItem execute(@Nonnull HttpDestinationProperties destination) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
executeRequest(HttpDestinationProperties)
instead.execute
in class FluentHelperBasic<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem,CreatedDeliveryItem>
com.sap.cloud.sdk.odatav2.connectivity.ODataException
Copyright © 2021 SAP SE. All rights reserved.