/**
  * @return array
  */
 public function toGroupArray()
 {
     $settingsCreditcard = new Payone_Settings_Configuration_PaymentMethod_CreditCard();
     $settingsOnlineBankTransfer = new Payone_Settings_Configuration_PaymentMethod_OnlineBankTransfer();
     $settingsWallet = new Payone_Settings_Configuration_PaymentMethod_Wallet();
     $settingsSafeInvoice = new Payone_Core_Model_System_Config_SafeInvoiceType();
     $return = array('Creditcard' => $settingsCreditcard->getTypes(), 'Online Bank Transfer' => $settingsOnlineBankTransfer->getTypes(), 'Wallet' => $settingsWallet->getTypes(), 'Safe Invoice' => $settingsSafeInvoice->toArray());
     return $return;
 }
 /**
  * @return array
  */
 public function toArray()
 {
     $settings = new Payone_Settings_Configuration_PaymentMethod_CreditCard();
     return $settings->getTypes();
 }