original_string: public static function abort($paymentId, Payplug $payplug = null)
      {
          $payment = Resource\Payment::fromAttributes(array('id' => $paymentId));
      	return $payment->abort($payplug);
      }
code: public static function abort($paymentId, Payplug $payplug = null)
      {
          $payment = Resource\Payment::fromAttributes(array('id' => $paymentId));
      	return $payment->abort($payplug);
      }
code_tokens: public static function abort ( $ paymentId , Payplug $ payplug = null ) { $ payment = Resource \ Payment :: fromAttributes ( array ( 'id' => $ paymentId ) ) ; return $ payment -> abort ( $ payplug ) ; }
docstring: Aborts a Payment.
  
  @param   string                      $paymentId      the payment ID
  @param   Payplug $payplug  the client configuration
  
  @return  null|Resource\Payment the aborted payment or null on error
  
  @throws  Exception\ConfigurationNotSetException
docstring_tokens: Aborts a Payment .