Interface EsPermissionRequest
- All Superinterfaces:
MeterReadingPermissionRequest,PermissionRequest
- All Known Implementing Classes:
DatadisPermissionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe distributor code of the distributor that is responsible for the metering point associated with this permission request.Decide what kind of metering data is requested.The metering point id of the metering point associated with this permission request.nif()The NIF of the customer that requested the permission.This number describes what kind of metering point is associated with this permission request.booleanIn Spain, a metering point always has consumption, but they can additionally have production as well.Methods inherited from interface energy.eddie.api.agnostic.process.model.MeterReadingPermissionRequest
latestMeterReadingEndDateMethods inherited from interface energy.eddie.api.agnostic.process.model.PermissionRequest
connectionId, created, dataNeedId, dataSourceInformation, end, permissionId, start, status
-
Method Details
-
nif
String nif()The NIF of the customer that requested the permission. This is the username which is used to log in to the Datadis portal. -
meteringPointId
String meteringPointId()The metering point id of the metering point associated with this permission request. In DataDis this is called CUPS. -
distributorCode
Optional<DistributorCode> distributorCode()The distributor code of the distributor that is responsible for the metering point associated with this permission request. -
pointType
This number describes what kind of metering point is associated with this permission request. The values range from 1 to 5 and decide what MeasurementType is used supported.Only 1 and 2 support @
MeasurementType.QUARTER_HOURLY.All metering points support @
MeasurementType.HOURLY. -
productionSupport
boolean productionSupport()In Spain, a metering point always has consumption, but they can additionally have production as well.- Returns:
- true if the metering point associated with this permission request supports production data.
-
measurementType
MeasurementType measurementType()Decide what kind of metering data is requested.Either @
MeasurementType.HOURLYor @MeasurementType.QUARTER_HOURLY.Look at@
pointType()to see what is supported. -
allowedGranularity
AllowedGranularity allowedGranularity() -
errorMessage
-
granularity
Granularity granularity()
-