Exemplo n.º 1
0
 public function updateGatewayProduct($id, $productId)
 {
     if (!mb_strlen($productId)) {
         return false;
     }
     $product = $this->billingGatewayProductDao->findById($id);
     if ($product) {
         $product->productId = $productId;
         $this->billingGatewayProductDao->save($product);
         return true;
     }
     return false;
 }