Class ConvertItemFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionConvertItemFluentHelper(String servicePath, String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion, String billOfMaterialItemNodeNumber, String headerChangeDocument, String material, String plant, String billOfMaterialComponent, String billOfMaterialItemCategory, String bOMItemDescription, String purchasingGroup, String materialGroup, BigDecimal materialPriceUnitQty, String currency, BigDecimal materialComponentPrice) Creates a fluent helper object that will execute the ConvertItem 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<MaterialBOMItem>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
-
ConvertItemFluentHelper
public ConvertItemFluentHelper(@Nonnull String servicePath, @Nonnull String billOfMaterial, @Nonnull String billOfMaterialCategory, @Nonnull String billOfMaterialVariant, @Nonnull String billOfMaterialVersion, @Nonnull String billOfMaterialItemNodeNumber, @Nonnull String headerChangeDocument, @Nonnull String material, @Nonnull String plant, @Nullable String billOfMaterialComponent, @Nullable String billOfMaterialItemCategory, @Nullable String bOMItemDescription, @Nullable String purchasingGroup, @Nullable String materialGroup, @Nullable BigDecimal materialPriceUnitQty, @Nullable String currency, @Nullable BigDecimal materialComponentPrice) Creates a fluent helper object that will execute the ConvertItem OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
headerChangeDocument- Change NumberConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: HeaderChangeDocument
bOMItemDescription- Item TextConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: BOMItemDescription
billOfMaterialComponent- MaterialConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: BillOfMaterialComponent
billOfMaterialVersion- BOM VersionConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: BillOfMaterialVersion
billOfMaterial- Bill of MaterialConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterial
purchasingGroup- Purchasing GroupConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: PurchasingGroup
billOfMaterialItemNodeNumber- Item nodeConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: BillOfMaterialItemNodeNumber
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
materialGroup- Material GroupConstraints: Nullable, Maximum length: 9
Original parameter name from the Odata EDM: MaterialGroup
materialPriceUnitQty- Price unitConstraints: Nullable, Precision: 5, Scale: 0
Original parameter name from the Odata EDM: MaterialPriceUnitQty
servicePath- Service path to be used to call the functions against.plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
materialComponentPrice- PriceConstraints: Nullable, Precision: 12, Scale: 3
Original parameter name from the Odata EDM: MaterialComponentPrice
billOfMaterialItemCategory- Item CategoryConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialItemCategory
currency- CurrencyConstraints: Nullable, Maximum length: 5
Original parameter name from the Odata EDM: Currency
billOfMaterialVariant- Alternative BOMConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BillOfMaterialVariant
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<ConvertItemFluentHelper,MaterialBOMItem, MaterialBOMItem>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<ConvertItemFluentHelper,MaterialBOMItem, MaterialBOMItem>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<ConvertItemFluentHelper,MaterialBOMItem, MaterialBOMItem>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<ConvertItemFluentHelper,MaterialBOMItem, MaterialBOMItem>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<ConvertItemFluentHelper,MaterialBOMItem, MaterialBOMItem>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<ConvertItemFluentHelper,MaterialBOMItem, MaterialBOMItem>
-