*
* Related actions:
*
*
* - TakeAction: Reciprocal of GiveAction.
* - SendAction: Unlike SendAction, GiveAction implies that ownership is being transferred (e.g. I may send my laptop to you, but that doesn't mean I'm giving it to you).
*
* ")
*/
class GiveAction extends TransferAction implements \JsonSerializable
{
/** @var Person|ContactPoint|Organization|Audience|null */
protected $ccRecipient;
/** @var Organization|ContactPoint|Person|Audience|null */
protected $recipient;
/**
* @param Person|ContactPoint|Organization|Audience|null $ccRecipient
*/
public function setCcRecipient($ccRecipient): void
{
$this->ccRecipient = $ccRecipient;
}
/**
* @return Person|ContactPoint|Organization|Audience|null
*/
public function getCcRecipient()
{
return $this->ccRecipient;
}
/**
* @param Organization|ContactPoint|Person|Audience|null $recipient
*/
public function setRecipient($recipient): void
{
$this->recipient = $recipient;
}
/**
* @return Organization|ContactPoint|Person|Audience|null
*/
public function getRecipient()
{
return $this->recipient;
}
public function jsonSerialize()
{
return (object) array_merge((array) parent::jsonSerialize(), array_filter(array('ccRecipient' => $this->ccRecipient, 'recipient' => $this->recipient), static function ($value) : bool {
return $value !== null;
}));
}
}
__halt_compiler();----SIGNATURE:----grlemeqOgL3j2ya1T3su/2V1t3YitB6zniq5MJFyMnPQb7PTYDdWQtVK8l5d7jDAMzFqPChxp31pqso/uxoyRGkOaFzpkc86LRb4dZzb1QRIbT+AaQ/ib7HFSDhw/PHH5F67kYGkEIUSD76W4gjFzOiJQlLC3q4rAtwUbQrT+FtLk9V7w0Ap8/EyuhAQj0cQ3OP8OgMFbUpr15iMB0WGKuQswucUQw+6iWZg2G43tOEWYpBKTZnNn7K6ebM2FjmyFjkzCK1COiAB4hqHFWWcXxYn61Uk4Mw5jSHzIL/52S+h/GBo9+cKtkMoT0pWGz+/dOr68l4XpmfuZ1GJONJOeZtioub4EHHIgs/OAy8Q83vCSwlloQT1dYAjnB8qFkIx21P2Fiv54FTRDa+XhoXlrjgbUC0Jul7BpqtSXlAvjFAb9C7+gKWMonhLgdoxGVUwJi/8+fBCklVMFIQvGf+2McKWiqwmYjoU34Bp5NCzYj1JVZ1lOiIos3mx/X9/jZmbZdVxoIZBn2oxW1YWbO0TyRYPUPO1rUJnRa9G2NnAkiyYJirsdnHh0iNQB/5ZA5iE356PpQSXmmCsegnAEpN26iTUp/XEty6CAF1Mr9e2FQvj+OkeM6JDhBYOzd3w1WZK2ioit0jADOQ/+9f6TFRKAIdC06C6tRp3ZLwxd7arY0o=----ATTACHMENT:----MTU3NjE3ODczMDgyNjk0MyA0NTI3NTA1ODM0ODAyODc5IDMxNzE4NjYwMzE0MDUxNTE=