Paymill::REST::Item::Subscription - Item class for a subscription
my $subscription_api = Paymill::REST::Subscriptions->new; $subscription = $subscription_api->find('sub_lk2j34h5lk34h5lkjh2'); say $subscription->id; # Prints the id of the subscription
Represents a subscription with all attributes and all sub items.
String containing the identifier of the client
Boolean indicating whether this preauthorization has been made with the live keys or not
DateTime object indicating the date of the creation as returned by the API
DateTime object indicating the date of the last update as returned by the API
DateTime object indicating the cancellation date of the subcription
DateTime object indicating the date the trial period started
DateTime object indicating the date the trial period ended
DateTime object indicating the date of the next charging, or boolean if subscription is cancelled
Boolean indicating whether the subscription will be cancelled at the end of this period
String representing the app id that created this subscription
A client object.
See also Paymill::REST::Item::Client.
An offer object.
See also Paymill::REST::Item::Offer.
A payment object.
See also Paymill::REST::Item::Payment.
Paymill::REST::Operations::Delete
Paymill::REST for more documentation.
Matthias Dietrich <perl@rainboxx.de>
Copyright 2013 - Matthias Dietrich
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Paymill::REST, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paymill::REST
CPAN shell
perl -MCPAN -e shell install Paymill::REST
For more information on module installation, please visit the detailed CPAN module installation guide.