import { SalesQuoteItemCancellationReasonCodeRequestBuilder } from './SalesQuoteItemCancellationReasonCodeRequestBuilder'; import { AllFields, CustomFieldV2, EntityBuilderType, EntityV2, Field, StringField } from '@sap-cloud-sdk/core'; /** * This class represents the entity "SalesQuoteItemCancellationReasonCodeCollection" of service "c4codata". */ export declare class SalesQuoteItemCancellationReasonCode extends EntityV2 implements SalesQuoteItemCancellationReasonCodeType { /** * Technical entity name for SalesQuoteItemCancellationReasonCode. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * Code. */ code: string; /** * Description. */ description: string; /** * Returns an entity builder to construct instances of `SalesQuoteItemCancellationReasonCode`. * @returns A builder that constructs instances of entity type `SalesQuoteItemCancellationReasonCode`. */ static builder(): EntityBuilderType; /** * Returns a request builder to construct requests for operations on the `SalesQuoteItemCancellationReasonCode` entity type. * @returns A `SalesQuoteItemCancellationReasonCode` request builder. */ static requestBuilder(): SalesQuoteItemCancellationReasonCodeRequestBuilder; /** * Returns a selectable object that allows the selection of custom field in a get request for the entity `SalesQuoteItemCancellationReasonCode`. * @param fieldName Name of the custom field to select * @returns A builder that constructs instances of entity type `SalesQuoteItemCancellationReasonCode`. */ 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; }; } export interface SalesQuoteItemCancellationReasonCodeType { code: string; description: string; } export declare namespace SalesQuoteItemCancellationReasonCode { /** * Static representation of the [[code]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const CODE: StringField; /** * Static representation of the [[description]] property for query construction. * Use to reference this property in query operations such as 'select' in the fluent request API. */ const DESCRIPTION: StringField; /** * All fields of the SalesQuoteItemCancellationReasonCode entity. */ const _allFields: Array>; /** * All fields selector. */ const ALL_FIELDS: AllFields; /** * All key fields of the SalesQuoteItemCancellationReasonCode entity. */ const _keyFields: Array>; /** * Mapping of all key field names to the respective static field property SalesQuoteItemCancellationReasonCode. */ const _keys: { [keys: string]: Field; }; } //# sourceMappingURL=SalesQuoteItemCancellationReasonCode.d.ts.map