code: function (obj) {
        try {
          $bc_$2.IAP.NoticeCenter().remove(_cb);
          if (lodash.isObject(obj)) {
            var info = obj.info;
            var notifyType = obj.notifyType;
  
            if (notifyType === t$.MessageType['ProductsPaymentQueueRestoreCompleted']) {
              successCallback && successCallback(info);
            } else if (t$.MessageType['ProductsPaymentRestoreCompletedTransactionsFailed']) {
              failCallback && failCallback(info, obj);
            }
          }
        } catch (e) {
          console.error(e);
        }
      }
docs: ////////////////////////////////////////////////////////////////////////////