WebService::Braintree::Address
This class creates, updates, deletes, and finds addresses.
This takes a hashref of parameters and returns the address created.
This takes a customer_id and an address_id and returns the address (if it exists).
This takes a customer_id, an address_id, and a hashref of parameters. It will update the corresponding address (if found) and returns the updated address.
This takes a customer_id and an address_id and deletes the corresponding address (if found).
In addition to the methods provided by the keys returned from Braintree, this class provides the following methods:
This returns the full name of this address. This is the first_name and the last_name concatenated with a space.
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.