code: public String get_attribute(Map<String, String> data) {
          String type = data.get("type");
          return get("attribute/" + type, EMPTY_STRING);
      }
docs: /*
  Access the specific type of attribute information.
  @param {Object} data contains json objects as a key value pair from HashMap.
  @options data {String} type: Type of attribute. Possible values – normal, transactional, category, calculated & global [Optional]