$model->uuid, 'bik' => $model->bik, 'bank' => $model->bank, 'address' => $model->address, 'checking_account' => $model->checking_account, 'correspondent_account' => $model->correspondent_account ]; } public function includeCompany(BankDetails $model): ?Item { return $model->company ? $this->item($model->company, new CompanyTransformer()) : null; } }