Net::Iugu::PaymentMethods - Net::Iugu::PaymentMethods - Methods to manage payment methods
version 0.000002
Implements the API calls to manage payment mathods of Iugu accounts. It is used by the main module Net::Iugu and shouldn't be instantiated directly.
use Net::Iugu::PaymentMethods; my $methods = Net::Iugu::PaymentMethods->new( token => 'my_api_token' ); my $res; $res = $methods->create( $data ); $res = $methods->read( $customer_id, $method_id ); $res = $methods->update( $customer_id, $method_id, $data ); $res = $methods->delete( $customer_id, $method_id ); $res = $methods->list( $params );
For a detailed reference of params and return values check the Official Documentation.
Creates a new payment method for a client.
Returns data of a payment method of a client.
Updates a payment method of a client.
Removes a payment method of a client.
Lists all payment methods of a client.
Blabos de Blebe <blabos@cpan.org>
This software is copyright (c) 2015 by Blabos de Blebe.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::Iugu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Iugu
CPAN shell
perl -MCPAN -e shell install Net::Iugu
For more information on module installation, please visit the detailed CPAN module installation guide.