dummy: extend parameters description for testing (#43030)
This commit is contained in:
parent
ab3d0d1506
commit
6c81d9733d
|
@ -91,8 +91,11 @@ class Payment(PaymentCommon):
|
|||
{
|
||||
'name': 'siret',
|
||||
'caption': 'dummy siret parameter',
|
||||
'validation': lambda x: x.isdigit(),
|
||||
'validation_err_msg': 'must be a number',
|
||||
'type': str,
|
||||
'default': 'siret',
|
||||
'default': '1234',
|
||||
'required': True,
|
||||
},
|
||||
{
|
||||
'name': 'consider_all_response_signed',
|
||||
|
@ -104,6 +107,22 @@ class Payment(PaymentCommon):
|
|||
'type': bool,
|
||||
'default': False,
|
||||
},
|
||||
{
|
||||
'name': 'number',
|
||||
'caption': 'dummy integer input test',
|
||||
'type': int,
|
||||
},
|
||||
{
|
||||
'name': 'choice',
|
||||
'caption': 'dummy choice input test',
|
||||
'choices': ['a', 'b'],
|
||||
},
|
||||
{
|
||||
'name': 'choices',
|
||||
'caption': 'dummy choices input test',
|
||||
'choices': ['a', 'b'],
|
||||
'type': list,
|
||||
},
|
||||
{
|
||||
'name': 'direct_notification_url',
|
||||
'caption': 'direct notification url (replaced by automatic_return_url)',
|
||||
|
|
Loading…
Reference in New Issue