ProductTerminatingMail
extends AbstractClientMail
in package
ProductTerminatingMail
This mailable handle the product termination notification for the user
Tags
Table of Contents
- $companyName : string
- $email : string
- $firstName : string
- $lastName : string
- $customer : CustomerResource|stdClass|Customer
- $invoiceId : int
- $terminationDate : Carbon
- __construct() : mixed
- ProductTerminatingMail
- content() : Content
Properties
$companyName
protected
string
$companyName
of the user
protected
string
$email
email of the user
$firstName
protected
string
$firstName
firstname of the user
$lastName
protected
string
$lastName
of the user
$customer read-only
private
CustomerResource|stdClass|Customer
$customer
$invoiceId read-only
private
int
$invoiceId
$terminationDate read-only
private
Carbon
$terminationDate
Methods
__construct()
ProductTerminatingMail
public
__construct(CustomerResource|stdClass|Customer $customer, int $invoiceId, Carbon $terminationDate) : mixed
Parameters
- $customer : CustomerResource|stdClass|Customer
- $invoiceId : int
- $terminationDate : Carbon
-
the date when the product is being terminated
Return values
mixed —content()
public
content() : Content
Return values
Content —the rendered content of the email