@Entity public class EnergyAccountV2 extends Object implements EnergyAccountBaseV2
EnergyAccountBaseV2.OpenStatus| Constructor and Description |
|---|
EnergyAccountV2() |
| Modifier and Type | Method and Description |
|---|---|
EnergyAccountV2 |
accountId(String accountId) |
EnergyAccountV2 |
accountNumber(String accountNumber) |
EnergyAccountV2 |
addPlansItem(EnergyAccountPlans plansItem) |
EnergyAccountV2 |
creationDate(java.time.LocalDate creationDate) |
EnergyAccountV2 |
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.
|
EnergyAccountBaseV2.OpenStatus |
getOpenStatus()
Used to filter results according to open/closed status.
|
@NotNull @Valid List<EnergyAccountPlans> |
getPlans()
The array of plans containing service points and associated plan details
|
int |
hashCode() |
EnergyAccountV2 |
plans(List<EnergyAccountPlans> plans) |
void |
setAccountId(String accountId) |
void |
setAccountNumber(String accountNumber) |
void |
setCreationDate(java.time.LocalDate creationDate) |
void |
setDisplayName(String displayName) |
void |
setOpenStatus(EnergyAccountBaseV2.OpenStatus openStatus) |
void |
setPlans(List<EnergyAccountPlans> plans) |
String |
toString() |
public EnergyAccountV2 accountId(String accountId)
@NotNull public @NotNull String getAccountId()
getAccountId in interface EnergyAccountBasepublic void setAccountId(String accountId)
setAccountId in interface EnergyAccountBasepublic EnergyAccountV2 accountNumber(String accountNumber)
public String getAccountNumber()
getAccountNumber in interface EnergyAccountBasepublic void setAccountNumber(String accountNumber)
setAccountNumber in interface EnergyAccountBasepublic EnergyAccountV2 displayName(String displayName)
public String getDisplayName()
getDisplayName in interface EnergyAccountBasepublic void setDisplayName(String displayName)
setDisplayName in interface EnergyAccountBasepublic EnergyAccountV2 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 EnergyAccountV2 plans(List<EnergyAccountPlans> plans)
public EnergyAccountV2 addPlansItem(EnergyAccountPlans plansItem)
@NotNull @Valid public @NotNull @Valid List<EnergyAccountPlans> getPlans()
public void setPlans(List<EnergyAccountPlans> plans)
public EnergyAccountBaseV2.OpenStatus getOpenStatus()
EnergyAccountBaseV2getOpenStatus in interface EnergyAccountBaseV2public void setOpenStatus(EnergyAccountBaseV2.OpenStatus openStatus)
setOpenStatus in interface EnergyAccountBaseV2Copyright © 2023. All rights reserved.