UNPKG

@apideck/node

Version:
47 lines (46 loc) 1.62 kB
/** * Apideck * The Apideck OpenAPI Spec: SDK Optimized * * The version of the OpenAPI document: 10.13.0 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { BalanceByTransaction } from './BalanceByTransaction'; /** * * @export * @interface BalanceByPeriod */ export interface BalanceByPeriod { /** * The starting date of the period. If not provided, it represents the oldest period, where all transactions due before the specified `end_date` are included. * @type {Date} * @memberof BalanceByPeriod */ start_date?: Date | null; /** * The ending date of the period. If not provided, it represents an open-ended period starting from the `start_date`, typically capturing future-dated transactions that are not yet aged. * @type {Date} * @memberof BalanceByPeriod */ end_date?: Date | null; /** * Total amount of the period. * @type {number} * @memberof BalanceByPeriod */ total_amount?: number; /** * * @type {Array<BalanceByTransaction>} * @memberof BalanceByPeriod */ balances_by_transaction?: Array<BalanceByTransaction>; } export declare function BalanceByPeriodFromJSON(json: any): BalanceByPeriod; export declare function BalanceByPeriodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BalanceByPeriod; export declare function BalanceByPeriodToJSON(value?: BalanceByPeriod | null): any;