Skip to content

Commit 5086581

Browse files
nrostrow-metaNoah Ostrowski
andauthored
Adding isActiveExtension to API response (#757)
Co-authored-by: Noah Ostrowski <[email protected]>
1 parent 3c35a79 commit 5086581

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

app/code/Meta/BusinessExtension/Api/CoreConfigInterface.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,21 @@ public function isPromotionsSyncEnabled(): bool;
8484
*/
8585
public function setIsPromotionsSyncEnabled(bool $val): void;
8686

87+
/**
88+
* IsActiveExtension Getter
89+
*
90+
* @return bool
91+
*/
92+
public function isActiveExtension(): bool;
93+
94+
/**
95+
* IsActiveExtension Setter
96+
*
97+
* @param bool $val
98+
* @return void
99+
*/
100+
public function setIsActiveExtension(bool $val): void;
101+
87102
/**
88103
* ProductIdentifierAttr Getter
89104
*

app/code/Meta/BusinessExtension/Model/Api/CoreConfig.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,27 @@ public function setIsPromotionsSyncEnabled(bool $val): void
109109
$this->setData('isPromotionsSyncEnabled', $val);
110110
}
111111

112+
/**
113+
* IsActiveExtension Getter
114+
*
115+
* @return bool
116+
*/
117+
public function isActiveExtension(): bool
118+
{
119+
return $this->_getData('isActiveExtension');
120+
}
121+
122+
/**
123+
* IsActiveExtension Setter
124+
*
125+
* @param bool $val
126+
* @return void
127+
*/
128+
public function setIsActiveExtension(bool $val): void
129+
{
130+
$this->setData('isActiveExtension', $val);
131+
}
132+
112133
/**
113134
* ProductIdentifierAttr Getter
114135
*

0 commit comments

Comments
 (0)