EnergyBillV1Document
extends Prediction
in package
Energy Bill API version 1.0 document data.
Table of Contents
Properties
- $contractId : StringField
- $deliveryPoint : StringField
- $dueDate : DateField
- $energyConsumer : EnergyBillV1EnergyConsumer
- $energySupplier : EnergyBillV1EnergySupplier
- $energyUsage : EnergyBillV1EnergyUsages
- $invoiceDate : DateField
- $invoiceNumber : StringField
- $meterDetails : EnergyBillV1MeterDetail
- $subscription : EnergyBillV1Subscriptions
- $taxesAndContributions : EnergyBillV1TaxesAndContributions
- $totalAmount : AmountField
- $totalBeforeTaxes : AmountField
- $totalTaxes : AmountField
Methods
- __construct() : mixed
- __toString() : string
Properties
$contractId
public
StringField
$contractId
The unique identifier associated with a specific contract.
$deliveryPoint
public
StringField
$deliveryPoint
The unique identifier assigned to each electricity or gas consumption point. It specifies the exact location where the energy is delivered.
$dueDate
public
DateField
$dueDate
The date by which the payment for the energy invoice is due.
$energyConsumer
public
EnergyBillV1EnergyConsumer
$energyConsumer
The entity that consumes the energy.
$energySupplier
public
EnergyBillV1EnergySupplier
$energySupplier
The company that supplies the energy.
$energyUsage
public
EnergyBillV1EnergyUsages
$energyUsage
Details of energy consumption.
$invoiceDate
public
DateField
$invoiceDate
The date when the energy invoice was issued.
$invoiceNumber
public
StringField
$invoiceNumber
The unique identifier of the energy invoice.
$meterDetails
public
EnergyBillV1MeterDetail
$meterDetails
Information about the energy meter.
$subscription
public
EnergyBillV1Subscriptions
$subscription
The subscription details fee for the energy service.
$taxesAndContributions
public
EnergyBillV1TaxesAndContributions
$taxesAndContributions
Details of Taxes and Contributions.
$totalAmount
public
AmountField
$totalAmount
The total amount to be paid for the energy invoice.
$totalBeforeTaxes
public
AmountField
$totalBeforeTaxes
The total amount to be paid for the energy invoice before taxes.
$totalTaxes
public
AmountField
$totalTaxes
Total of taxes applied to the invoice.
Methods
__construct()
public
__construct(array<string|int, mixed> $rawPrediction[, int|null $pageId = null ]) : mixed
Parameters
- $rawPrediction : array<string|int, mixed>
-
Raw prediction from HTTP response.
- $pageId : int|null = null
-
Page number for multi pages document.
Tags
__toString()
public
__toString() : string
Return values
string —String representation.