Table of Contents
-
$transform
: array<string|int, mixed>
-
transform()
: array<string|int, mixed>
protected
array<string|int, mixed>
$transform
= ['result' => 'result', 'invoiceid' => 'id', 'invoicenum' => 'number', 'userid' => 'client_id', 'date' => 'date', 'duedate' => 'due_date', 'datepaid' => 'date_paid', 'lastcaptureattempt' => 'last_capture_attempt', 'subtotal' => 'sub_total', 'credit' => 'credit', 'tax' => 'tax', 'tax2' => 'tax_2', 'total' => 'total', 'balance' => 'balance', 'taxrate' => 'tax_rate', 'taxrate2' => 'tax_rate_2', 'status' => 'status', 'paymentmethod' => 'payment_method', 'notes' => 'notes', 'ccgateway' => 'credit_card_gateway', 'items' => 'items', 'transactions' => 'transactions']
public
transform(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
-
$data
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—