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:
japatel
2015-01-08 22:23:58 -06:00
parent ed2a4fd41e
commit b011d17cde
150 changed files with 47 additions and 10994 deletions

View File

@@ -48,31 +48,6 @@ class InvoicingMetaData extends PayPalModel
return $this->created_date;
}
/**
* Date when the resource was created.
*
* @deprecated Instead use setCreatedDate
*
* @param string $created_date
* @return $this
*/
public function setCreated_date($created_date)
{
$this->created_date = $created_date;
return $this;
}
/**
* Date when the resource was created.
* @deprecated Instead use getCreatedDate
*
* @return string
*/
public function getCreated_date()
{
return $this->created_date;
}
/**
* Email address of the account that created the resource.
*
@@ -96,31 +71,6 @@ class InvoicingMetaData extends PayPalModel
return $this->created_by;
}
/**
* Email address of the account that created the resource.
*
* @deprecated Instead use setCreatedBy
*
* @param string $created_by
* @return $this
*/
public function setCreated_by($created_by)
{
$this->created_by = $created_by;
return $this;
}
/**
* Email address of the account that created the resource.
* @deprecated Instead use getCreatedBy
*
* @return string
*/
public function getCreated_by()
{
return $this->created_by;
}
/**
* Date when the resource was cancelled.
*
@@ -144,31 +94,6 @@ class InvoicingMetaData extends PayPalModel
return $this->cancelled_date;
}
/**
* Date when the resource was cancelled.
*
* @deprecated Instead use setCancelledDate
*
* @param string $cancelled_date
* @return $this
*/
public function setCancelled_date($cancelled_date)
{
$this->cancelled_date = $cancelled_date;
return $this;
}
/**
* Date when the resource was cancelled.
* @deprecated Instead use getCancelledDate
*
* @return string
*/
public function getCancelled_date()
{
return $this->cancelled_date;
}
/**
* Actor who cancelled the resource.
*
@@ -192,31 +117,6 @@ class InvoicingMetaData extends PayPalModel
return $this->cancelled_by;
}
/**
* Actor who cancelled the resource.
*
* @deprecated Instead use setCancelledBy
*
* @param string $cancelled_by
* @return $this
*/
public function setCancelled_by($cancelled_by)
{
$this->cancelled_by = $cancelled_by;
return $this;
}
/**
* Actor who cancelled the resource.
* @deprecated Instead use getCancelledBy
*
* @return string
*/
public function getCancelled_by()
{
return $this->cancelled_by;
}
/**
* Date when the resource was last edited.
*
@@ -240,31 +140,6 @@ class InvoicingMetaData extends PayPalModel
return $this->last_updated_date;
}
/**
* Date when the resource was last edited.
*
* @deprecated Instead use setLastUpdatedDate
*
* @param string $last_updated_date
* @return $this
*/
public function setLast_updated_date($last_updated_date)
{
$this->last_updated_date = $last_updated_date;
return $this;
}
/**
* Date when the resource was last edited.
* @deprecated Instead use getLastUpdatedDate
*
* @return string
*/
public function getLast_updated_date()
{
return $this->last_updated_date;
}
/**
* Email address of the account that last edited the resource.
*
@@ -288,31 +163,6 @@ class InvoicingMetaData extends PayPalModel
return $this->last_updated_by;
}
/**
* Email address of the account that last edited the resource.
*
* @deprecated Instead use setLastUpdatedBy
*
* @param string $last_updated_by
* @return $this
*/
public function setLast_updated_by($last_updated_by)
{
$this->last_updated_by = $last_updated_by;
return $this;
}
/**
* Email address of the account that last edited the resource.
* @deprecated Instead use getLastUpdatedBy
*
* @return string
*/
public function getLast_updated_by()
{
return $this->last_updated_by;
}
/**
* Date when the resource was first sent.
*
@@ -336,31 +186,6 @@ class InvoicingMetaData extends PayPalModel
return $this->first_sent_date;
}
/**
* Date when the resource was first sent.
*
* @deprecated Instead use setFirstSentDate
*
* @param string $first_sent_date
* @return $this
*/
public function setFirst_sent_date($first_sent_date)
{
$this->first_sent_date = $first_sent_date;
return $this;
}
/**
* Date when the resource was first sent.
* @deprecated Instead use getFirstSentDate
*
* @return string
*/
public function getFirst_sent_date()
{
return $this->first_sent_date;
}
/**
* Date when the resource was last sent.
*
@@ -384,31 +209,6 @@ class InvoicingMetaData extends PayPalModel
return $this->last_sent_date;
}
/**
* Date when the resource was last sent.
*
* @deprecated Instead use setLastSentDate
*
* @param string $last_sent_date
* @return $this
*/
public function setLast_sent_date($last_sent_date)
{
$this->last_sent_date = $last_sent_date;
return $this;
}
/**
* Date when the resource was last sent.
* @deprecated Instead use getLastSentDate
*
* @return string
*/
public function getLast_sent_date()
{
return $this->last_sent_date;
}
/**
* Email address of the account that last sent the resource.
*
@@ -432,31 +232,6 @@ class InvoicingMetaData extends PayPalModel
return $this->last_sent_by;
}
/**
* Email address of the account that last sent the resource.
*
* @deprecated Instead use setLastSentBy
*
* @param string $last_sent_by
* @return $this
*/
public function setLast_sent_by($last_sent_by)
{
$this->last_sent_by = $last_sent_by;
return $this;
}
/**
* Email address of the account that last sent the resource.
* @deprecated Instead use getLastSentBy
*
* @return string
*/
public function getLast_sent_by()
{
return $this->last_sent_by;
}
/**
* URL representing the payer's view of the invoice.
*
@@ -481,29 +256,4 @@ class InvoicingMetaData extends PayPalModel
return $this->payer_view_url;
}
/**
* URL representing the payer's view of the invoice.
*
* @deprecated Instead use setPayerViewUrl
*
* @param string $payer_view_url
* @return $this
*/
public function setPayer_view_url($payer_view_url)
{
$this->payer_view_url = $payer_view_url;
return $this;
}
/**
* URL representing the payer's view of the invoice.
* @deprecated Instead use getPayerViewUrl
*
* @return string
*/
public function getPayer_view_url()
{
return $this->payer_view_url;
}
}