actionType = $actionType; } /** * @return string */ public function getActionType() { return $this->actionType; } /** * @param string */ public function setEcommerceType($ecommerceType) { $this->ecommerceType = $ecommerceType; } /** * @return string */ public function getEcommerceType() { return $this->ecommerceType; } /** * @param ProductData[] */ public function setProducts($products) { $this->products = $products; } /** * @return ProductData[] */ public function getProducts() { return $this->products; } /** * @param TransactionData */ public function setTransaction(TransactionData $transaction) { $this->transaction = $transaction; } /** * @return TransactionData */ public function getTransaction() { return $this->transaction; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EcommerceData::class, 'Google_Service_AnalyticsReporting_EcommerceData');