import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; import { Equipment, EquipmentType } from './Equipment'; /** * This class represents the entity "EquipmentWarranty" of service "cds_api_equipment". */ export declare class EquipmentWarranty extends Entity implements EquipmentWarrantyType { /** * Technical entity name for EquipmentWarranty. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the EquipmentWarranty entity */ static _keys: string[]; /** * Equipment Number. * Number by which a piece of equipment can be clearly identified. * Maximum length: 18. */ equipment: DeserializedType; /** * Warranty type. * Key that describes the warranty type. The warranty type is assigned to an internal warranty category that specifies whether you are the warrantee or the guarantor. * Maximum length: 1. */ warrantyType: DeserializedType; /** * Master warranty number. * Displays the number of the master warranty. * This number, which has a maximum of 20 digits, can be assigned both internally and externally, depending on the way the system is set up for your company. * Maximum length: 20. * @nullable */ masterWarranty?: DeserializedType | null; /** * Guarantee date. * The date that marks the beginning of a warranty period. * Normally, a warranty begins when the customer receives the goods. If delivery from your shipping point to the customer takes only a day or so, you can start the warranty period on the same day the goods are issued. In this case, leave the field blank. However, if delivery takes a longer time, enter a future date. * @nullable */ warrantyStartDate?: DeserializedType | null; /** * Date on which the warranty ends. * Date on which the technical object's warranty/guarantee expires. * @nullable */ warrantyEndDate?: DeserializedType | null; /** * Indicator, Whether Technical Object Should Inherit Warranty. * This indicator specifies whether the master warranty or the warranty period can or cannot be inherited from the next-highest technical object in the hiararchy. If the indicator is set, the inherited warranties and those belonging to the technical object are displayed during the warranty check. If the indicator is not set, only the warranties belonging to the technical object are displayed. * Maximum length: 1. * @nullable */ wrntyIsInhtdFromSuperiorObject?: DeserializedType | null; /** * Indicator: Pass on Warranty. * This indicator specifies whether the master warranty of the technical object should be passed on to the technical objects lower down in the hierarchy. When a warranty check of the lower technical object is performed, the technical object of the upper hierarchy level is also displayed. A maximum of two higher technical objects (a piece of equipment and a functional location) are displayed per warranty type. * Maximum length: 1. * @nullable */ wrntyIsPassedOnToChildObject?: DeserializedType | null; /** * One-to-one navigation property to the [[Equipment]] entity. */ toEquipment?: Equipment | null; } export interface EquipmentWarrantyType { equipment: DeserializedType; warrantyType: DeserializedType; masterWarranty?: DeserializedType | null; warrantyStartDate?: DeserializedType | null; warrantyEndDate?: DeserializedType | null; wrntyIsInhtdFromSuperiorObject?: DeserializedType | null; wrntyIsPassedOnToChildObject?: DeserializedType | null; toEquipment?: EquipmentType | null; } //# sourceMappingURL=EquipmentWarranty.d.ts.map