Script: Class dw.customer.ProductListRegistrant

Class ProductListRegistrant

A ProductListRegistrant is typically associated with an event related product list such as a gift registry. It holds information about a person associated with the event such as a bride or groom.

Properties

email : String

The email address of the registrant or null.

firstName : String

The first name of the registrant or null.

lastName : String

The last name of the registrant or null.

role : String

The role of the registrant or null. The role of a registrant can be for example the bride of a bridal couple.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getEmail() : String

Returns the email address of the registrant or null.

getFirstName() : String

Returns the first name of the registrant or null.

getLastName() : String

Returns the last name of the registrant or null.

getRole() : String

Returns the role of the registrant or null.

setEmail(email : String) : void

Sets the email address of the registrant.

setFirstName(firstName : String) : void

Sets the first name of the registrant.

setLastName(lastName : String) : void

Sets the last name of the registrant.

setRole(role : String) : void

Sets the role of the registrant.

Methods inherited from class ExtensibleObject

describe, getCustom

Methods inherited from class PersistentObject

getCreationDate, getLastModified, getUUID

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getEmail

getEmail() : String

Returns the email address of the registrant or null.

Returns:

the email address of the registrant or null.

getFirstName

getFirstName() : String

Returns the first name of the registrant or null.

Returns:

the first name of the registrant or null.


getLastName

getLastName() : String

Returns the last name of the registrant or null.

Returns:

the last name of the registrant or null.


getRole

getRole() : String

Returns the role of the registrant or null. The role of a registrant can be for example the bride of a bridal couple.

Returns:

the role name of the registrant or null.


setEmail

setEmail(email : String) : void

Sets the email address of the registrant.

Parameters:

email - the email address of the registrant.


setFirstName

setFirstName(firstName : String) : void

Sets the first name of the registrant.

Parameters:

firstName - the first name of the registrant.


setLastName

setLastName(lastName : String) : void

Sets the last name of the registrant.

Parameters:

lastName - the last name of the registrant.


setRole

setRole(role : String) : void

Sets the role of the registrant.

Parameters:

role - the role of the registrant.