'boolean', ]; public function payment_methods() { return $this->hasMany('App\Models\PaymentMethod'); } public function default_payment_method() { return $this->hasOne('App\Models\PaymentMethod', 'id', 'default_payment_method_id'); } }