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

@@ -43,31 +43,6 @@ class CreditCardToken extends PayPalModel
return $this->credit_card_id;
}
/**
* ID of a previously saved Credit Card resource using /vault/credit-card API.
*
* @deprecated Instead use setCreditCardId
*
* @param string $credit_card_id
* @return $this
*/
public function setCredit_card_id($credit_card_id)
{
$this->credit_card_id = $credit_card_id;
return $this;
}
/**
* ID of a previously saved Credit Card resource using /vault/credit-card API.
* @deprecated Instead use getCreditCardId
*
* @return string
*/
public function getCredit_card_id()
{
return $this->credit_card_id;
}
/**
* The unique identifier of the payer used when saving this credit card using /vault/credit-card API.
*
@@ -91,31 +66,6 @@ class CreditCardToken extends PayPalModel
return $this->payer_id;
}
/**
* The unique identifier of the payer used when saving this credit card using /vault/credit-card API.
*
* @deprecated Instead use setPayerId
*
* @param string $payer_id
* @return $this
*/
public function setPayer_id($payer_id)
{
$this->payer_id = $payer_id;
return $this;
}
/**
* The unique identifier of the payer used when saving this credit card using /vault/credit-card API.
* @deprecated Instead use getPayerId
*
* @return string
*/
public function getPayer_id()
{
return $this->payer_id;
}
/**
* Last 4 digits of the card number from the saved card.
*
@@ -185,31 +135,6 @@ class CreditCardToken extends PayPalModel
return $this->expire_month;
}
/**
* Expiry month from the saved card, represented as 1 - 12.
*
* @deprecated Instead use setExpireMonth
*
* @param int $expire_month
* @return $this
*/
public function setExpire_month($expire_month)
{
$this->expire_month = $expire_month;
return $this;
}
/**
* Expiry month from the saved card, represented as 1 - 12.
* @deprecated Instead use getExpireMonth
*
* @return int
*/
public function getExpire_month()
{
return $this->expire_month;
}
/**
* Expiry year from the saved card, represented as YYYY format.
*
@@ -233,29 +158,4 @@ class CreditCardToken extends PayPalModel
return $this->expire_year;
}
/**
* Expiry year from the saved card, represented as YYYY format.
*
* @deprecated Instead use setExpireYear
*
* @param int $expire_year
* @return $this
*/
public function setExpire_year($expire_year)
{
$this->expire_year = $expire_year;
return $this;
}
/**
* Expiry year from the saved card, represented as YYYY format.
* @deprecated Instead use getExpireYear
*
* @return int
*/
public function getExpire_year()
{
return $this->expire_year;
}
}