Documentation

AccountResource extends JsonResource
in package

Table of Contents

$  : string
$  : string
$  : string
$address1  : string
$address2  : string|null
$city  : string
$company_name  : string|null
$country  : string
$credit  : float
$email  : string
$first_name  : string
$id  : int
$last_name  : string
$notes  : string
$owner_user_id  : int
$phone_number  : string
$phone_number_2  : string|null
$postcode  : string
$preserveKeys  : mixed
$state  : string
$status  : string
$tax_exempt  : bool
toArray()  : array<string|int, mixed>
Transform the resource into an array.
with()  : array<string|int, mixed>

Properties

Methods

toArray()

Transform the resource into an array.

public toArray(Request $request) : array<string|int, mixed>
Parameters
$request : Request
Return values
array<string|int, mixed>

with()

public with( $request) : array<string|int, mixed>
Parameters
$request :
Return values
array<string|int, mixed>

Search results