public class StartReconcileFluentHelper extends FluentHelperFunction<StartReconcileFluentHelper,BankReconciliationItem,BankReconciliationItem>
Constructor and Description |
---|
StartReconcileFluentHelper(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.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
BankReconciliationItem |
execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
executeRequest(HttpDestinationProperties) instead. |
protected Class<BankReconciliationItem> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement) |
executeMultiple, executeRequest, executeSingle, getJsonResponseObjectName, toRequest
and, cachingMetadata, getHeaders, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, onRequestAndImplicitRequests, onRequestOnly, withHeader, withHeaders, withoutCachingMetadata, withQueryParameter
public StartReconcileFluentHelper(@Nonnull String servicePath, @Nonnull String companyCode, @Nonnull String houseBank, @Nonnull String houseBankAccount, @Nonnull LocalDateTime bankReconciliationDate)
execute
method on the fluent helper object.companyCode
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: CompanyCode
houseBankAccount
- Constraints: Not nullable, Maximum length: 5
Original parameter name from the Odata EDM: HouseBankAccount
bankReconciliationDate
- Time Stamp
Constraints: 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: 5
Original parameter name from the Odata EDM: HouseBank
@Nonnull protected Class<BankReconciliationItem> getEntityClass()
getEntityClass
in class FluentHelperBasic<StartReconcileFluentHelper,BankReconciliationItem,BankReconciliationItem>
@Nonnull protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<StartReconcileFluentHelper,BankReconciliationItem,BankReconciliationItem>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<StartReconcileFluentHelper,BankReconciliationItem,BankReconciliationItem>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<StartReconcileFluentHelper,BankReconciliationItem,BankReconciliationItem>
@Deprecated @Nullable public BankReconciliationItem execute(@Nonnull HttpDestinationProperties destination) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
executeRequest(HttpDestinationProperties)
instead.execute
in class FluentHelperBasic<StartReconcileFluentHelper,BankReconciliationItem,BankReconciliationItem>
com.sap.cloud.sdk.odatav2.connectivity.ODataException
Copyright © 2021 SAP SE. All rights reserved.