@@ -458,7 +458,7 @@ def update(cls, code, **kwargs): # noqa: E501
458458
459459
460460 @classmethod
461- def validatte (cls , code , first_name , last_name , type , country , bvn , bank_code , account_number , ** kwargs ): # noqa: E501
461+ def validate (cls , code , first_name , last_name , type , country , bvn , bank_code , account_number , ** kwargs ): # noqa: E501
462462 """Validate Customer # noqa: E501
463463
464464 Validate a customer's identity # noqa: E501
@@ -504,42 +504,42 @@ def validatte(cls, code, first_name, last_name, type, country, bvn, bank_code, a
504504 if key not in all_params :
505505 raise ApiTypeError (
506506 "Got an unexpected keyword argument '%s'"
507- " to method validatte " % key
507+ " to method validate " % key
508508 )
509509 local_var_params [key ] = val
510510 del local_var_params ['kwargs' ]
511511 # verify the required parameter 'code' is set
512512 if cls ().api_client .client_side_validation and ('code' not in local_var_params or # noqa: E501
513513 local_var_params ['code' ] is None ): # noqa: E501
514- raise ApiValueError ("Missing the required parameter `code` when calling `validatte `" ) # noqa: E501
514+ raise ApiValueError ("Missing the required parameter `code` when calling `validate `" ) # noqa: E501
515515 # verify the required parameter 'first_name' is set
516516 if cls ().api_client .client_side_validation and ('first_name' not in local_var_params or # noqa: E501
517517 local_var_params ['first_name' ] is None ): # noqa: E501
518- raise ApiValueError ("Missing the required parameter `first_name` when calling `validatte `" ) # noqa: E501
518+ raise ApiValueError ("Missing the required parameter `first_name` when calling `validate `" ) # noqa: E501
519519 # verify the required parameter 'last_name' is set
520520 if cls ().api_client .client_side_validation and ('last_name' not in local_var_params or # noqa: E501
521521 local_var_params ['last_name' ] is None ): # noqa: E501
522- raise ApiValueError ("Missing the required parameter `last_name` when calling `validatte `" ) # noqa: E501
522+ raise ApiValueError ("Missing the required parameter `last_name` when calling `validate `" ) # noqa: E501
523523 # verify the required parameter 'type' is set
524524 if cls ().api_client .client_side_validation and ('type' not in local_var_params or # noqa: E501
525525 local_var_params ['type' ] is None ): # noqa: E501
526- raise ApiValueError ("Missing the required parameter `type` when calling `validatte `" ) # noqa: E501
526+ raise ApiValueError ("Missing the required parameter `type` when calling `validate `" ) # noqa: E501
527527 # verify the required parameter 'country' is set
528528 if cls ().api_client .client_side_validation and ('country' not in local_var_params or # noqa: E501
529529 local_var_params ['country' ] is None ): # noqa: E501
530- raise ApiValueError ("Missing the required parameter `country` when calling `validatte `" ) # noqa: E501
530+ raise ApiValueError ("Missing the required parameter `country` when calling `validate `" ) # noqa: E501
531531 # verify the required parameter 'bvn' is set
532532 if cls ().api_client .client_side_validation and ('bvn' not in local_var_params or # noqa: E501
533533 local_var_params ['bvn' ] is None ): # noqa: E501
534- raise ApiValueError ("Missing the required parameter `bvn` when calling `validatte `" ) # noqa: E501
534+ raise ApiValueError ("Missing the required parameter `bvn` when calling `validate `" ) # noqa: E501
535535 # verify the required parameter 'bank_code' is set
536536 if cls ().api_client .client_side_validation and ('bank_code' not in local_var_params or # noqa: E501
537537 local_var_params ['bank_code' ] is None ): # noqa: E501
538- raise ApiValueError ("Missing the required parameter `bank_code` when calling `validatte `" ) # noqa: E501
538+ raise ApiValueError ("Missing the required parameter `bank_code` when calling `validate `" ) # noqa: E501
539539 # verify the required parameter 'account_number' is set
540540 if cls ().api_client .client_side_validation and ('account_number' not in local_var_params or # noqa: E501
541541 local_var_params ['account_number' ] is None ): # noqa: E501
542- raise ApiValueError ("Missing the required parameter `account_number` when calling `validatte `" ) # noqa: E501
542+ raise ApiValueError ("Missing the required parameter `account_number` when calling `validate `" ) # noqa: E501
543543
544544
545545 path_params = {}
0 commit comments