public class Registration.EditableRegistration extends Object
Registration.| Modifier and Type | Method and Description |
|---|---|
Registration.EditableRegistration |
addContact(String contact)
Adds a new Contact to the registration.
|
Registration.EditableRegistration |
addContact(URI contact)
Adds a new Contact to the registration.
|
void |
commit()
Commits the changes and updates the account.
|
List<URI> |
getContacts()
Returns the list of all contact URIs for modification.
|
Registration.EditableRegistration |
setAgreement(URI agreement)
Sets a new agreement URI.
|
public List<URI> getContacts()
List
methods to modify the contact list.public Registration.EditableRegistration addContact(URI contact)
contact - Contact URIpublic Registration.EditableRegistration addContact(String contact)
This is a convenience call for addContact(URI).
contact - Contact URI as stringpublic Registration.EditableRegistration setAgreement(URI agreement)
agreement - New agreement URIpublic void commit() throws AcmeException
AcmeExceptionCopyright © 2015–2019. All rights reserved.