Table of Contents
Methods
- __construct() : mixed
- Mail constructor.
- getPdfAttachment() : bool|false|int
- Get pdf file of payment bill.
- send() : mixed
- sendInvoice() : Result
- Sending invoice
- setData() : Result
- Set mail data before sending
Methods
__construct()
Mail constructor.
public
__construct() : mixed
getPdfAttachment()
Get pdf file of payment bill.
public
static getPdfAttachment(mixed $invoiceId) : bool|false|int
Parameters
- $invoiceId : mixed
Tags
Return values
bool|false|intsend()
public
static send(mixed $invoiceId) : mixed
Parameters
- $invoiceId : mixed
Tags
sendInvoice()
Sending invoice
public
sendInvoice() : Result
Return values
ResultsetData()
Set mail data before sending
public
setData([array<string|int, mixed> $invoiceData = array() ][, array<string|int, mixed> $sendData = array() ][, null $mailTemplateId = null ]) : Result
Parameters
- $invoiceData : array<string|int, mixed> = array()
- $sendData : array<string|int, mixed> = array()
- $mailTemplateId : null = null