public class ReleaseFluentHelper extends FluentHelperFunction<ReleaseFluentHelper,ReleaseInvoiceExportParameters,ReleaseInvoiceExportParameters>
Constructor and Description |
---|
ReleaseFluentHelper(String servicePath,
Boolean discountDaysHaveToBeShifted,
String fiscalYear,
String supplierInvoice)
Creates a fluent helper object that will execute the Release OData function import with the provided
parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
ReleaseInvoiceExportParameters |
execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
executeRequest(HttpDestinationProperties) instead. |
protected Class<ReleaseInvoiceExportParameters> |
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 ReleaseFluentHelper(@Nonnull String servicePath, @Nonnull Boolean discountDaysHaveToBeShifted, @Nonnull String fiscalYear, @Nonnull String supplierInvoice)
execute
method on the fluent helper object.servicePath
- Service path to be used to call the functions against.supplierInvoice
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierInvoice
discountDaysHaveToBeShifted
- Indicator
Constraints: none
Original parameter name from the Odata EDM: DiscountDaysHaveToBeShifted
fiscalYear
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
@Nonnull protected Class<ReleaseInvoiceExportParameters> getEntityClass()
getEntityClass
in class FluentHelperBasic<ReleaseFluentHelper,ReleaseInvoiceExportParameters,ReleaseInvoiceExportParameters>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<ReleaseFluentHelper,ReleaseInvoiceExportParameters,ReleaseInvoiceExportParameters>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<ReleaseFluentHelper,ReleaseInvoiceExportParameters,ReleaseInvoiceExportParameters>
@Deprecated @Nullable public ReleaseInvoiceExportParameters execute(@Nonnull HttpDestinationProperties destination) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
executeRequest(HttpDestinationProperties)
instead.execute
in class FluentHelperBasic<ReleaseFluentHelper,ReleaseInvoiceExportParameters,ReleaseInvoiceExportParameters>
com.sap.cloud.sdk.odatav2.connectivity.ODataException
Copyright © 2021 SAP SE. All rights reserved.