src/EB/SDK/RecipientSubscribe/RecipientFactory.php
public static function createUnsubscribedAnonymousRecipient(
        $emailAddress,
        $countryCode,
        \DateTime $unsubscriptionDate,
        $unsubscriptionIp = '127.0.0.1'
    ) {
        return self::createSimpleAnonymousRecipient($emailAddress, $countryCode)
            ->setSubscriptionStatus(Recipient::STATUS_UNSUBSCRIBED)
            ->setUnsubscriptionDate($unsubscriptionDate)
            ->setUnsubscriptionIp($unsubscriptionIp);
    }
public static function createUnsubscribedAnonymousRecipient(
        $emailAddress,
        $countryCode,
        \DateTime $unsubscriptionDate,
        $unsubscriptionIp = '127.0.0.1'
    ) {
        return self::createSimpleAnonymousRecipient($emailAddress, $countryCode)
            ->setSubscriptionStatus(Recipient::STATUS_UNSUBSCRIBED)
            ->setUnsubscriptionDate($unsubscriptionDate)
            ->setUnsubscriptionIp($unsubscriptionIp);
    }
@param string    $emailAddress The recipient email address
@param string    $countryCode The recipient 2 letters country code
@param \DateTime $unsubscriptionDate The recipient unsubscription date (use new \DateTime() for now)
@param string    $unsubscriptionIp The recipient IP when the unsubscription request occur

@return Recipient