private function getPresetOptions()
    {
        $options = [];
        if($this->client->usesOAuth()) {
            $options["testmode"] = $this->mode === "test" ? true : false;
        }

        return $options;
    }
private function getPresetOptions()
    {
        $options = [];
        if($this->client->usesOAuth()) {
            $options["testmode"] = $this->mode === "test" ? true : false;
        }

        return $options;
    }
private function getPresetOptions ( ) { $ options = [ ] ; if ( $ this -> client -> usesOAuth ( ) ) { $ options [ "testmode" ] = $ this -> mode === "test" ? true : false ; } return $ options ; }
When accessed by oAuth we want to pass the testmode by default

@return array
When accessed by oAuth we want to pass the testmode by default