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

@@ -40,31 +40,6 @@ class PaymentTerm extends PayPalModel
return $this->term_type;
}
/**
* Terms by which the invoice payment is due.
*
* @deprecated Instead use setTermType
*
* @param string $term_type
* @return $this
*/
public function setTerm_type($term_type)
{
$this->term_type = $term_type;
return $this;
}
/**
* Terms by which the invoice payment is due.
* @deprecated Instead use getTermType
*
* @return string
*/
public function getTerm_type()
{
return $this->term_type;
}
/**
* Date on which invoice payment is due. It must be always a future date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
*
@@ -88,29 +63,4 @@ class PaymentTerm extends PayPalModel
return $this->due_date;
}
/**
* Date on which invoice payment is due. It must be always a future date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
*
* @deprecated Instead use setDueDate
*
* @param string $due_date
* @return $this
*/
public function setDue_date($due_date)
{
$this->due_date = $due_date;
return $this;
}
/**
* Date on which invoice payment is due. It must be always a future date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
* @deprecated Instead use getDueDate
*
* @return string
*/
public function getDue_date()
{
return $this->due_date;
}
}