File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 22
33namespace Adyen \Service ;
44
5- use Adyen \Model \ConfigurationWebhooks \ObjectSerializer ;
5+ use Adyen \Model \TokenizationWebhooks \ObjectSerializer ;
66use Adyen \Model \TokenizationWebhooks \TokenizationAlreadyExistingDetailsNotificationRequest ;
77use Adyen \Model \TokenizationWebhooks \TokenizationCreatedDetailsNotificationRequest ;
88use Adyen \Model \TokenizationWebhooks \TokenizationDisabledDetailsNotificationRequest ;
@@ -31,19 +31,19 @@ public function getGenericWebhook()
3131 }
3232
3333 if (in_array ($ type , ($ clazz = new TokenizationAlreadyExistingDetailsNotificationRequest ())->getTypeAllowableValues ())) {
34- return (object )$ this ->deserializewebhook ($ clazz );
34+ return (object )$ this ->deserializeWebhook ($ clazz );
3535 }
3636
3737 if (in_array ($ type , ($ clazz = new TokenizationCreatedDetailsNotificationRequest ())->getTypeAllowableValues ())) {
38- return (object )$ this ->deserializewebhook ($ clazz );
38+ return (object )$ this ->deserializeWebhook ($ clazz );
3939 }
4040
4141 if (in_array ($ type , ($ clazz = new TokenizationDisabledDetailsNotificationRequest )->getTypeAllowableValues ())) {
42- return (object )self :: deserializewebhook ($ clazz );
42+ return (object )$ this -> deserializeWebhook ($ clazz );
4343 }
4444
4545 if (in_array ($ type , ($ clazz = new TokenizationUpdatedDetailsNotificationRequest ())->getTypeAllowableValues ())) {
46- return (object )self :: deserializeWebhook ($ clazz );
46+ return (object )$ this -> deserializeWebhook ($ clazz );
4747 }
4848
4949 // throw error in case the webhook can not be parsed
You can’t perform that action at this time.
0 commit comments