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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user