Class PricesAndConsumptionCPICPIFCTClient


  • public class PricesAndConsumptionCPICPIFCTClient
    extends AbstractClient

    Client which handles prices and consumption Consumer Price Index (CPI) with fixed interest rate and at constant taxes (CPIF-CT) data fetching.

    Since:
    0.4.0
    • Constructor Detail

      • PricesAndConsumptionCPICPIFCTClient

        public PricesAndConsumptionCPICPIFCTClient()

        Default constructor.

      • PricesAndConsumptionCPICPIFCTClient

        public PricesAndConsumptionCPICPIFCTClient​(Locale locale)

        Overloaded constructor.

        Parameters:
        locale - the Locale for this client
    • Method Detail

      • getFixedInterestRateMonthlyChanges

        public List<ResponseModel> getFixedInterestRateMonthlyChanges​(Collection<String> months)

        Fetch all fixed interest rate and at constant taxes (CPIF-CT) monthly changes data which match the input constraints.

        Parameters:
        months - the months
        Returns:
        the data wrapped in a list of ResponseModel objects
      • getFixedInterestRateAnnualChanges

        public List<ResponseModel> getFixedInterestRateAnnualChanges​(Collection<String> months)

        Fetch all fixed interest rate and at constant taxes (CPIF-CT) annual changes data which match the input constraints.

        Parameters:
        months - the months
        Returns:
        the data wrapped in a list of ResponseModel objects
      • getUrl

        public URLEndpoint getUrl()
        Description copied from class: AbstractClient

        Returns the URL endpoint which this client represents.

        Specified by:
        getUrl in class AbstractClient
        Returns:
        the URL endpoint for this client