Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Breaking Changes 1.0.0

Jay edited this page Mar 10, 2015 · 2 revisions

Removed Deprecated Getter Setters from all Model Classes

  • All getters and setters with under_score are removed. Please use CamelCase syntax. E.g. instead of using get_notify_url(), use getNotifyUrl() instead

Renamed Classes

Old Name New Name
PayPal\Common\PPModel PayPal\Common\PayPalModel
PayPal\Common\PPModel PayPal\Common\PayPalModel
PayPal\Common\ResourceModel PayPal\Common\PayPalResourceModel
PayPal\Common\PPUserAgent PayPal\Common\PayPalUserAgent
PayPal\Core\PPConfigManager PayPal\Core\PayPalConfigManager
PayPal\Core\PPConstants PayPal\Core\PayPalConstants
PayPal\Core\PPCredentialManager PayPal\Core\PayPalCredentialManager
PayPal\Core\PPHttpConfig PayPal\Core\PayPalHttpConfig
PayPal\Core\PPHttpConnection PayPal\Core\PayPalHttpConnection
PayPal\Core\PPLoggingLevel PayPal\Core\PayPalLoggingLevel
PayPal\Core\PPLoggingManager PayPal\Core\PayPalLoggingManager
PayPal\Exception\PPConfigurationException PayPal\Exception\PayPalConfigurationException
PayPal\Exception\PPConnectionException PayPal\Exception\PayPalConnectionException
PayPal\Exception\PPInvalidCredentialException PayPal\Exception\PayPalInvalidCredentialException
PayPal\Exception\PPMissingCredentialException PayPal\Exception\PayPalMissingCredentialException
PayPal\Handler\IPPHandler PayPal\Handler\IPayPalHandler
PayPal\Transport\PPRestCall PayPal\Transport\PayPalRestCall

Namespace Changes and Class Naming Convention

Old Name New Name
PayPal\Common\FormatConverter PayPal\Converter\FormatConverter
PayPal\Rest\RestHandler PayPal\Handler\RestHandler
PayPal\Rest\OauthHandler PayPal\Handler\OauthHandler

Fixes to Methods

Old Name New Name
PayPal\Api\Invoice->getPaymentDetails() PayPal\Api\Invoice->getPayments()
PayPal\Api\Invoice->getRefundDetails() PayPal\Api\Invoice->getRefunds()