コード例 #1
0
ファイル: billing_service.php プロジェクト: vazahat/dudex
 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;
 }