Paymill::REST::Item::Offer - Item class for an offer
my $offer_api = Paymill::REST::Offers->new; $offer = $offer_api->find('offer_lk2j34h5lk34h5lkjh2'); say $offer->name; # Prints name assigned to the offer
Represents an offer with all attributes.
String containing the identifier of the client
String containing the assigned name
Integer containing the assigned amount
String containing the currency in which the amount will be charged
String representing the interval in which the amount will be charged
Integer representing the defined trial days
Hashref with keys active and inactive
active
inactive
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
String representing the app id that created this offer
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.