@@ -40,49 +40,120 @@ public function getTagId()
4040 /**
4141 * Set tag_id
4242 * @param string $tagId
43- * @return \Lof\ProductTags\Api\Data\TagInterface
43+ * @return $this
4444 */
4545 public function setTagId ($ tagId )
4646 {
4747 return $ this ->setData (self ::TAG_ID , $ tagId );
4848 }
4949
5050 /**
51- * Get tag_name
51+ * Get tag_title
5252 * @return string|null
5353 */
54- public function getTagName ()
54+ public function getTagTitle ()
5555 {
56- return $ this ->_get (self ::TAG_NAME );
56+ return $ this ->_get (self ::TAG_TITLE );
5757 }
5858
5959 /**
60- * Set tag_name
61- * @param string $tagName
60+ * Set tag_title
61+ * @param string $tagTitle
6262 * @return \Lof\ProductTags\Api\Data\TagInterface
6363 */
64- public function setTagName ( $ tagName )
64+ public function setTagTitle ( $ tagTitle )
6565 {
66- return $ this ->setData (self ::TAG_NAME , $ tagName );
66+ return $ this ->setData (self ::TAG_TITLE , $ tagTitle );
6767 }
6868
6969 /**
70- * Retrieve existing extension attributes object or create a new one.
71- * @return \Lof\ProductTags\Api\Data\TagExtensionInterface|null
70+ * Set status
71+ *
72+ * @return bool|null
7273 */
73- public function getExtensionAttributes ()
74- {
75- return $ this ->_getExtensionAttributes ();
74+ public function getStatus (){
75+ return $ this ->_get (self ::TAG_STATUS );
76+ }
77+ /**
78+ * Set status
79+ *
80+ * @param bool|null
81+ * @return $this
82+ */
83+ public function setStatus ($ status ){
84+ return $ this ->setData (self ::TAG_STATUS , $ status );
85+ }
86+
87+ /**
88+ * Set identifier
89+ *
90+ * @return string|null
91+ */
92+ public function getIdentifier (){
93+ return $ this ->_get (self ::TAG_IDENTIFIER );
94+ }
95+ /**
96+ * Set identifier
97+ *
98+ * @param string|null
99+ * @return $this
100+ */
101+ public function setIdentifier ($ identifier ){
102+ return $ this ->setData (self ::TAG_IDENTIFIER , $ identifier );
103+ }
104+
105+ /**
106+ * Set tag_description
107+ *
108+ * @return string|null
109+ */
110+ public function getTagDescription (){
111+ return $ this ->_get (self ::TAG_DESCRIPTION );
112+ }
113+ /**
114+ * Set tag_description
115+ *
116+ * @param string|null
117+ * @return $this
118+ */
119+ public function setTagDescription ($ tagDescription ){
120+ return $ this ->setData (self ::TAG_DESCRIPTION , $ tagDescription );
121+ }
122+
123+ /**
124+ * Set StoreId
125+ *
126+ * @return int|null
127+ */
128+ public function getStoreId (){
129+ return $ this ->_get ("store_id " );
130+ }
131+ /**
132+ * Set storeId
133+ *
134+ * @param int|null
135+ * @return $this
136+ */
137+ public function setStoreId ($ storeId ){
138+ return $ this ->setData ("store_id " , $ storeId );
76139 }
77140
78141 /**
79- * Set an extension attributes object.
80- * @param \Lof\ProductTags\Api\Data\TagExtensionInterface $extensionAttributes
142+ * Set products
143+ *
144+ * @return array|null
145+ */
146+ public function getProducts (){
147+ return $ this ->_get ("products " );
148+ }
149+ /**
150+ * Set products
151+ *
152+ * @param array|null
81153 * @return $this
82154 */
83- public function setExtensionAttributes (
84- \Lof \ProductTags \Api \Data \TagExtensionInterface $ extensionAttributes
85- ) {
86- return $ this ->_setExtensionAttributes ($ extensionAttributes );
155+ public function setProducts ($ products ){
156+ return $ this ->setData ("products " , $ products );
87157 }
158+
88159}
0 commit comments