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

@@ -44,31 +44,6 @@ class FundingInstrument extends PayPalModel
return $this->credit_card;
}
/**
* Credit Card information.
*
* @deprecated Instead use setCreditCard
*
* @param \PayPal\Api\CreditCard $credit_card
* @return $this
*/
public function setCredit_card($credit_card)
{
$this->credit_card = $credit_card;
return $this;
}
/**
* Credit Card information.
* @deprecated Instead use getCreditCard
*
* @return \PayPal\Api\CreditCard
*/
public function getCredit_card()
{
return $this->credit_card;
}
/**
* Credit Card information.
*
@@ -92,31 +67,6 @@ class FundingInstrument extends PayPalModel
return $this->credit_card_token;
}
/**
* Credit Card information.
*
* @deprecated Instead use setCreditCardToken
*
* @param \PayPal\Api\CreditCardToken $credit_card_token
* @return $this
*/
public function setCredit_card_token($credit_card_token)
{
$this->credit_card_token = $credit_card_token;
return $this;
}
/**
* Credit Card information.
* @deprecated Instead use getCreditCardToken
*
* @return \PayPal\Api\CreditCardToken
*/
public function getCredit_card_token()
{
return $this->credit_card_token;
}
/**
* Payment Card information.
*
@@ -140,31 +90,6 @@ class FundingInstrument extends PayPalModel
return $this->payment_card;
}
/**
* Payment Card information.
*
* @deprecated Instead use setPaymentCard
*
* @param \PayPal\Api\PaymentCard $payment_card
* @return $this
*/
public function setPayment_card($payment_card)
{
$this->payment_card = $payment_card;
return $this;
}
/**
* Payment Card information.
* @deprecated Instead use getPaymentCard
*
* @return \PayPal\Api\PaymentCard
*/
public function getPayment_card()
{
return $this->payment_card;
}
/**
* Payment card token information.
*
@@ -188,31 +113,6 @@ class FundingInstrument extends PayPalModel
return $this->payment_card_token;
}
/**
* Payment card token information.
*
* @deprecated Instead use setPaymentCardToken
*
* @param \PayPal\Api\PaymentCardToken $payment_card_token
* @return $this
*/
public function setPayment_card_token($payment_card_token)
{
$this->payment_card_token = $payment_card_token;
return $this;
}
/**
* Payment card token information.
* @deprecated Instead use getPaymentCardToken
*
* @return \PayPal\Api\PaymentCardToken
*/
public function getPayment_card_token()
{
return $this->payment_card_token;
}
/**
* Bank Account information.
*
@@ -236,31 +136,6 @@ class FundingInstrument extends PayPalModel
return $this->bank_account;
}
/**
* Bank Account information.
*
* @deprecated Instead use setBankAccount
*
* @param \PayPal\Api\ExtendedBankAccount $bank_account
* @return $this
*/
public function setBank_account($bank_account)
{
$this->bank_account = $bank_account;
return $this;
}
/**
* Bank Account information.
* @deprecated Instead use getBankAccount
*
* @return \PayPal\Api\ExtendedBankAccount
*/
public function getBank_account()
{
return $this->bank_account;
}
/**
* Bank Account information.
*
@@ -284,31 +159,6 @@ class FundingInstrument extends PayPalModel
return $this->bank_account_token;
}
/**
* Bank Account information.
*
* @deprecated Instead use setBankAccountToken
*
* @param \PayPal\Api\BankToken $bank_account_token
* @return $this
*/
public function setBank_account_token($bank_account_token)
{
$this->bank_account_token = $bank_account_token;
return $this;
}
/**
* Bank Account information.
* @deprecated Instead use getBankAccountToken
*
* @return \PayPal\Api\BankToken
*/
public function getBank_account_token()
{
return $this->bank_account_token;
}
/**
* Credit funding information.
*