public class ResellerAccountBuilder extends Object
| Constructor and Description |
|---|
ResellerAccountBuilder()
Default constructor to initialize the instance
|
| Modifier and Type | Method and Description |
|---|---|
ResellerAccountBuilder |
accountName(String accountName)
Account name (usually company name)
|
ResellerAccount |
build()
Build the instance with the given values
|
ResellerAccountBuilder |
country(String country)
Country of account holder
|
ResellerAccountBuilder |
password(String password)
Account password (unhashed)
|
ResellerAccountBuilder |
userEmail(String userEmail)
Account email
|
ResellerAccountBuilder |
userFirstName(String userFirstName)
Account owner first name
|
ResellerAccountBuilder |
userLastName(String userLastName)
Account owner last name
|
ResellerAccountBuilder |
username(String username)
Account username
|
ResellerAccountBuilder |
userPhone(String userPhone)
Account phone number
|
public ResellerAccountBuilder()
public ResellerAccountBuilder username(String username)
public ResellerAccountBuilder password(String password)
public ResellerAccountBuilder userEmail(String userEmail)
public ResellerAccountBuilder userPhone(String userPhone)
public ResellerAccountBuilder userFirstName(String userFirstName)
public ResellerAccountBuilder userLastName(String userLastName)
public ResellerAccountBuilder accountName(String accountName)
public ResellerAccountBuilder country(String country)
public ResellerAccount build()
Copyright © 2017. All rights reserved.