@apideck/node
Version:
Apideck Node.js SDK
75 lines (74 loc) • 2.06 kB
TypeScript
/**
* 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.
*/
/**
*
* @export
* @interface BalanceByTransaction
*/
export interface BalanceByTransaction {
/**
* Unique identifier for the transaction.
* @type {string}
* @memberof BalanceByTransaction
*/
transaction_id?: string;
/**
* Date of the transaction.
* @type {Date}
* @memberof BalanceByTransaction
*/
transaction_date?: Date;
/**
* Type of the transaction.
* @type {string}
* @memberof BalanceByTransaction
*/
transaction_type?: BalanceByTransactionTransactionType;
/**
* Due date of the transaction.
* @type {Date}
* @memberof BalanceByTransaction
*/
due_date?: Date;
/**
* Original amount of the transaction.
* @type {number}
* @memberof BalanceByTransaction
*/
original_amount?: number;
/**
* Outstanding balance of the transaction.
* @type {number}
* @memberof BalanceByTransaction
*/
outstanding_balance?: number;
/**
* Transaction number of the transaction.
* @type {string}
* @memberof BalanceByTransaction
*/
transaction_number?: string;
}
/**
* @export
* @enum {string}
*/
export declare enum BalanceByTransactionTransactionType {
invoice = "invoice",
credit_note = "credit_note",
bill = "bill",
payment = "payment",
bill_payment = "bill_payment"
}
export declare function BalanceByTransactionFromJSON(json: any): BalanceByTransaction;
export declare function BalanceByTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BalanceByTransaction;
export declare function BalanceByTransactionToJSON(value?: BalanceByTransaction | null): any;