public class SupplierInvoiceByKeyFluentHelper extends FluentHelperByKey<SupplierInvoiceByKeyFluentHelper,SupplierInvoice,SupplierInvoiceSelectable>
SupplierInvoice
entity using key fields. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself.Constructor and Description |
---|
SupplierInvoiceByKeyFluentHelper(String servicePath,
String supplierInvoice,
String fiscalYear)
Creates a fluent helper object that will fetch a single
SupplierInvoice entity with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<SupplierInvoice> |
getEntityClass()
Returns a class object of the type this fluent helper works with.
|
protected Map<String,Object> |
getKey()
Getter for a map containing the OData name of key properties, each mapped to the value to search by.
|
execute, getQueryBuilder, select, toQuery, withErrorHandler, withQueryParameter
cachingMetadata, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, withHeader, withHeaders, withoutCachingMetadata
public SupplierInvoiceByKeyFluentHelper(@Nonnull String servicePath, String supplierInvoice, String fiscalYear)
SupplierInvoice
entity with the provided key field values. To perform execution, call the execute
method on the fluent helper object.servicePath
- Service path to be used to fetch a single SupplierInvoice
supplierInvoice
- Number which uniquely identifies an invoice document.
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.
Constraints: Not nullable, Maximum length: 4
@Nonnull protected Class<SupplierInvoice> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<SupplierInvoiceByKeyFluentHelper,SupplierInvoice,SupplierInvoice>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<SupplierInvoiceByKeyFluentHelper,SupplierInvoice,SupplierInvoiceSelectable>
Copyright © 2019 SAP SE. All rights reserved.