$buyer->getRouteKey(), 'key' => [ 'public' => $buyer->getPublicKey(), 'route' => $buyer->getRouteKey(), ], 'reporting_to' => $buyer->reporting_to, 'name' => $buyer->name, 'email' => $buyer->email, 'password' => $buyer->password, 'company_name' => $buyer->company_name, 'abn' => $buyer->abn, 'title' => $buyer->title, 'api_token' => $buyer->api_token, 'remember_token' => $buyer->remember_token, 'sex' => $buyer->sex, 'dob' => $buyer->dob, 'designation' => $buyer->designation, 'mobile' => $buyer->mobile, 'phone' => $buyer->phone, 'address' => $buyer->address, 'financial_authorization' => $buyer->financial_authorization, 'work_email' => $buyer->work_email, 'alternative_phone' => $buyer->alternative_phone, 'street' => $buyer->street, 'city' => $buyer->city, 'district' => $buyer->district, 'state' => $buyer->state, 'country' => $buyer->country, 'photo' => $buyer->photo, 'web' => $buyer->web, 'permissions' => $buyer->permissions, 'email_verified_at' => $buyer->email_verified_at, 'user_id' => $buyer->user_id, 'user_type' => $buyer->user_type, 'user_mode' => $buyer->user_mode, 'upload_folder' => $buyer->upload_folder, 'deleted_at' => $buyer->deleted_at, 'team_id' => $buyer->team_id, 'trading_name' => $buyer->trading_name, 'duns_number' => $buyer->duns_number, 'registered_office' => $buyer->registered_office, 'fb_url' => $buyer->fb_url, 'linkedin_url' => $buyer->linkedin_url, 'directors' => $buyer->directors, 'documents' => $buyer->documents, 'url' => [ 'public' => trans_url('buyer/'.$buyer->getPublicKey()), 'user' => guard_url('buyer/buyer/'.$buyer->getRouteKey()), ], 'status' => trans('app.'.$buyer->status), 'created_at' => format_date($buyer->created_at), 'updated_at' => format_date($buyer->updated_at), ]; } }