for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHP version 5.4 and 8
*
* @category MessageEntity
* @package Payever\Products
* @author payever GmbH <[email protected]>
* @author Hennadii.Shymanskyi <[email protected]>
* @copyright 2017-2021 payever GmbH
* @license MIT <https://opensource.org/licenses/MIT>
* @link https://docs.payever.org/shopsystems/api/getting-started
*/
namespace Payever\ExternalIntegration\Products\Http\MessageEntity;
use Payever\ExternalIntegration\Core\Base\MessageEntity;
* @method string getName()
* @method string getValue()
* @method self setName(string $name)
* @method self setValue(string $value)
class ProductVariantOptionEntity extends MessageEntity
{
/** @var string */
protected $name;
protected $value;
* @return string
public function getUnderscoreName()
return strtolower(str_replace(' ', '_', $this->name));
}