Business::GoCardless::Subscription
A class for a gocardless subscription, extends Business::GoCardless::Resource
amount created_at currency day_of_month description expires_at end_date id interval_length interval_unit interval links merchant_id metadata month name next_interval_start payment_reference setup_fee start_at start_date status sub_resource_uris uri user_id upcoming_payments
cancel $Subscription->cancel
Cancels a subscription.
inactive active cancelled expired if ( $Subscription->active ) { ... }
Lee Johnson - leejo@cpan.org
leejo@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation, features, bug fixes, or anything else then please raise an issue / pull request:
https://github.com/Humanstate/business-gocardless
To install Business::GoCardless, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::GoCardless
CPAN shell
perl -MCPAN -e shell install Business::GoCardless
For more information on module installation, please visit the detailed CPAN module installation guide.