CustomerNewsletterService

Namespace

IO\Services

Properties
Type Name Description

NewsletterRepositoryContract

$newsletterRepo

Methods
public __construct($newsletterRepo)
Parameters

Type

Name

Description

``

$newsletterRepo

public saveNewsletterData()
public saveMultipleNewsletterData()
public updateOptInStatus()
public deleteNewsletterDataByEmail($email, $emailFolder):bool

Delete recipients from the newsletter Not passing the optional parameter $emailFolder deletes the recipient from all email-folders

Parameters

Type

Name

Description

string

$email

int

$emailFolder