@paysafe/paysafe-wallet-saas-web
    Preparing search index...

    Class FeaturesService

    Service class for managing customer features related operations.

    Hierarchy

    • ApiService
      • FeaturesService
    Index

    Methods

    • Retrieves a list of profile features based on the provided parameters.

      Parameters

      Returns Promise<CustomerFeatureList>

      A Promise that resolves to the retrieved list of profile features.

      if the HTTP request fails.

      featuresService.get({ limit: 10, offset: 1 })
      .then((response) => {
      console.log(response);
      })
      .catch((error) => {
      console.error('Error retrieving profile features.');
      });
    • Function

      Retrieves the singleton instance of the FeaturesService class.

      Returns FeaturesService

      The singleton instance of the FeaturesService class.

      // Usage:
      const featuresService = FeaturesService.getInstance();