public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('translations', ResourceTranslationsType::class, ['entry_type' => PaymentMethodTranslationType::class, 'label' => 'sylius.form.payment_method.name'])->add('gateway', PaymentGatewayChoiceType::class, ['label' => 'sylius.form.payment_method.gateway'])->add('position', IntegerType::class, ['required' => false, 'label' => 'sylius.form.shipping_method.position'])->add('enabled', CheckboxType::class, ['required' => false, 'label' => 'sylius.form.payment_method.enabled'])->addEventSubscriber(new AddCodeFormSubscriber());
}