/** * Organizze API * Specification for the Organizze API described in [https://github.com/organizze/api-doc](https://github.com/organizze/api-doc) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { TransactionTagsInner } from './TransactionTagsInner'; import type { InstallmentTransactionAllOfInstallmentsAttributes } from './InstallmentTransactionAllOfInstallmentsAttributes'; /** * Installment Transaction * @export * @interface InstallmentTransaction */ export interface InstallmentTransaction { /** * ID of the Transaction * @type {number} * @memberof InstallmentTransaction */ id: number; /** * * @type {string} * @memberof InstallmentTransaction */ description: string; /** * * @type {Date} * @memberof InstallmentTransaction */ date: Date; /** * * @type {boolean} * @memberof InstallmentTransaction */ paid: boolean; /** * * @type {number} * @memberof InstallmentTransaction */ amountCents: number; /** * * @type {number} * @memberof InstallmentTransaction */ totalInstallments: number; /** * * @type {number} * @memberof InstallmentTransaction */ installment: number; /** * * @type {boolean} * @memberof InstallmentTransaction */ recurring: boolean; /** * ID of the Bank Account * @type {number} * @memberof InstallmentTransaction */ accountId: number; /** * * @type {number} * @memberof InstallmentTransaction */ categoryId: number; /** * * @type {string} * @memberof InstallmentTransaction */ notes: string | null; /** * * @type {number} * @memberof InstallmentTransaction */ attachmentsCount: number; /** * * @type {number} * @memberof InstallmentTransaction */ creditCardId: number | null; /** * * @type {number} * @memberof InstallmentTransaction */ creditCardInvoiceId: number | null; /** * * @type {number} * @memberof InstallmentTransaction */ paidCreditCardId: number | null; /** * * @type {number} * @memberof InstallmentTransaction */ paidCreditCardInvoiceId: number | null; /** * * @type {number} * @memberof InstallmentTransaction */ opositeTransactionId: number | null; /** * ID of the Bank Account * @type {number} * @memberof InstallmentTransaction */ opositeAccountId: number | null; /** * * @type {Date} * @memberof InstallmentTransaction */ createdAt: Date; /** * * @type {Date} * @memberof InstallmentTransaction */ updatedAt: Date; /** * * @type {Array} * @memberof InstallmentTransaction */ tags: Array | null; /** * * @type {Array} * @memberof InstallmentTransaction */ attachments: Array | null; /** * * @type {number} * @memberof InstallmentTransaction */ recurrenceId: number | null; /** * * @type {InstallmentTransactionAllOfInstallmentsAttributes} * @memberof InstallmentTransaction */ installmentsAttributes?: InstallmentTransactionAllOfInstallmentsAttributes; } /** * Check if a given object implements the InstallmentTransaction interface. */ export declare function instanceOfInstallmentTransaction(value: object): value is InstallmentTransaction; export declare function InstallmentTransactionFromJSON(json: any): InstallmentTransaction; export declare function InstallmentTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstallmentTransaction; export declare function InstallmentTransactionToJSON(json: any): InstallmentTransaction; export declare function InstallmentTransactionToJSONTyped(value?: InstallmentTransaction | null, ignoreDiscriminator?: boolean): any;