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:
@@ -70,31 +70,6 @@ class BankAccountsList extends PayPalModel
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* A list of bank account resources
|
||||
*
|
||||
* @deprecated Instead use setBankAccounts
|
||||
*
|
||||
* @param \PayPal\Api\BankAccount $bank-accounts
|
||||
* @return $this
|
||||
*/
|
||||
public function setBank_accounts($bank_accounts)
|
||||
{
|
||||
$this->{"bank-accounts"} = $bank_accounts;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* A list of bank account resources
|
||||
* @deprecated Instead use getBankAccounts
|
||||
*
|
||||
* @return \PayPal\Api\BankAccount
|
||||
*/
|
||||
public function getBank_accounts()
|
||||
{
|
||||
return $this->{"bank-accounts"};
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items.
|
||||
*
|
||||
@@ -141,29 +116,4 @@ class BankAccountsList extends PayPalModel
|
||||
return $this->next_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Identifier of the next element to get the next range of results.
|
||||
*
|
||||
* @deprecated Instead use setNextId
|
||||
*
|
||||
* @param string $next_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setNext_id($next_id)
|
||||
{
|
||||
$this->next_id = $next_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Identifier of the next element to get the next range of results.
|
||||
* @deprecated Instead use getNextId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNext_id()
|
||||
{
|
||||
return $this->next_id;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user