@Entity public class EnergyPlanEntity extends Object implements EnergyPlan
EnergyPlan.CustomerTypeEnum, EnergyPlan.FuelTypeEnum, EnergyPlan.TypeEnum| Constructor and Description |
|---|
EnergyPlanEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
@Valid EnergyPlanAdditionalInformation |
getAdditionalInformation()
Get additionalInformation
|
String |
getApplicationUri()
A link to an application web page where this plan can be applied for
|
@NotNull String |
getBrand()
The ID of the brand under which this plan is offered
|
@NotNull String |
getBrandName()
The display name of the brand under which this plan is offered
|
EnergyPlan.CustomerTypeEnum |
getCustomerType()
The type of customer that the plan is offered to.
|
String |
getDescription()
A description of the plan
|
String |
getDisplayName()
The display name of the plan
|
java.time.OffsetDateTime |
getEffectiveFrom()
The date and time from which this plan is effective (ie.
|
java.time.OffsetDateTime |
getEffectiveTo()
The date and time at which this plan will be retired and will no longer be offered.
|
@NotNull EnergyPlan.FuelTypeEnum |
getFuelType()
The fuel types covered by the plan
|
@Valid EnergyPlanGeography |
getGeography()
Get geography
|
@NotNull java.time.OffsetDateTime |
getLastUpdated()
The last date and time that the information for this plan was changed (or the creation date for the plan if it has never been altered)
|
@NotNull String |
getPlanId()
The ID of the specific plan
|
@NotNull EnergyPlan.TypeEnum |
getType()
The type of the plan
|
int |
hashCode() |
void |
setAdditionalInformation(EnergyPlanAdditionalInformation additionalInformation) |
void |
setApplicationUri(String applicationUri) |
void |
setBrand(String brand) |
void |
setBrandName(String brandName) |
void |
setCustomerType(EnergyPlan.CustomerTypeEnum customerType) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setEffectiveFrom(java.time.OffsetDateTime effectiveFrom) |
void |
setEffectiveTo(java.time.OffsetDateTime effectiveTo) |
void |
setFuelType(EnergyPlan.FuelTypeEnum fuelType) |
void |
setGeography(EnergyPlanGeography geography) |
void |
setLastUpdated(java.time.OffsetDateTime lastUpdated) |
void |
setPlanId(String planId) |
void |
setType(EnergyPlan.TypeEnum type) |
String |
toString() |
@NotNull public @NotNull String getPlanId()
getPlanId in interface EnergyPlanpublic void setPlanId(String planId)
setPlanId in interface EnergyPlanpublic java.time.OffsetDateTime getEffectiveFrom()
getEffectiveFrom in interface EnergyPlanpublic void setEffectiveFrom(java.time.OffsetDateTime effectiveFrom)
setEffectiveFrom in interface EnergyPlanpublic java.time.OffsetDateTime getEffectiveTo()
getEffectiveTo in interface EnergyPlanpublic void setEffectiveTo(java.time.OffsetDateTime effectiveTo)
setEffectiveTo in interface EnergyPlan@NotNull public @NotNull java.time.OffsetDateTime getLastUpdated()
getLastUpdated in interface EnergyPlanpublic void setLastUpdated(java.time.OffsetDateTime lastUpdated)
setLastUpdated in interface EnergyPlanpublic String getDisplayName()
getDisplayName in interface EnergyPlanpublic void setDisplayName(String displayName)
setDisplayName in interface EnergyPlanpublic String getDescription()
getDescription in interface EnergyPlanpublic void setDescription(String description)
setDescription in interface EnergyPlan@NotNull public @NotNull EnergyPlan.TypeEnum getType()
getType in interface EnergyPlanpublic void setType(EnergyPlan.TypeEnum type)
setType in interface EnergyPlan@NotNull public @NotNull EnergyPlan.FuelTypeEnum getFuelType()
getFuelType in interface EnergyPlanpublic void setFuelType(EnergyPlan.FuelTypeEnum fuelType)
setFuelType in interface EnergyPlan@NotNull public @NotNull String getBrand()
getBrand in interface EnergyPlanpublic void setBrand(String brand)
setBrand in interface EnergyPlan@NotNull public @NotNull String getBrandName()
getBrandName in interface EnergyPlanpublic void setBrandName(String brandName)
setBrandName in interface EnergyPlanpublic String getApplicationUri()
getApplicationUri in interface EnergyPlanpublic void setApplicationUri(String applicationUri)
setApplicationUri in interface EnergyPlan@Valid public @Valid EnergyPlanAdditionalInformation getAdditionalInformation()
getAdditionalInformation in interface EnergyPlanpublic void setAdditionalInformation(EnergyPlanAdditionalInformation additionalInformation)
setAdditionalInformation in interface EnergyPlanpublic EnergyPlan.CustomerTypeEnum getCustomerType()
getCustomerType in interface EnergyPlanpublic void setCustomerType(EnergyPlan.CustomerTypeEnum customerType)
setCustomerType in interface EnergyPlan@Valid public @Valid EnergyPlanGeography getGeography()
getGeography in interface EnergyPlanpublic void setGeography(EnergyPlanGeography geography)
setGeography in interface EnergyPlanCopyright © 2023. All rights reserved.