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 deletes the corresponding payment method (if found).
find()
This takes a token and returns the payment method (if it exists).
OBJECT METHODS
In addition to the methods provided by the keys returned from Braintree, this class provides the following methods: