NAME
WebService::Braintree::PayPalAccount
PURPOSE
This class finds and updates PayPal accounts.
CLASS METHODS
find()
This takes a token and returns the PayPal account (if it exists).
update()
This takes a token and a hashref of parameters. It will update the corresponding PayPal account (if found) and returns the updated PayPal account.
OBJECT METHODS
In addition to the methods provided by the keys returned from Braintree, this class provides the following methods:
email()
NOTES
Most of the classes normally used in WebService::Braintree inherit from "" in WebService::Braintree::ResultObject. This class, however, inherits from "" in WebService::Braintree::PaymentMethod. The primary benefit of this is that these objects have a token()
attribute.