Skip to content

Commit

Permalink
v2.1.600
Browse files Browse the repository at this point in the history
  • Loading branch information
johnturnham committed Oct 27, 2024
1 parent fa2431a commit d0c0c85
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/Model/SubscriptionProduct.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**title_full** | **string** | |
**category** | **string** | |
**volume** | **float** | | [optional]
**value** | **float** | | [optional]
**features** | [**\OpenAPI\Client\Model\SubscriptionFeature[]**](SubscriptionFeature.md) | |
**pages** | [**\OpenAPI\Client\Model\PortalPage[]**](PortalPage.md) | |
**icon_name** | **string** | |
Expand Down
34 changes: 34 additions & 0 deletions lib/Model/SubscriptionProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class SubscriptionProduct implements ModelInterface, ArrayAccess, \JsonSerializa
'title_full' => 'string',
'category' => 'string',
'volume' => 'float',
'value' => 'float',
'features' => '\OpenAPI\Client\Model\SubscriptionFeature[]',
'pages' => '\OpenAPI\Client\Model\PortalPage[]',
'icon_name' => 'string',
Expand All @@ -84,6 +85,7 @@ class SubscriptionProduct implements ModelInterface, ArrayAccess, \JsonSerializa
'title_full' => null,
'category' => null,
'volume' => 'double',
'value' => 'double',
'features' => null,
'pages' => null,
'icon_name' => null,
Expand All @@ -103,6 +105,7 @@ class SubscriptionProduct implements ModelInterface, ArrayAccess, \JsonSerializa
'title_full' => false,
'category' => false,
'volume' => false,
'value' => false,
'features' => false,
'pages' => false,
'icon_name' => false,
Expand Down Expand Up @@ -202,6 +205,7 @@ public function isNullableSetToNull(string $property): bool
'title_full' => 'titleFull',
'category' => 'category',
'volume' => 'volume',
'value' => 'value',
'features' => 'features',
'pages' => 'pages',
'icon_name' => 'iconName',
Expand All @@ -221,6 +225,7 @@ public function isNullableSetToNull(string $property): bool
'title_full' => 'setTitleFull',
'category' => 'setCategory',
'volume' => 'setVolume',
'value' => 'setValue',
'features' => 'setFeatures',
'pages' => 'setPages',
'icon_name' => 'setIconName',
Expand All @@ -240,6 +245,7 @@ public function isNullableSetToNull(string $property): bool
'title_full' => 'getTitleFull',
'category' => 'getCategory',
'volume' => 'getVolume',
'value' => 'getValue',
'features' => 'getFeatures',
'pages' => 'getPages',
'icon_name' => 'getIconName',
Expand Down Expand Up @@ -310,6 +316,7 @@ public function __construct(array $data = null)
$this->setIfExists('title_full', $data ?? [], null);
$this->setIfExists('category', $data ?? [], null);
$this->setIfExists('volume', $data ?? [], null);
$this->setIfExists('value', $data ?? [], null);
$this->setIfExists('features', $data ?? [], null);
$this->setIfExists('pages', $data ?? [], null);
$this->setIfExists('icon_name', $data ?? [], null);
Expand Down Expand Up @@ -519,6 +526,33 @@ public function setVolume($volume)
return $this;
}

/**
* Gets value
*
* @return float|null
*/
public function getValue()
{
return $this->container['value'];
}

/**
* Sets value
*
* @param float|null $value value
*
* @return self
*/
public function setValue($value)
{
if (is_null($value)) {
throw new \InvalidArgumentException('non-nullable value cannot be null');
}
$this->container['value'] = $value;

return $this;
}

/**
* Gets features
*
Expand Down

0 comments on commit d0c0c85

Please sign in to comment.