++ed by:

1 non-PAUSE user.

Kieren Diment

NAME

WebService::Braintree::PayPalAccount

PURPOSE

This class finds, creates, updates, and deletes PayPal accounts.

CLASS METHODS

find()

This takes a token and returns the PayPal account (if it exists).

create()

This takes a hashref of parameters. It will create a PayPal account.

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.

delete()

This takes a token and deletes the corresponding PayPal account (if found).

sale()

This takes a token and a hashref of transaction parameters and creates a sale with that token.

TODO

Need to document the keys and values that are returned
Need to document the required and optional input parameters
Need to document the possible errors/exceptions