@apideck/node
Version:
Apideck Node.js SDK
60 lines (59 loc) • 1.72 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.
*/
import { ProfitAndLossRecords } from './ProfitAndLossRecords';
import { ProfitAndLossType } from './ProfitAndLossType';
/**
* The cost of goods sold accounts
* @export
* @interface CostOfGoodsSold
*/
export interface CostOfGoodsSold {
/**
* The aggregated total of all accounts within this category.
* @type {number}
* @memberof CostOfGoodsSold
*/
total: number | null;
/**
*
* @type {ProfitAndLossRecords}
* @memberof CostOfGoodsSold
*/
records: ProfitAndLossRecords | null;
/**
* A unique identifier for an object.
* @type {string}
* @memberof CostOfGoodsSold
*/
readonly id?: string;
/**
* The account code of the account
* @type {string}
* @memberof CostOfGoodsSold
*/
readonly code?: string;
/**
* The name of the account.
* @type {string}
* @memberof CostOfGoodsSold
*/
readonly title?: string;
/**
*
* @type {ProfitAndLossType}
* @memberof CostOfGoodsSold
*/
type?: ProfitAndLossType | null;
}
export declare function CostOfGoodsSoldFromJSON(json: any): CostOfGoodsSold;
export declare function CostOfGoodsSoldFromJSONTyped(json: any, ignoreDiscriminator: boolean): CostOfGoodsSold;
export declare function CostOfGoodsSoldToJSON(value?: CostOfGoodsSold | null): any;