Author: Adam Piotrowski (adam@wellcommerce.org)
Inheritance: extends WellCommerce\Bundle\CoreBundle\DependencyInjection\AbstractContainerAware, implements WellCommerce\Bundle\PaymentBundle\Configurator\PaymentMethodConfiguratorInterface
 protected function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setAllowedTypes($this->getConfigurationKey('account_number'), 'string');
     $resolver->setAllowedTypes($this->getConfigurationKey('account_owner'), 'string');
     $resolver->setAllowedTypes($this->getConfigurationKey('sort_number'), 'string');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptions(OptionsResolver $resolver)
 {
     parent::configureOptions($resolver);
     $resolver->setAllowedTypes($this->getConfigurationKey('client_id'), 'string');
     $resolver->setAllowedTypes($this->getConfigurationKey('client_secret'), 'string');
     $resolver->setAllowedTypes($this->getConfigurationKey('mode'), 'string');
     $resolver->setAllowedValues($this->getConfigurationKey('mode'), ['sandbox', 'live']);
 }