Class AccountResponse
- java.lang.Object
-
- de.trustable.ca3s.core.service.dto.acme.AccountResponse
-
@Immutable public class AccountResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description AccountResponse(AcmeAccount accountDao, org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getContacts()longgetId()StringgetOrders()AccountStatusgetStatus()booleanisTermsAgreed()voidsetContacts(String[] contacts)voidsetId(long id)voidsetOrders(String orders)voidsetStatus(AccountStatus status)voidsetTermsAgreed(boolean termsAgreed)
-
-
-
Constructor Detail
-
AccountResponse
public AccountResponse(AcmeAccount accountDao, org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)
-
-
Method Detail
-
getId
public long getId()
- Returns:
- the id
-
setId
public void setId(long id)
- Parameters:
id- the id to set
-
getStatus
public AccountStatus getStatus()
- Returns:
- the status
-
setStatus
public void setStatus(AccountStatus status)
- Parameters:
status- the status to set
-
getContacts
public String[] getContacts()
- Returns:
- the contacts
-
setContacts
public void setContacts(String[] contacts)
- Parameters:
contacts- the contacts to set
-
isTermsAgreed
public boolean isTermsAgreed()
- Returns:
- the termsAgreed
-
setTermsAgreed
public void setTermsAgreed(boolean termsAgreed)
- Parameters:
termsAgreed- the termsAgreed to set
-
getOrders
public String getOrders()
- Returns:
- the orders
-
setOrders
public void setOrders(String orders)
- Parameters:
orders- the orders to set
-
-