import { SalesQuoteItemReferenceRequestBuilder } from './SalesQuoteItemReferenceRequestBuilder'; import { Moment } from 'moment'; import { AllFields, CustomFieldV2, DateField, EntityBuilderType, EntityV2, Field, OneToOneLink, StringField } from '@sap-cloud-sdk/core'; /** * This class represents the entity "SalesQuoteItemReferenceCollection" of service "c4codata". */ export declare class SalesQuoteItemReference extends EntityV2 implements SalesQuoteItemReferenceType { /** * Technical entity name for SalesQuoteItemReference. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * Object Id. * Maximum length: 70. */ objectId: string; /** * Parent Object Id. * Maximum length: 70. * @nullable */ parentObjectId?: string; /** * Quote Id. * Maximum length: 35. * @nullable */ quoteId?: string; /** * Quote Item Id. * Maximum length: 10. * @nullable */ quoteItemId?: string; /** * Relationship Role Code. * Maximum length: 3. * @nullable */ relationshipRoleCode?: string; /** * Relationship Role Code Text. * @nullable */ relationshipRoleCodeText?: string; /** * Id. * Maximum length: 35. * @nullable */ id?: string; /** * Type Code. * Maximum length: 15. * @nullable */ typeCode?: string; /** * Type Code Text. * @nullable */ typeCodeText?: string; /** * Item Id. * Maximum length: 10. * @nullable */ itemId?: string; /** * Item Type Code. * Maximum length: 5. * @nullable */ itemTypeCode?: string; /** * Item Type Code Text. * @nullable */ itemTypeCodeText?: string; /** * E Tag. * @nullable */ eTag?: Moment; /** * One-to-one navigation property to the [[SalesQuote]] entity. */ salesQuote?: SalesQuote | null; /** * One-to-one navigation property to the [[SalesQuoteItem]] entity. */ salesQuoteItem?: SalesQuoteItem | null; /** * Returns an entity builder to construct instances of `SalesQuoteItemReference`. * @returns A builder that constructs instances of entity type `SalesQuoteItemReference`. */ static builder(): EntityBuilderType; /** * Returns a request builder to construct requests for operations on the `SalesQuoteItemReference` entity type. * @returns A `SalesQuoteItemReference` request builder. */ static requestBuilder(): SalesQuoteItemReferenceRequestBuilder; /** * Returns a selectable object that allows the selection of custom field in a get request for the entity `SalesQuoteItemReference`. * @param fieldName Name of the custom field to select * @returns A builder that constructs instances of entity type `SalesQuoteItemReference`. */ static customField(fieldName: string): CustomFieldV2; /** * Overwrites the default toJSON method so that all instance variables as well as all custom fields of the entity are returned. * @returns An object containing all instance variables + custom fields. */ toJSON(): { [key: string]: any; }; } import { SalesQuote, SalesQuoteType } from './SalesQuote'; import { SalesQuoteItem, SalesQuoteItemType } from './SalesQuoteItem'; export interface SalesQuoteItemReferenceType { objectId: string; parentObjectId?: string | null; quoteId?: string | null; quoteItemId?: string | null; relationshipRoleCode?: string | null; relationshipRoleCodeText?: string | null; id?: string | null; typeCode?: string | null; typeCodeText?: string | null; itemId?: string | null; itemTypeCode?: string | null; itemTypeCodeText?: string | null; eTag?: Moment | null; salesQuote?: SalesQuoteType | null; salesQuoteItem?: SalesQuoteItemType | null; } export declare namespace SalesQuoteItemReference { /** * Static representation of the [[objectId]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const OBJECT_ID: StringField; /** * Static representation of the [[parentObjectId]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const PARENT_OBJECT_ID: StringField; /** * Static representation of the [[quoteId]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const QUOTE_ID: StringField; /** * Static representation of the [[quoteItemId]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const QUOTE_ITEM_ID: StringField; /** * Static representation of the [[relationshipRoleCode]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const RELATIONSHIP_ROLE_CODE: StringField; /** * Static representation of the [[relationshipRoleCodeText]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const RELATIONSHIP_ROLE_CODE_TEXT: StringField; /** * Static representation of the [[id]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const ID: StringField; /** * Static representation of the [[typeCode]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const TYPE_CODE: StringField; /** * Static representation of the [[typeCodeText]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const TYPE_CODE_TEXT: StringField; /** * Static representation of the [[itemId]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const ITEM_ID: StringField; /** * Static representation of the [[itemTypeCode]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const ITEM_TYPE_CODE: StringField; /** * Static representation of the [[itemTypeCodeText]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const ITEM_TYPE_CODE_TEXT: StringField; /** * Static representation of the [[eTag]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const E_TAG: DateField; /** * Static representation of the one-to-one navigation property [[salesQuote]] for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const SALES_QUOTE: OneToOneLink; /** * Static representation of the one-to-one navigation property [[salesQuoteItem]] for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const SALES_QUOTE_ITEM: OneToOneLink; /** * All fields of the SalesQuoteItemReference entity. */ const _allFields: Array | DateField | OneToOneLink | OneToOneLink>; /** * All fields selector. */ const ALL_FIELDS: AllFields; /** * All key fields of the SalesQuoteItemReference entity. */ const _keyFields: Array>; /** * Mapping of all key field names to the respective static field property SalesQuoteItemReference. */ const _keys: { [keys: string]: Field; }; } //# sourceMappingURL=SalesQuoteItemReference.d.ts.map