public final class CustomerName extends Base
Modifier and Type | Method and Description |
---|---|
String |
getFirstName() |
String |
getLastName() |
String |
getMiddleName() |
String |
getTitle() |
static CustomerName |
of(String title,
String firstName,
String middleName,
String lastName) |
static CustomerName |
ofFirstAndLastName(String firstName,
String lastName) |
static CustomerName |
ofTitleFirstAndLastName(String title,
String firstName,
String lastName) |
CustomerName |
withMiddleName(String middleName) |
CustomerName |
withTitle(String title) |
public CustomerName withTitle(@Nullable String title)
public CustomerName withMiddleName(@Nullable String middleName)
public static CustomerName ofFirstAndLastName(@Nullable String firstName, @Nullable String lastName)
public static CustomerName ofTitleFirstAndLastName(@Nullable String title, @Nullable String firstName, @Nullable String lastName)