forked from LiveCarta/PayPal-PHP-SDK
Removed Deprecated Getter and Setters
- Removed Deprecated Getter Setters from all Model Classes - All Camelcase getters and setters are removed. Please use first letter uppercase syntax - E.g. instead of using get_notify_url(), use getNotifyUrl() instead
This commit is contained in:
@@ -122,32 +122,6 @@ class Webhook extends PayPalResourceModel
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* List of Webhooks event-types.
|
||||
*
|
||||
* @deprecated Instead use setEventTypes
|
||||
*
|
||||
* @param \PayPal\Api\WebhookEventType $event_types
|
||||
* @return $this
|
||||
*/
|
||||
public function setEvent_types($event_types)
|
||||
{
|
||||
$this->event_types = $event_types;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* List of Webhooks event-types.
|
||||
* @deprecated Instead use getEventTypes
|
||||
*
|
||||
* @return \PayPal\Api\WebhookEventType
|
||||
*/
|
||||
public function getEvent_types()
|
||||
{
|
||||
return $this->event_types;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates the Webhook for the application associated with the access token.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user