public class CustomerMaterialByKeyFluentHelper extends FluentHelperByKey<CustomerMaterialByKeyFluentHelper,CustomerMaterial,CustomerMaterialSelectable>
CustomerMaterial
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 |
---|
CustomerMaterialByKeyFluentHelper(String salesOrganization,
String distributionChannel,
String customer,
String material)
Creates a fluent helper object that will fetch a single
CustomerMaterial entity with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<CustomerMaterial> |
getEntityClass() |
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
execute, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getThis, getVersionIdentifier, withCustomHttpHeader, withCustomHttpHeaders, withHttpHeader
public CustomerMaterialByKeyFluentHelper(String salesOrganization, String distributionChannel, String customer, String material)
CustomerMaterial
entity with the provided key field values. To perform execution, call the execute
method on the fluent helper object.material
- Alphanumeric key uniquely identifying the material.Constraints: Not nullable, Maximum length: 40
distributionChannel
- The way in which products or services reach the customer. Typical examples of distribution channels are wholesale, retail, or direct sales.Constraints: Not nullable, Maximum length: 2
salesOrganization
- An organizational unit responsible for the sale of certain products or services. The responsibility of a sales organization may include legal liability for products and customer claims.Constraints: Not nullable, Maximum length: 4
customer
- The customer to whom the condition or the customer-material info record applies.Constraints: Not nullable, Maximum length: 10
protected Class<CustomerMaterial> getEntityClass()
getEntityClass
in class FluentHelperBasic<CustomerMaterialByKeyFluentHelper,CustomerMaterial,CustomerMaterial>
protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<CustomerMaterialByKeyFluentHelper,CustomerMaterial,CustomerMaterialSelectable>
Copyright © 2018 SAP SE. All rights reserved.