/** * NOTE: This file is auto generated by Xendit. * Do not edit the class manually. * Improvements? Share your ideas at https://github.com/xendit/xendit-node */ /** * An object representing an item within an invoice. * @export * @interface InvoiceCallbackItem */ export interface InvoiceCallbackItem { /** * The name of the item. * @type {string} * @memberof InvoiceCallbackItem */ name: string; /** * The price of the item. * @type {number} * @memberof InvoiceCallbackItem */ price: number; /** * The quantity of the item. Must be greater than or equal to 0. * @type {number} * @memberof InvoiceCallbackItem */ quantity: number; /** * The URL associated with the item. * @type {string} * @memberof InvoiceCallbackItem */ url?: string; /** * The category of the item. * @type {string} * @memberof InvoiceCallbackItem */ category?: string; } /** * Check if a given object implements the InvoiceCallbackItem interface. */ export declare function instanceOfInvoiceCallbackItem(value: object): boolean; export declare function InvoiceCallbackItemFromJSON(json: any): InvoiceCallbackItem; export declare function InvoiceCallbackItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceCallbackItem; export declare function InvoiceCallbackItemToJSON(value?: InvoiceCallbackItem | null): any;