AfterbuyOrderInvoiceReader
in package
Class AfterbuyOrderInvoiceReader
Table of Contents
- $connection : Connection
- __construct() : mixed
- AfterbuyOrderInvoiceReader constructor.
- fetchInvoiceData() : array<string|int, mixed>|null
- Fetches invoice data for the given order.
Properties
$connection
private
Connection
$connection
Methods
__construct()
AfterbuyOrderInvoiceReader constructor.
public
__construct(Connection $connection) : mixed
Parameters
- $connection : Connection
Return values
mixed —fetchInvoiceData()
Fetches invoice data for the given order.
public
fetchInvoiceData(int $orderId) : array<string|int, mixed>|null
Returns an empty array if no invoice data is available.
Parameters
- $orderId : int