$this->id, 'provider_id' => $this->provider_id, 'recipient_id' => $this->recipient_id, 'transfer_id' => $this->transfer_id, 'gross_amount' => $this->gross_amount, 'gateway_fee_amount' => $this->gateway_fee_amount, 'net_amount' => $this->net_amount, 'status' => $this->status, 'type' => $this->type, 'bank_account' => $this->bank_account, 'completed_at' => $this->completed_at?->toISOString(), 'failed_at' => $this->failed_at?->toISOString(), 'created_at' => $this->created_at?->toISOString(), ]; } public static function collection($resource): AnonymousResourceCollection { return parent::collection($resource); } }