Interface OfferingsApi

  • All Implemented Interfaces:

    
    public interface OfferingsApi
    
                        

    Interface representing an API for interacting with TBDex offerings.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Offering getOffering(String id) Retrieves the offering with the specified ID.
      abstract List<Offering> getOfferings() Retrieves a list of offerings based on the provided filter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getOffering

         abstract Offering getOffering(String id)

        Retrieves the offering with the specified ID.

        Parameters:
        id - The ID of the offering to retrieve.
        Returns:

        The Offering with the specified ID.

      • getOfferings

         abstract List<Offering> getOfferings()

        Retrieves a list of offerings based on the provided filter.

        Returns:

        A list of Offering objects matching the filter.