Example #1
0
 public function addPayment(Mage_Sales_Model_Quote_Payment $payment)
 {
     $payment->setQuote($this);
     if (!$payment->getId()) {
         $this->getPaymentsCollection()->addItem($payment);
     }
     return $this;
 }