code: public BuilderType setOnCancelListener(
              @Nullable final DialogInterface.OnCancelListener listener) {
          getProduct().setOnCancelListener(listener);
          return self();
      }
docs: Sets the listener, which should be notified, when the dialog, which is created by the
  builder, is canceled.
  <p>
  Even in a cancelable dialog, the dialog may be dismissed for reasons other than being
  canceled or one of the supplied choices being selected. If you are interested in listening
  for all cases where the dialog is dismissed and not just when it is canceled, see {@link
  #setOnDismissListener(android.content.DialogInterface.OnDismissListener)
  setOnDismissListener}.
  
  @param listener
  The listener, which should be set, as an instance of the type {@link
  DialogInterface.OnCancelListener}, or null, if no listener should be set
  @return The builder, the method has been called upon, as an instance of the class BuilderType
  @see #setCancelable(boolean)
  @see #setOnDismissListener(android.content.DialogInterface.OnDismissListener)