From 3429f3618a48fb5718fc5b0edab15804e9a4ecf8 Mon Sep 17 00:00:00 2001 From: Liang Date: Wed, 22 Jan 2020 03:59:32 +0000 Subject: [PATCH] Add Item.InitTierVariation() and Item.GetRecommendCats() --- .../Item/Parameters/GetRecommendCats.php | 28 +++++++++++++++++++ .../Item/Parameters/InitTierVariation.php | 20 +++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 src/Nodes/Item/Parameters/GetRecommendCats.php create mode 100644 src/Nodes/Item/Parameters/InitTierVariation.php diff --git a/src/Nodes/Item/Parameters/GetRecommendCats.php b/src/Nodes/Item/Parameters/GetRecommendCats.php new file mode 100644 index 0000000..7378d00 --- /dev/null +++ b/src/Nodes/Item/Parameters/GetRecommendCats.php @@ -0,0 +1,28 @@ +parameters['name']; + } + + /** + * Name of the item in local language. + * + * @param string $name + * @return $this + */ + public function setName(string $name) + { + $this->parameters['name'] = $name; + + return $this; + } +} diff --git a/src/Nodes/Item/Parameters/InitTierVariation.php b/src/Nodes/Item/Parameters/InitTierVariation.php new file mode 100644 index 0000000..a2567e3 --- /dev/null +++ b/src/Nodes/Item/Parameters/InitTierVariation.php @@ -0,0 +1,20 @@ +parameters['tier_variation']; + } + + public function getVariation() + { + return $this->parameters['variation']; + } +}