Skip to content

Commit

Permalink
Merge pull request #82 from thelia-modules/fix-version
Browse files Browse the repository at this point in the history
Added description field to delivery options model
  • Loading branch information
roadster31 authored Jan 26, 2024
2 parents efd1cf0 + 56c5293 commit 0973c5c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<language>en_US</language>
<language>fr_FR</language>
</languages>
<version>2.2.9</version>
<version>2.2.10</version>
<authors>
<author>
<name>Vincent Lopes-Vicente</name>
Expand Down
28 changes: 28 additions & 0 deletions Model/Api/DeliveryModuleOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ class DeliveryModuleOption extends BaseApiModel
*/
protected $title;

/**
* @var string
* @OA\Property(
* type="string",
* )
*/
protected $description;

/**
* @var string
* @OA\Property(
Expand Down Expand Up @@ -153,6 +161,26 @@ public function setTitle($title)
return $this;
}

/**
* @return string
*/
public function getDescription()
{
return $this->description;
}

/**
* @param string $description
*
* @return DeliveryModuleOption
*/
public function setDescription($description)
{
$this->description = $description;

return $this;
}

/**
* @return string
*/
Expand Down

0 comments on commit 0973c5c

Please sign in to comment.