mirror of
https://github.com/quentin-g-dev/afup.git
synced 2026-03-25 17:52:13 +01:00
55 lines
893 B
PHP
55 lines
893 B
PHP
<?php
|
|
|
|
namespace AppBundle\Event\Ticket;
|
|
|
|
class Purchase
|
|
{
|
|
/**
|
|
* @var bool
|
|
*/
|
|
private $companyCitation = true;
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
private $newsletterAfup = false;
|
|
|
|
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getCompanyCitation()
|
|
{
|
|
return $this->companyCitation;
|
|
}
|
|
|
|
/**
|
|
* @param bool $companyCitation
|
|
* @return Purchase
|
|
*/
|
|
public function setCompanyCitation($companyCitation)
|
|
{
|
|
$this->companyCitation = $companyCitation;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getNewsletterAfup()
|
|
{
|
|
return $this->newsletterAfup;
|
|
}
|
|
|
|
/**
|
|
* @param bool $newsletterAfup
|
|
* @return Purchase
|
|
*/
|
|
public function setNewsletterAfup($newsletterAfup)
|
|
{
|
|
$this->newsletterAfup = $newsletterAfup;
|
|
return $this;
|
|
}
|
|
}
|