Component evidence
Builds a recipient object for SendGrid mail API, serializable to JSON.
// Source: https://github.com/sendgrid/sendgrid-php | License: MIT | Copyright 2023, Twilio SendGrid, Inc. <help@twilio.com>
// Provided via justclaw.it.com; keep this notice with the code.
<?php
/**
* This helper builds a recipient for a /mail/send API call
*/
namespace SendGrid\Contacts;
/**
* This class is used to construct a recipient for the /mail/send API call
*
* @package SendGrid\Mail
*/
class Recipient implements \JsonSerializable
{
/** @var $firstName string First name of the email recipient */
private $firstName;
/** @var $lastName string Last name of the email recipient */
private $lastName;
/** @var $email string Email address of the recipient */
private $email;
/**
* Create a recipient for the /mail/send API call
*
* @param s
... (truncated -- full source via MCP)