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:
@@ -71,31 +71,6 @@ class WebhookEvent extends PayPalResourceModel
|
||||
return $this->create_time;
|
||||
}
|
||||
|
||||
/**
|
||||
* Time the resource was created.
|
||||
*
|
||||
* @deprecated Instead use setCreateTime
|
||||
*
|
||||
* @param string $create_time
|
||||
* @return $this
|
||||
*/
|
||||
public function setCreate_time($create_time)
|
||||
{
|
||||
$this->create_time = $create_time;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Time the resource was created.
|
||||
* @deprecated Instead use getCreateTime
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getCreate_time()
|
||||
{
|
||||
return $this->create_time;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the resource contained in resource element.
|
||||
*
|
||||
@@ -119,31 +94,6 @@ class WebhookEvent extends PayPalResourceModel
|
||||
return $this->resource_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the resource contained in resource element.
|
||||
*
|
||||
* @deprecated Instead use setResourceType
|
||||
*
|
||||
* @param string $resource_type
|
||||
* @return $this
|
||||
*/
|
||||
public function setResource_type($resource_type)
|
||||
{
|
||||
$this->resource_type = $resource_type;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the resource contained in resource element.
|
||||
* @deprecated Instead use getResourceType
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getResource_type()
|
||||
{
|
||||
return $this->resource_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the event type that occurred on resource, identified by data_resource element, to trigger the Webhooks event.
|
||||
*
|
||||
@@ -167,31 +117,6 @@ class WebhookEvent extends PayPalResourceModel
|
||||
return $this->event_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the event type that occurred on resource, identified by data_resource element, to trigger the Webhooks event.
|
||||
*
|
||||
* @deprecated Instead use setEventType
|
||||
*
|
||||
* @param string $event_type
|
||||
* @return $this
|
||||
*/
|
||||
public function setEvent_type($event_type)
|
||||
{
|
||||
$this->event_type = $event_type;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the event type that occurred on resource, identified by data_resource element, to trigger the Webhooks event.
|
||||
* @deprecated Instead use getEventType
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEvent_type()
|
||||
{
|
||||
return $this->event_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* A summary description of the event. E.g. A successful payment authorization was created for $$
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user