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
$
public
string
$
fiscal_code
$
public
string
$
client_type
$
public
string
$
vat_number
$address1
public
string
$address1
$address2
public
string|null
$address2
$city
public
string
$city
$company_name
public
string|null
$company_name
$country
public
string
$country
$credit
public
float
$credit
public
string
$email
$first_name
public
string
$first_name
$id
public
int
$id
$last_name
public
string
$last_name
$notes
public
string
$notes
$owner_user_id
public
int
$owner_user_id
$phone_number
public
string
$phone_number
$phone_number_2
public
string|null
$phone_number_2
$postcode
public
string
$postcode
$preserveKeys
public
mixed
$preserveKeys
= true
$state
public
string
$state
$status
public
string
$status
$tax_exempt
public
bool
$tax_exempt
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>