WebService::Braintree::PayPalAccount
This class finds and updates PayPal accounts.
This takes a token and returns the PayPal account (if it exists).
This takes a token and a hashref of parameters. It will update the corresponding PayPal account (if found) and returns the updated PayPal account.
In addition to the methods provided by the keys returned from Braintree, this class provides the following methods:
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.
token()
To install WebService::Braintree, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Braintree
CPAN shell
perl -MCPAN -e shell install WebService::Braintree
For more information on module installation, please visit the detailed CPAN module installation guide.