Class ReverseFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionReverseFluentHelper(String servicePath, String fiscalYear, String referenceDocument, String controllingArea, LocalDateTime documentDate, LocalDateTime postingDate, String fiscalPeriod, String accountingDocumentHeaderText, String warningsAreIgnored) Creates a fluent helper object that will execute the Reverse 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<CostRevenueReassignment>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
-
ReverseFluentHelper
public ReverseFluentHelper(@Nonnull String servicePath, @Nonnull String fiscalYear, @Nonnull String referenceDocument, @Nonnull String controllingArea, @Nullable LocalDateTime documentDate, @Nullable LocalDateTime postingDate, @Nullable String fiscalPeriod, @Nullable String accountingDocumentHeaderText, @Nullable String warningsAreIgnored) Creates a fluent helper object that will execute the Reverse OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
documentDate- Document DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: DocumentDate
accountingDocumentHeaderText- Document Header TextConstraints: Nullable, Maximum length: 25
Original parameter name from the Odata EDM: AccountingDocumentHeaderText
warningsAreIgnored- Ignore warningConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: WarningsAreIgnored
servicePath- Service path to be used to call the functions against.referenceDocument- Reference documentConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: ReferenceDocument
fiscalPeriod- Fiscal PeriodConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: FiscalPeriod
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: ControllingArea
postingDate- Posting DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
fiscalYear- Fiscal YearConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<ReverseFluentHelper,CostRevenueReassignment, CostRevenueReassignment>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<ReverseFluentHelper,CostRevenueReassignment, CostRevenueReassignment>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<ReverseFluentHelper,CostRevenueReassignment, CostRevenueReassignment>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<ReverseFluentHelper,CostRevenueReassignment, CostRevenueReassignment>
-
executeRequest
@Nullable public CostRevenueReassignment executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<ReverseFluentHelper,CostRevenueReassignment, CostRevenueReassignment>
-