Class CreateBatchSplitItemFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionCreateBatchSplitItemFluentHelper(String servicePath, BigDecimal actualDeliveryQuantity, String batch, String deliveryDocument, String deliveryDocumentItem, String deliveryQuantityUnit, BigDecimal pickQuantityInSalesUOM, LocalDateTime manufactureDate, LocalDateTime shelfLifeExpirationDate) Creates a fluent helper object that will execute the CreateBatchSplitItem 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<CreatedDeliveryItem>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
-
CreateBatchSplitItemFluentHelper
public CreateBatchSplitItemFluentHelper(@Nonnull String servicePath, @Nonnull BigDecimal actualDeliveryQuantity, @Nonnull String batch, @Nonnull String deliveryDocument, @Nonnull String deliveryDocumentItem, @Nonnull String deliveryQuantityUnit, @Nullable BigDecimal pickQuantityInSalesUOM, @Nullable LocalDateTime manufactureDate, @Nullable LocalDateTime shelfLifeExpirationDate) Creates a fluent helper object that will execute the CreateBatchSplitItem OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
shelfLifeExpirationDate- Time StampConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: ShelfLifeExpirationDate
deliveryDocument- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: DeliveryDocument
deliveryQuantityUnit- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: DeliveryQuantityUnit
pickQuantityInSalesUOM- Constraints: Nullable, Precision: 3, Scale: 3Original parameter name from the Odata EDM: PickQuantityInSalesUOM
servicePath- Service path to be used to call the functions against.batch- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: Batch
manufactureDate- Time StampConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: ManufactureDate
actualDeliveryQuantity- Constraints: Not nullable, Precision: 3, Scale: 3Original parameter name from the Odata EDM: ActualDeliveryQuantity
deliveryDocumentItem- Constraints: Not nullable, Maximum length: 6Original parameter name from the Odata EDM: DeliveryDocumentItem
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem, CreatedDeliveryItem>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem, CreatedDeliveryItem>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem, CreatedDeliveryItem>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem, CreatedDeliveryItem>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<CreateBatchSplitItemFluentHelper,CreatedDeliveryItem, CreatedDeliveryItem>
-