public class CancelFluentHelper extends FluentHelperFunction<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
Constructor and Description |
---|
CancelFluentHelper(LocalDateTime postingDate,
String reversalReason,
String fiscalYear,
String supplierInvoice)
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(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected Class<CancelInvoiceExportParameters> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected String |
getPath() |
executeMultiple, executeSingle, withHttpHeader
execute, getThis, getVersionIdentifier
public CancelFluentHelper(LocalDateTime postingDate, String reversalReason, String fiscalYear, String supplierInvoice)
execute
method on the fluent helper object.reversalReason
- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: ReversalReason
supplierInvoice
- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: SupplierInvoice
postingDate
- Time StampConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
fiscalYear
- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: FiscalYear
protected Class<CancelInvoiceExportParameters> getEntityClass()
getEntityClass
in class FluentHelperBasic<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
protected String getPath()
getPath
in class FluentHelperFunction<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
protected org.apache.http.client.methods.HttpUriRequest createRequest(URI uri)
createRequest
in class FluentHelperFunction<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
public CancelInvoiceExportParameters execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<CancelFluentHelper,CancelInvoiceExportParameters,CancelInvoiceExportParameters>
configContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
ErpConfigContext.ErpConfigContext()
Copyright © 2018 SAP SE. All rights reserved.