Interface EnedisAccountingPointDataApi

All Known Implementing Classes:
EnedisApiClient

public interface EnedisAccountingPointDataApi
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<UsagePointGeneralData>
    getAddress(String usagePointId)
    Retrieves the general data (installation address) of a usage point.
    reactor.core.publisher.Mono<List<ContractualSituation>>
    getContract(String usagePointId)
    Retrieves the contractual situations of a usage point, including the contracts, the customer identity and the customer contact data.
  • Method Details

    • getContract

      reactor.core.publisher.Mono<List<ContractualSituation>> getContract(String usagePointId)
      Retrieves the contractual situations of a usage point, including the contracts, the customer identity and the customer contact data. The API returns an array, so a usage point can carry more than one situation (for instance consumption and production).
      Parameters:
      usagePointId - The unique identifier for the usage point. Must not be null or empty.
      Returns:
      A Mono that emits the ContractualSituation list for the specified usage point or an error
    • getAddress

      reactor.core.publisher.Mono<UsagePointGeneralData> getAddress(String usagePointId)
      Retrieves the general data (installation address) of a usage point.
      Parameters:
      usagePointId - The unique identifier for the usage point. Must not be null or empty.
      Returns:
      A Mono that emits the UsagePointGeneralData for the specified usage point or an error