Class InventoryPriceChangeFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionInventoryPriceChangeFluentHelper(String servicePath, String currency, String currencyRole, String material, BigDecimal inventoryPrice, LocalDateTime postingDate, BigDecimal materialPriceUnitQty, String valuationArea, String inventoryValuationType) Creates a fluent helper object that will execute the InventoryPriceChange 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<PriceChangeDocument>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
-
InventoryPriceChangeFluentHelper
public InventoryPriceChangeFluentHelper(@Nonnull String servicePath, @Nonnull String currency, @Nonnull String currencyRole, @Nonnull String material, @Nonnull BigDecimal inventoryPrice, @Nonnull LocalDateTime postingDate, @Nonnull BigDecimal materialPriceUnitQty, @Nonnull String valuationArea, @Nonnull String inventoryValuationType) Creates a fluent helper object that will execute the InventoryPriceChange OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
valuationArea- Valuation AreaConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: ValuationArea
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
materialPriceUnitQty- Price unitConstraints: Not nullable, Precision: 5, Scale: 0
Original parameter name from the Odata EDM: MaterialPriceUnitQty
inventoryValuationType- Valuation TypeConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: InventoryValuationType
servicePath- Service path to be used to call the functions against.currency- CurrencyConstraints: Not nullable, Maximum length: 5
Original parameter name from the Odata EDM: Currency
postingDate- Posting DateConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
currencyRole- Crcy type/val.Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: CurrencyRole
inventoryPrice- PriceConstraints: Not nullable, Precision: 4, Scale: 4
Original parameter name from the Odata EDM: InventoryPrice
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<InventoryPriceChangeFluentHelper,PriceChangeDocument, PriceChangeDocument>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<InventoryPriceChangeFluentHelper,PriceChangeDocument, PriceChangeDocument>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<InventoryPriceChangeFluentHelper,PriceChangeDocument, PriceChangeDocument>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<InventoryPriceChangeFluentHelper,PriceChangeDocument, PriceChangeDocument>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<InventoryPriceChangeFluentHelper,PriceChangeDocument, PriceChangeDocument>
-