CreditCardResource
extends JsonResource
in package
Account CreditCard
Table of Contents
- $card_last_four : string
- $card_type : string
- $description : string
- $expiry_date : string
- $gateway_name : string
- $id : int
- $last_updated : mixed
- $preserveKeys : mixed
- $remote_token : string
- toArray() : array<string|int, mixed>
- Transform the resource into an array.
- with() : array<string|int, mixed>
Properties
$card_last_four
public
string
$card_last_four
$card_type
public
string
$card_type
$description
public
string
$description
$expiry_date
public
string
$expiry_date
$gateway_name
public
string
$gateway_name
$id
public
int
$id
$last_updated
public
mixed
$last_updated
$preserveKeys
public
mixed
$preserveKeys
= true
$remote_token
public
string
$remote_token
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>