Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
public static class Builder {
private AccountType accountType;
public Builder accountType(AccountType accountType) {
this.accountType = accountType;
return this;
}
public AccountInfo build() {
AccountInfo temp = new AccountInfo();
temp.accountType = this.accountType;
return temp;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment