@Entity public class EnergyAccountV1 extends Object implements EnergyAccountBase
| Constructor and Description |
|---|
EnergyAccountV1() |
| Modifier and Type | Method and Description |
|---|---|
EnergyAccountV1 |
accountId(String accountId) |
EnergyAccountV1 |
accountNumber(String accountNumber) |
EnergyAccountV1 |
addPlansItem(EnergyAccountPlans plansItem) |
EnergyAccountV1 |
creationDate(java.time.LocalDate creationDate) |
EnergyAccountV1 |
displayName(String displayName) |
boolean |
equals(Object o) |
@NotNull String |
getAccountId()
The ID of the account.
|
String |
getAccountNumber()
Optional identifier of the account as defined by the data holder.
|
@NotNull java.time.LocalDate |
getCreationDate()
The date that the account was created or opened
|
String |
getDisplayName()
An optional display name for the account if one exists or can be derived.
|
@NotNull @Valid List<EnergyAccountPlans> |
getPlans()
The array of plans containing service points and associated plan details
|
int |
hashCode() |
EnergyAccountV1 |
plans(List<EnergyAccountPlans> plans) |
void |
setAccountId(String accountId) |
void |
setAccountNumber(String accountNumber) |
void |
setCreationDate(java.time.LocalDate creationDate) |
void |
setDisplayName(String displayName) |
void |
setPlans(List<EnergyAccountPlans> plans) |
String |
toString() |
public EnergyAccountV1 accountId(String accountId)
@NotNull public @NotNull String getAccountId()
getAccountId in interface EnergyAccountBasepublic void setAccountId(String accountId)
setAccountId in interface EnergyAccountBasepublic EnergyAccountV1 accountNumber(String accountNumber)
public String getAccountNumber()
getAccountNumber in interface EnergyAccountBasepublic void setAccountNumber(String accountNumber)
setAccountNumber in interface EnergyAccountBasepublic EnergyAccountV1 displayName(String displayName)
public String getDisplayName()
getDisplayName in interface EnergyAccountBasepublic void setDisplayName(String displayName)
setDisplayName in interface EnergyAccountBasepublic EnergyAccountV1 creationDate(java.time.LocalDate creationDate)
@NotNull public @NotNull java.time.LocalDate getCreationDate()
getCreationDate in interface EnergyAccountBasepublic void setCreationDate(java.time.LocalDate creationDate)
setCreationDate in interface EnergyAccountBasepublic EnergyAccountV1 plans(List<EnergyAccountPlans> plans)
public EnergyAccountV1 addPlansItem(EnergyAccountPlans plansItem)
@NotNull @Valid public @NotNull @Valid List<EnergyAccountPlans> getPlans()
public void setPlans(List<EnergyAccountPlans> plans)
Copyright © 2023. All rights reserved.