Class StartReconcileFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.SingleValuedFluentHelperFunction<StartReconcileFluentHelper,BankReconciliationItem,BankReconciliationItem>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.bankreconciliationstatement.StartReconcileFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class StartReconcileFluentHelper
extends SingleValuedFluentHelperFunction<StartReconcileFluentHelper,BankReconciliationItem,BankReconciliationItem>
Fluent helper for the StartReconcile OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionStartReconcileFluentHelper(String servicePath, String companyCode, String houseBank, String houseBankAccount, LocalDateTime bankReconciliationDate) Creates a fluent helper object that will execute the StartReconcile 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<BankReconciliationItem>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
-
StartReconcileFluentHelper
public StartReconcileFluentHelper(@Nonnull String servicePath, @Nonnull String companyCode, @Nonnull String houseBank, @Nonnull String houseBankAccount, @Nonnull LocalDateTime bankReconciliationDate) Creates a fluent helper object that will execute the StartReconcile OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
companyCode- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: CompanyCode
houseBankAccount- Constraints: Not nullable, Maximum length: 5Original parameter name from the Odata EDM: HouseBankAccount
bankReconciliationDate- Time StampConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BankReconciliationDate
servicePath- Service path to be used to call the functions against.houseBank- Constraints: Not nullable, Maximum length: 5Original parameter name from the Odata EDM: HouseBank
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<StartReconcileFluentHelper,BankReconciliationItem, BankReconciliationItem>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<StartReconcileFluentHelper,BankReconciliationItem, BankReconciliationItem>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<StartReconcileFluentHelper,BankReconciliationItem, BankReconciliationItem>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<StartReconcileFluentHelper,BankReconciliationItem, BankReconciliationItem>
-
executeRequest
@Nullable public BankReconciliationItem executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<StartReconcileFluentHelper,BankReconciliationItem, BankReconciliationItem>
-