public class Contact extends Object
Constructor and Description |
---|
Contact() |
Modifier and Type | Method and Description |
---|---|
Address |
addressMailing()
Get mailing address.
|
String |
email()
Get email address.
|
String |
fax()
Get fax number.
|
String |
jobTitle()
Get job title.
|
String |
nameFirst()
Get first name.
|
String |
nameLast()
Get last name.
|
String |
nameMiddle()
Get middle name.
|
String |
organization()
Get organization contact belongs to.
|
String |
phone()
Get phone number.
|
Contact |
withAddressMailing(Address addressMailing)
Set mailing address.
|
Contact |
withEmail(String email)
Set email address.
|
Contact |
withFax(String fax)
Set fax number.
|
Contact |
withJobTitle(String jobTitle)
Set job title.
|
Contact |
withNameFirst(String nameFirst)
Set first name.
|
Contact |
withNameLast(String nameLast)
Set last name.
|
Contact |
withNameMiddle(String nameMiddle)
Set middle name.
|
Contact |
withOrganization(String organization)
Set organization contact belongs to.
|
Contact |
withPhone(String phone)
Set phone number.
|
public Address addressMailing()
public Contact withAddressMailing(Address addressMailing)
addressMailing
- the addressMailing value to setpublic String email()
public Contact withEmail(String email)
email
- the email value to setpublic String fax()
public Contact withFax(String fax)
fax
- the fax value to setpublic String jobTitle()
public Contact withJobTitle(String jobTitle)
jobTitle
- the jobTitle value to setpublic String nameFirst()
public Contact withNameFirst(String nameFirst)
nameFirst
- the nameFirst value to setpublic String nameLast()
public Contact withNameLast(String nameLast)
nameLast
- the nameLast value to setpublic String nameMiddle()
public Contact withNameMiddle(String nameMiddle)
nameMiddle
- the nameMiddle value to setpublic String organization()
public Contact withOrganization(String organization)
organization
- the organization value to setpublic String phone()
Copyright © 2019. All rights reserved.