Documentation

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

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