import IPurchaseOrder from '../../Interfaces/PurchaseOrder'; import { BaseServiceClass } from '../baseService'; /** * Brand class */ export default class PurchaseOrder extends BaseServiceClass { /** * Get the PurchaseOrder properties */ data: () => IPurchaseOrder; /** * @TODO implement IPayments, as the purchase order don't stock the payments of the order * Get payment state * @returns array of IPayments + payment state (none | partially | paid) */ getPayments: () => Promise<{ payments: never[]; state: string; }>; }