Documentation

ProductSuspendingMail extends AbstractClientMail
in package

ProductSuspendingMail

This mailable handle the suspending notification for the user

Tags
improve

this class should be refactored using a base class handling all the retrieving of user data, sending, ...

Table of Contents

$companyName  : string
$email  : string
$firstName  : string
$lastName  : string
$customer  : CustomerResource|Customer|stdClass
$expiringDate  : Carbon
$invoiceId  : int
$suspensionDate  : Carbon
$terminationDate  : Carbon
__construct()  : mixed
ProductSuspendingMail
content()  : Content

Properties

Methods

__construct()

ProductSuspendingMail

public __construct(CustomerResource|Customer|stdClass $customer, int $invoiceId, Carbon $expiringDate, Carbon $suspensionDate, Carbon $terminationDate) : mixed
Parameters
$customer : CustomerResource|Customer|stdClass

the customer

$invoiceId : int
$expiringDate : Carbon
$suspensionDate : Carbon
$terminationDate : Carbon
Tags
throws
ResourceNotFoundException

if customer is not a valid customer resource

Return values
mixed

content()

public content() : Content
Return values
Content

the rendered content of the email

Search results