Interface EntitySerializer<EntityT, ComplexTypeNamespaceT>
Methods
serializeComplexType
- serializeComplexType(fieldValue: any, complexTypeNameSpace: ComplexTypeNamespaceT): any
Parameters
fieldValue: any
complexTypeNameSpace: ComplexTypeNamespaceT
Returns any
serializeEntity
- serializeEntity(entity: EntityT, entityConstructor: Constructable<EntityT, unknown>, diff?: boolean): Record<string, any>
Parameters
entity: EntityT
entityConstructor: Constructable<EntityT, unknown>
Optional diff: boolean
Returns Record<string, any>
serializeEntityNonCustomFields
- serializeEntityNonCustomFields(entity: EntityT, entityConstructor: Constructable<EntityT, unknown>): Record<string, any>
Parameters
entity: EntityT
entityConstructor: Constructable<EntityT, unknown>
Returns Record<string, any>
Interface representing the return type of the builder function entitySerializer.
Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.