/** * YNAB API Endpoints * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ /** * * @export * @interface SubTransactionBase */ export interface SubTransactionBase { /** * * @type {string} * @memberof SubTransactionBase */ id: string; /** * * @type {string} * @memberof SubTransactionBase */ transaction_id: string; /** * The subtransaction amount in milliunits format * @type {number} * @memberof SubTransactionBase */ amount: number; /** * * @type {string} * @memberof SubTransactionBase */ memo?: string | null; /** * * @type {string} * @memberof SubTransactionBase */ payee_id?: string | null; /** * * @type {string} * @memberof SubTransactionBase */ payee_name?: string | null; /** * * @type {string} * @memberof SubTransactionBase */ category_id?: string | null; /** * * @type {string} * @memberof SubTransactionBase */ category_name?: string | null; /** * If a transfer, the account_id which the subtransaction transfers to * @type {string} * @memberof SubTransactionBase */ transfer_account_id?: string | null; /** * If a transfer, the id of transaction on the other side of the transfer * @type {string} * @memberof SubTransactionBase */ transfer_transaction_id?: string | null; /** * Whether or not the subtransaction has been deleted. Deleted subtransactions will only be included in delta requests. * @type {boolean} * @memberof SubTransactionBase */ deleted: boolean; } /** * Check if a given object implements the SubTransactionBase interface. */ export declare function instanceOfSubTransactionBase(value: object): value is SubTransactionBase; export declare function SubTransactionBaseFromJSON(json: any): SubTransactionBase; export declare function SubTransactionBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubTransactionBase; export declare function SubTransactionBaseToJSON(json: any): SubTransactionBase; export declare function SubTransactionBaseToJSONTyped(value?: SubTransactionBase | null, ignoreDiscriminator?: boolean): any;