Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductDescription" of service "API_REALSUBSTANCE". See https://api.sap.com/api/API_REALSUBSTANCE for more information.

Hierarchy

  • any
    • ProductDescription

Implements

Index

Properties

language

language: string

Language Key. Maximum length: 2.

product

product: string

Product Number. Maximum length: 40.

productDescription

productDescription: string

Product Description. Maximum length: 40.

nullable

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', ProductDescription)

All fields selector.

Static LANGUAGE

LANGUAGE: StringField<ProductDescription> = new StringField('Language', ProductDescription, 'Edm.String')

Static representation of the language property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT

PRODUCT: StringField<ProductDescription> = new StringField('Product', ProductDescription, 'Edm.String')

Static representation of the product property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT_DESCRIPTION

PRODUCT_DESCRIPTION: StringField<ProductDescription> = new StringField('ProductDescription', ProductDescription, 'Edm.String')

Static representation of the productDescription property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [ProductDescription.PRODUCT,ProductDescription.LANGUAGE,ProductDescription.PRODUCT_DESCRIPTION]

All fields of the ProductDescription entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_REALSUBSTANCE"

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductDescription"

Technical entity name for ProductDescription.

Static _keyFields

_keyFields: Array<Selectable<ProductDescription>> = [ProductDescription.PRODUCT, ProductDescription.LANGUAGE]

All key fields of the ProductDescription entity.

Static _keys

_keys: any = ProductDescription._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property ProductDescription.

Static _serviceName

_serviceName: string = "API_REALSUBSTANCE"

Technical service name for ProductDescription.

Methods

Static builder

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity ProductDescription.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductDescription>

    A builder that constructs instances of entity type ProductDescription.

Static requestBuilder

  • Returns a request builder to construct requests for operations on the ProductDescription entity type.

    Returns ProductDescriptionRequestBuilder

    A ProductDescription request builder.