NAME
WebService::Braintree::PaymentMethod
PURPOSE
This class creates and finds payment methods.
CLASS METHODS
create()
This takes a hashref of parameters and returns the payment method created.
update()
This takes a token and a hashref of parameters. It will update the corresponding payment method (if found) and returns the updated payment method.
delete()
This takes a token and an optional hashref of parameters. It will delete the corresponding payment method (if found).
The optional hashref can contain the following key(s):
revoke_all_grants
grant()
This takes a token and grants the corresponding payment method (if found).
revoke()
This takes a token and revokes the corresponding payment method (if found).
find()
This takes a token and returns the payment method (if it exists).