## Package: dw.customer

# Class ProductListRegistrant

## Inheritance Hierarchy

- Object
  - dw.object.PersistentObject
  - dw.object.ExtensibleObject
    - dw.customer.ProductListRegistrant

## Description

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

**Type:** String

The email address of the registrant or null.

### firstName

**Type:** String

The first name of the registrant or null.

### lastName

**Type:** String

The last name of the registrant or null.

### role

**Type:** 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

## Method Summary

### getEmail

**Signature:** `getEmail() : String`

Returns the email address of the registrant or null.

### getFirstName

**Signature:** `getFirstName() : String`

Returns the first name of the registrant or null.

### getLastName

**Signature:** `getLastName() : String`

Returns the last name of the registrant or null.

### getRole

**Signature:** `getRole() : String`

Returns the role of the registrant or null.

### setEmail

**Signature:** `setEmail(email : String) : void`

Sets the email address of the registrant.

### setFirstName

**Signature:** `setFirstName(firstName : String) : void`

Sets the first name of the registrant.

### setLastName

**Signature:** `setLastName(lastName : String) : void`

Sets the last name of the registrant.

### setRole

**Signature:** `setRole(role : String) : void`

Sets the role of the registrant.

## Method Detail

## Method Details

### getEmail

**Signature:** `getEmail() : String`

**Description:** Returns the email address of the registrant or null.

**Returns:**

the email address of the registrant or null.

---

### getFirstName

**Signature:** `getFirstName() : String`

**Description:** Returns the first name of the registrant or null.

**Returns:**

the first name of the registrant or null.

---

### getLastName

**Signature:** `getLastName() : String`

**Description:** Returns the last name of the registrant or null.

**Returns:**

the last name of the registrant or null.

---

### getRole

**Signature:** `getRole() : String`

**Description:** 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

**Signature:** `setEmail(email : String) : void`

**Description:** Sets the email address of the registrant.

**Parameters:**

- `email`: the email address of the registrant.

---

### setFirstName

**Signature:** `setFirstName(firstName : String) : void`

**Description:** Sets the first name of the registrant.

**Parameters:**

- `firstName`: the first name of the registrant.

---

### setLastName

**Signature:** `setLastName(lastName : String) : void`

**Description:** Sets the last name of the registrant.

**Parameters:**

- `lastName`: the last name of the registrant.

---

### setRole

**Signature:** `setRole(role : String) : void`

**Description:** Sets the role of the registrant.

**Parameters:**

- `role`: the role of the registrant.

---