public class AccountMemberBuilder extends Object
Modifier and Type | Method and Description |
---|---|
AccountMember |
build()
Build the actual SenderInfo with the specified values
|
static AccountMemberBuilder |
newAccountMember(String email)
Creates a new AccountMember with a unique email address
|
AccountMemberBuilder |
withAddress(Address address)
Set the member's street address.
|
AccountMemberBuilder |
withAddress(AddressBuilder builder)
Set the member's street address.
|
AccountMemberBuilder |
withCompany(String company)
Set the member's company.
|
AccountMemberBuilder |
withFirstName(String firstName)
Set the member's first name.
|
AccountMemberBuilder |
withLanguage(String language)
Set the member's preferred language to be used in email communications and the web UI interface.
|
AccountMemberBuilder |
withLastName(String lastName)
Set the member's last name
|
AccountMemberBuilder |
withPhoneNumber(String phoneNumber)
Set the member's phone number
|
AccountMemberBuilder |
withStatus(SenderStatus status) |
AccountMemberBuilder |
withTitle(String title)
Set the member's title.
|
public static AccountMemberBuilder newAccountMember(String email)
email
- the new member's email address (max 255, valid email address)public AccountMemberBuilder withCompany(String company)
company
- (max 255, any characters)public AccountMemberBuilder withFirstName(String firstName)
firstName
- (max 100, any characters)public AccountMemberBuilder withLastName(String lastName)
lastName
- (max 100, any characters)public AccountMemberBuilder withLanguage(String language)
language
- The two-letter abbreviation for the language (ie. "en", "fr", "de", etc.);public AccountMemberBuilder withPhoneNumber(String phoneNumber)
phoneNumber
- (max 40, any characters)public AccountMemberBuilder withTitle(String title)
E.g.: Mr. Ms. Mrs. etc...
title
- (max 64, any characters)public AccountMemberBuilder withAddress(AddressBuilder builder)
builder
- public AccountMemberBuilder withAddress(Address address)
address
- withAddress(AddressBuilder)
public AccountMemberBuilder withStatus(SenderStatus status)
public AccountMember build()
Copyright 2014, Silanis Technology, Inc. All rights reserved.