public class AccountBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
Account |
build() |
static AccountBuilder |
newAccount() |
AccountBuilder |
withAccountProviders(AccountProviders accountProviders) |
AccountBuilder |
withAccountProviders(List<Provider> documents,
List<Provider> users) |
AccountBuilder |
withCompany(Company company) |
AccountBuilder |
withCreated(Date created) |
AccountBuilder |
withCustomField(CustomField customField) |
AccountBuilder |
withData(Map<String,Object> data) |
AccountBuilder |
withId(String id) |
AccountBuilder |
withLicense(License license) |
AccountBuilder |
withLogoUrl(String logoUrl) |
AccountBuilder |
withName(String name) |
AccountBuilder |
withOwner(String owner) |
AccountBuilder |
withUpdated(Date updated) |
protected String name
public static AccountBuilder newAccount()
public AccountBuilder withName(String name)
public AccountBuilder withOwner(String owner)
public AccountBuilder withLogoUrl(String logoUrl)
public AccountBuilder withId(String id)
public AccountBuilder withCompany(Company company)
public AccountBuilder withCreated(Date created)
public AccountBuilder withUpdated(Date updated)
public AccountBuilder withCustomField(CustomField customField)
public AccountBuilder withLicense(License license)
public AccountBuilder withAccountProviders(AccountProviders accountProviders)
public AccountBuilder withAccountProviders(List<Provider> documents, List<Provider> users)
public AccountBuilder withData(Map<String,Object> data)
public Account build()
Copyright 2022 OneSpan All rights reserved.