Example #1
0
 /**
  * Set OrderID
  * 
  * @param string $orderID
  * @return \Icepay_Pbm_Object
  * @throws Exception
  */
 public function setOrderID($orderID)
 {
     if (!Icepay_Parameter_Validation::orderID($orderID)) {
         throw new Exception('The Order ID cannot be longer than 10 characters', 1007);
     }
     $this->orderID = $orderID;
     return $this;
 }