public class CancelFluentHelper extends FluentHelperFunction<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
Constructor and Description |
---|
CancelFluentHelper(String servicePath,
String supplierInvoice,
String fiscalYear,
String reversalReason,
LocalDateTime postingDate)
Creates a fluent helper object that will execute the Cancel OData function import with the provided
parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
CancelInvoiceExportParameters |
execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
executeRequest(HttpDestinationProperties) instead. |
protected Class<CancelInvoiceExportParameters> |
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 CancelFluentHelper(@Nonnull String servicePath, @Nonnull String supplierInvoice, @Nonnull String fiscalYear, @Nonnull String reversalReason, @Nonnull LocalDateTime postingDate)
execute
method on the fluent helper object.reversalReason
- Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ReversalReason
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
postingDate
- Time Stamp
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
fiscalYear
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
@Nonnull protected Class<CancelInvoiceExportParameters> getEntityClass()
getEntityClass
in class FluentHelperBasic<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
@Nonnull protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
@Deprecated @Nullable public CancelInvoiceExportParameters execute(@Nonnull HttpDestinationProperties destination) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
executeRequest(HttpDestinationProperties)
instead.execute
in class FluentHelperBasic<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
com.sap.cloud.sdk.odatav2.connectivity.ODataException
Copyright © 2021 SAP SE. All rights reserved.