import { BillItem } from '../concerns/billItem'; import { IPaymentAttributes } from './interface'; import { PaymentType } from '../nomenclature'; import { PaymentsCollection } from './collection'; /** * * * @export * @class Payment * @extends {BillItem} */ export declare class Payment extends BillItem { /** * * * @type {number} */ value: number; paymentTypeId: number; private _name; name: string; private _isCash; isCash: boolean; private _isFiscal; isFiscal: boolean; /** * Creates an instance of Payment. * * @param {IPaymentAttributes} [attributes={}] */ constructor(attributes?: IPaymentAttributes); /** * * * @returns {Boolean} */ delete(): Boolean; update(attributes?: IPaymentAttributes): boolean; toJson(useNomenclatureIds?: boolean): { name: string; value: number; isCash: boolean; isFiscal: boolean; }; paymentType: PaymentType; } export { PaymentsCollection };