'no', 'payment_mode' => 'live', ]; } public function isActive(): bool { return $this->settings['active'] == 'yes'; } public function getMode() { return (new StoreSettings)->get('order_mode'); } public function getPublicKey() { // TODO: Implement getPublicKey() method. } public function getApiKey() { // TODO: Implement getApiKey() method. } public function get($key = '') { $settings = $this->settings; if ($key && isset($this->settings[$key])) { return $this->settings[$key]; } return $settings; } }