import Address from './address' import Item from './item' export default class Invoice { InvoiceDate: string InvoiceNumber: number BillingAddress: Address ShippingAddress: Address IsDraft: boolean Items: Item[] CustomerName: string CustomerGstin: string CustomerContactName: string CustomerPhone: string CustomerEmail: string CustomerWebsite: string constructor() { this.InvoiceDate = "" this.InvoiceNumber = 0 this.BillingAddress = new Address() this.ShippingAddress = new Address() this.IsDraft = true this.Items = [] this.CustomerName = "" this.CustomerGstin = "" this.CustomerContactName = "" this.CustomerPhone = "" this.CustomerEmail = "" this.CustomerWebsite = "" } } export class InvoiceTotal { TotalQuantity: string TotalGSTValue: string TotalWithoutGST: string TotalWithGST: string constructor() { this.TotalQuantity = "" this.TotalGSTValue = "" this.TotalWithoutGST = "" this.TotalWithGST = "" } }