Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_CustomerGroup" of service "API_CUSTOMERGROUP_SRV". This service is part of the following communication scenarios: SAP Business Objects Cloud for Planning Integration (SAP_COM_0087). See https://api.sap.com/api/API_CUSTOMERGROUP_SRV for more information.

Hierarchy

  • any
    • CustomerGroup

Implements

Index

Properties

customerGroup

customerGroup: string

Customer Group. Identifies a particular group of customers (for example, wholesale or retail) for the purpose of pricing or generating statistics. Maximum length: 2.

toText

One-to-many navigation property to the CustomerGroupText entity.

Static ALL_FIELDS

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

All fields selector.

Static CUSTOMER_GROUP

CUSTOMER_GROUP: StringField<CustomerGroup> = new StringField('CustomerGroup', CustomerGroup, 'Edm.String')

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

Static TO_TEXT

TO_TEXT: Link<CustomerGroup, CustomerGroupText> = new Link('to_Text', CustomerGroup, CustomerGroupText)

Static representation of the one-to-many navigation property toText for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [CustomerGroup.CUSTOMER_GROUP,CustomerGroup.TO_TEXT]

All fields of the CustomerGroup entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_CustomerGroup"

Technical entity name for CustomerGroup.

Static _keyFields

_keyFields: Array<Selectable<CustomerGroup>> = [CustomerGroup.CUSTOMER_GROUP]

All key fields of the CustomerGroup entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_CUSTOMERGROUP_SRV"

Technical service name for CustomerGroup.

Methods

Static builder

  • Returns an entity builder to construct instances CustomerGroup.

    Returns EntityBuilderType<CustomerGroup, CustomerGroupType>

    A builder that constructs instances of entity type CustomerGroup.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<CustomerGroup>

    A builder that constructs instances of entity type CustomerGroup.

Static requestBuilder

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

    Returns CustomerGroupRequestBuilder

    A CustomerGroup request builder.