ynab
Version:
Official JavaScript client for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.76.0
51 lines (50 loc) • 1.77 kB
TypeScript
/**
* 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
*
* 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 { SubTransaction } from './SubTransaction';
/**
*
* @export
* @interface TransactionDetailAllOf
*/
export interface TransactionDetailAllOf {
/**
*
* @type {string}
* @memberof TransactionDetailAllOf
*/
account_name: string;
/**
*
* @type {string}
* @memberof TransactionDetailAllOf
*/
payee_name?: string | null;
/**
* The name of the category. If a split transaction, this will be 'Split'.
* @type {string}
* @memberof TransactionDetailAllOf
*/
category_name?: string | null;
/**
* If a split transaction, the subtransactions.
* @type {Array<SubTransaction>}
* @memberof TransactionDetailAllOf
*/
subtransactions: Array<SubTransaction>;
}
/**
* Check if a given object implements the TransactionDetailAllOf interface.
*/
export declare function instanceOfTransactionDetailAllOf(value: object): boolean;
export declare function TransactionDetailAllOfFromJSON(json: any): TransactionDetailAllOf;
export declare function TransactionDetailAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionDetailAllOf;
export declare function TransactionDetailAllOfToJSON(value?: TransactionDetailAllOf | null): any;