import { CustomerAccountAddress } from './CustomerAccountAddress'; import { Name } from './Name'; import { Telephone } from './Telephone'; export declare class CustomerAccount { /** * Unique account identifier provided by the partner\'s Identity Provider/System assigned to the account owner by the partner. `user_id` is specific to the partner namespace. Used to track repeat purchases by the same user. */ userId?: string; /** * Identifies if the customer account is known to the client. Possible values are: -`GUEST` - Applicable if the partner maintains record to distinguish whether the transaction was booked via a guest account. -`STANDARD` - Default account type. */ accountType: CustomerAccountAccountTypeEnum; name: Name; /** * Email address for the account owner. */ emailAddress: string; telephones?: Array; address?: CustomerAccountAddress; /** * The local date and time that the customer first registered on the client site, in ISO-8601 date and time format `yyyy-MM-ddTHH:mm:ss.SSSZ`. */ registeredTime?: Date; constructor(customerAccount: CustomerAccountProperties); } export type CustomerAccountAccountTypeEnum = 'GUEST' | 'STANDARD'; export interface CustomerAccountProperties { userId?: string; accountType: CustomerAccountAccountTypeEnum; name: Name; emailAddress: string; telephones?: Array; address?: CustomerAccountAddress; registeredTime?: Date; }