cost = $cost; } public function getCost() { return $this->cost; } public function setCurrencyCode($currencyCode) { $this->currencyCode = $currencyCode; } public function getCurrencyCode() { return $this->currencyCode; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setRevenue($revenue) { $this->revenue = $revenue; } public function getRevenue() { return $this->revenue; } public function setTax($tax) { $this->tax = $tax; } public function getTax() { return $this->tax; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudRetailV2PurchaseTransaction::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2PurchaseTransaction');