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
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 for more documentation.
Matthias Dietrich <firstname.lastname@example.org>
Copyright 2013 - Matthias Dietrich
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.