@Entity public class EnergyPlanDetailEntity extends Object implements EnergyPlanDetail
EnergyPlan.CustomerTypeEnum, EnergyPlan.FuelTypeEnum, EnergyPlan.TypeEnum| Constructor and Description |
|---|
EnergyPlanDetailEntity() |
| Modifier and Type | Method and Description |
|---|---|
EnergyPlanDetail |
addMeteringChargesItem(MeteringCharges meteringChargesItem) |
EnergyPlanDetailEntity |
electricityContract(EnergyPlanContractFull electricityContract) |
boolean |
equals(Object o) |
EnergyPlanDetailEntity |
gasContract(EnergyPlanContractFull gasContract) |
@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.
|
@Valid EnergyPlanContractFull |
getElectricityContract()
Get electricityContract
|
@NotNull EnergyPlan.FuelTypeEnum |
getFuelType()
The fuel types covered by the plan
|
@Valid EnergyPlanContractFull |
getGasContract()
Get gasContract
|
@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)
|
@Valid List<MeteringCharges> |
getMeteringCharges()
Charges for metering included in the plan
|
@NotNull String |
getPlanId()
The ID of the specific plan
|
@NotNull EnergyPlan.TypeEnum |
getType()
The type of the plan
|
int |
hashCode() |
EnergyPlanDetail |
meteringCharges(List<MeteringCharges> meteringCharges) |
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 |
setElectricityContract(EnergyPlanContractFull electricityContract) |
void |
setFuelType(EnergyPlan.FuelTypeEnum fuelType) |
void |
setGasContract(EnergyPlanContractFull gasContract) |
void |
setGeography(EnergyPlanGeography geography) |
void |
setLastUpdated(java.time.OffsetDateTime lastUpdated) |
void |
setMeteringCharges(List<MeteringCharges> meteringCharges) |
void |
setPlanId(String planId) |
void |
setType(EnergyPlan.TypeEnum type) |
protected void |
toStringFields(StringBuilder sb) |
@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 EnergyPlanpublic EnergyPlanDetail meteringCharges(List<MeteringCharges> meteringCharges)
public EnergyPlanDetail addMeteringChargesItem(MeteringCharges meteringChargesItem)
@Valid public @Valid List<MeteringCharges> getMeteringCharges()
getMeteringCharges in interface EnergyPlanDetailpublic void setMeteringCharges(List<MeteringCharges> meteringCharges)
setMeteringCharges in interface EnergyPlanDetailpublic EnergyPlanDetailEntity gasContract(EnergyPlanContractFull gasContract)
@Valid public @Valid EnergyPlanContractFull getGasContract()
getGasContract in interface EnergyPlanDetailpublic void setGasContract(EnergyPlanContractFull gasContract)
setGasContract in interface EnergyPlanDetailpublic EnergyPlanDetailEntity electricityContract(EnergyPlanContractFull electricityContract)
@Valid public @Valid EnergyPlanContractFull getElectricityContract()
getElectricityContract in interface EnergyPlanDetailpublic void setElectricityContract(EnergyPlanContractFull electricityContract)
setElectricityContract in interface EnergyPlanDetailprotected void toStringFields(StringBuilder sb)
Copyright © 2023. All rights reserved.