Home > @poq/sdk-sfcc > Customer > (constructor)
Constructs a new instance of the Customer
class
Signature:
constructor(params?: {
addresses?: Array<CustomerAddress>;
authType?: CustomerAuthTypeEnum;
birthday?: string;
cFamilyStatus?: string;
companyName?: string;
creationDate?: string;
customerId?: string;
customerNo?: string;
email?: string;
enabled?: boolean;
fax?: string;
firstName?: string;
gender?: CustomerGenderEnum;
hashedLogin?: string;
jobTitle?: string;
lastLoginTime?: string;
lastModified?: string;
lastName?: string;
lastVisitTime?: string;
login?: string;
note?: string;
paymentInstruments?: Array<CustomerPaymentInstrument>;
phoneBusiness?: string;
phoneHome?: string;
phoneMobile?: string;
preferredLocale?: string;
previousLoginTime?: string;
previousVisitTime?: string;
salutation?: string;
secondName?: string;
suffix?: string;
title?: string;
visitId?: string;
});
Parameter | Type | Description |
---|---|---|
params | { addresses?: Array<CustomerAddress>; authType?: CustomerAuthTypeEnum; birthday?: string; cFamilyStatus?: string; companyName?: string; creationDate?: string; customerId?: string; customerNo?: string; email?: string; enabled?: boolean; fax?: string; firstName?: string; gender?: CustomerGenderEnum; hashedLogin?: string; jobTitle?: string; lastLoginTime?: string; lastModified?: string; lastName?: string; lastVisitTime?: string; login?: string; note?: string; paymentInstruments?: Array<CustomerPaymentInstrument>; phoneBusiness?: string; phoneHome?: string; phoneMobile?: string; preferredLocale?: string; previousLoginTime?: string; previousVisitTime?: string; salutation?: string; secondName?: string; suffix?: string; title?: string; visitId?: string; } | (Optional) |