NAME
Business::GoCardless::Subscription
DESCRIPTION
A class for a gocardless subscription, extends Business::GoCardless::Resource
ATTRIBUTES
Note Pro only API attributes marked with (Pro), Basic only API attributes marked with (Basic)
amount
created_at
currency
day_of_month (Pro)
description
expires_at
end_date (Pro)
id
interval_length
interval_unit
interval (Pro)
links (Pro)
merchant_id
metadata (Pro)
month (Pro)
name
next_interval_start
payment_reference (Pro)
setup_fee
start_at
start_date (Pro)
status
sub_resource_uris
uri
user_id
upcoming_payments (Pro)
Operations on a subscription
cancel
$Subscription->cancel
Cancels a subscription.
Status checks on a subscription
inactive
active
cancelled
expired
if ( $Subscription->active ) {
...
}
AUTHOR
Lee Johnson - 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