public class ReleaseFluentHelper extends SingleValuedFluentHelperFunction<ReleaseFluentHelper,ReleaseInvoiceExportParameters,ReleaseInvoiceExportParameters>
csrfTokenRetriever, entityCollection
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 |
executeRequest(HttpDestinationProperties destination)
Execute this function import.
|
protected Class<ReleaseInvoiceExportParameters> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement) |
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfToken
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
public ReleaseFluentHelper(@Nonnull String servicePath, @Nonnull Boolean discountDaysHaveToBeShifted, @Nonnull String fiscalYear, @Nonnull String supplierInvoice)
executeRequest
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>
@Nullable public ReleaseInvoiceExportParameters executeRequest(@Nonnull HttpDestinationProperties destination)
executeRequest
in interface FluentHelperExecutable<Object>
executeRequest
in class FluentHelperBasic<ReleaseFluentHelper,ReleaseInvoiceExportParameters,ReleaseInvoiceExportParameters>
Copyright © 2022 SAP SE. All rights reserved.