<?php
namespace Cms\DomainBundle\Entity\Embeddables;
use Doctrine\ORM\Mapping as ORM;
/**
* Class LetsEncryptCertificateStateEmbeddable
* @package Cms\DomainBundle\Entity\Embeddables
*
* @ORM\Embeddable
*/
class LetsEncryptCertificateStateEmbeddable
{
/**
* Stored Let's Encrypt challenge type.
* Currently, only "http-01" is supported.
*
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = true
* )
*/
protected $challenge;
/**
* Stored challenge token for Let's Encrypt verification process.
*
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = true
* )
*/
protected $token;
/**
* Stored payload for Let's Encrypt verification process.
*
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = true
* )
*/
protected $payload;
/**
* @return string
*/
public function getChallenge()
{
return $this->challenge;
}
/**
* @param string $value
* @return $this
*/
public function setChallenge($value)
{
$this->challenge = $value;
return $this;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* @param string $value
* @return $this
*/
public function setToken($value)
{
$this->token = $value;
return $this;
}
/**
* @return string
*/
public function getPayload()
{
return $this->payload;
}
/**
* @param string $value
* @return $this
*/
public function setPayload($value)
{
$this->payload = $value;
return $this;
}
}