*
* 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:----tCgqnFLrXqtF1oNs6J/UVdkEqB02L3Y2Kfz0OotdplckkFt41iCQoBO+qIykS8Xx3wKjiq3IDi3n2x02PqcCo+6YZbeDPjRb+QlK98w3TWG3NltDUTkPsaW68dyT3ZnvOTLSZ8ef7t/IwQuI+4tv5fPT2EwMJ4WVTE8GifwUkIxmDfA0GfyA02JgURcgShRLR9lmPi5mOnQFoKwast9tLeZ6R3PVbVUYfSMAQDGJZq7aZS9ksy4u0eloEavwcqLJqok4a+st+dzXM43j3dE3c8PhjHRL++xYRPe/nde8j96OFkcTyM1+DQSVdxe6UPTxDs48b2p5Un5OxqKsanZja9NIFGCorGeecF8pe+wVzsEp+y6fOsvB4u+3UcK4sKaFherFPL1UW/8eOvp0KGkMO6CHVjpFDNYSGGQLWp9wsRRNr3uknjVKXWi+2I3LkWogghMDZdoFPAcAY+IYQojLvqqTHx7aaKLeDn/UvHgIFGAkPdeRFjYCVyHsqEIOYGhfaB43uZcosifxbb9wjU+95bSdjssm2b7wPTsZsSCRFzph9fl1FdxM4c7LTX5fh5swX2qIKLQ1fyTcJ6bCoiJSO8viUPNCFJJJ0xJcx4pcz15GTWkIQglCFGaiPweLuUZ+yyxOqpQg0UmW+f8Mxv9/gdYHehc9+jt67QDLyO9xOFM=----ATTACHMENT:----MTc5OTAyNTM5OTgxMDk1MiAxMTU4NjY2OTk1NTQxNDA2IDQxNTE5MzQ1Njk4NjMyNzg=