code: @Deprecated
      @SuppressWarnings("deprecation")
      public void push(String eventName, HashMap<String, Object> chargeDetails,
                       ArrayList<HashMap<String, Object>> items)
              throws InvalidEventNameException {
          // This method is for only charged events
          if (!eventName.equals(Constants.CHARGED_EVENT)) {
              throw new InvalidEventNameException("Not a charged event");
          }
          CleverTapAPI cleverTapAPI = weakReference.get();
          if(cleverTapAPI == null){
              Logger.d("CleverTap Instance is null.");
          } else {
              cleverTapAPI.pushChargedEvent(chargeDetails, items);
          }
      }
docs: Push an event which describes a purchase made.
  
  @param eventName     Has to be specified as "Charged". Anything other than this
  will result in an {@link InvalidEventNameException} being thrown.
  @param chargeDetails A {@link HashMap}, with keys as strings, and values as {@link String},
  {@link Integer}, {@link Long}, {@link Boolean}, {@link Float}, {@link Double},
  {@link java.util.Date}, or {@link Character}
  @param items         An {@link ArrayList} which contains up to 15 {@link HashMap} objects,
  where each HashMap object describes a particular item purchased
  @throws InvalidEventNameException Thrown if the event name is not "Charged"
  @deprecated use {@link CleverTapAPI#pushChargedEvent(HashMap chargeDetails, ArrayList items)}