import EcomClient from './index'; import { Address } from './address'; export declare class Customer { client: EcomClient; id: string; uid: string; email: string; firstname: string; lastname: string; created: Date; modified: Date; constructor(client: EcomClient, id: string, uid: string, email: string, firstname: string, lastname: string, created: Date, modified: Date); /** * Create an address for a customer * @param {string} typ * @param {string} contactName * @param {string} addr1 * @param {string} addr2 * @param {string} city * @param {string} county * @param {string} postcode * @param {string} country * @returns {Address} */ createAddress(typ: string, contactName: string, addr1: string, addr2: string, city: string, county: string, postcode: string, country: string): Promise
; /** * Get address by ID * @param {string} id address ID * @return {Address} */ getAddress(id: string): Promise; getAddresses(): Promise