Contains the methods to build an entity.

Type Parameters



_entity: EntityT


  • Builds the entity.

    Returns EntityT

    The entity.

  • Builds an entity from JSON representation. If you have obtained the JSON object as a request payload use the entityDeserializer methods. Note that fields not mappable to a field in the target entity are silently ignored.


    Returns EntityT

    EntityBase constructed from JSON representation.

  • Sets the custom fields for the entity.


    • customFields: Record<string, any>

      The custom fields you want to add.

    Returns this

    The entity builder itself for method chaining.

    Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.