Skip to content

Commit 3b4d385

Browse files
committed
Updated Auto Generated Code
1 parent f31bb64 commit 3b4d385

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/Requests/ProductRequest.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function jsonSerialize()
2323
"taxable" => $this->getTaxable(),
2424
"taxGroupFid" => $this->getTaxGroupFid(),
2525
"maxQuantity" => $this->getMaxQuantity(),
26+
"allowQuantity" => $this->isAllowQuantity(),
2627
]
2728
);
2829
}
@@ -133,6 +134,16 @@ public function getMaxQuantity($default = null, $trim = true)
133134
return $trim ? Strings::ntrim($value) : $value;
134135
}
135136

137+
/**
138+
* @param bool $default
139+
*
140+
* @return boolean
141+
*/
142+
public function isAllowQuantity($default = false)
143+
{
144+
return Objects::property($this->_getResultJson(), 'allowQuantity', $default);
145+
}
146+
136147
protected function _prepareResult($result)
137148
{
138149
$return = parent::_prepareResult($result);

swagger.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2357,6 +2357,8 @@ definitions:
23572357
type: string
23582358
maxQuantity:
23592359
type: string
2360+
allowQuantity:
2361+
type: boolean
23602362

23612363
ProductPrices:
23622364
properties:

0 commit comments

Comments
 (0)