NAME
Paymill::REST::Item::Offer - Item class for an offer
SYNOPSIS
my $offer_api = Paymill::REST::Offers->new;
$offer = $offer_api->find('offer_lk2j34h5lk34h5lkjh2');
say $offer->name;  # Prints name assigned to the offer
DESCRIPTION
Represents an offer with all attributes.
ATTRIBUTES
- id
 - 
String containing the identifier of the client
 - name
 - 
String containing the assigned name
 - amount
 - 
Integer containing the assigned amount
 - currency
 - 
String containing the currency in which the amount will be charged
 - interval
 - 
String representing the interval in which the amount will be charged
 - trial_period_days
 - 
Integer representing the defined trial days
 - subscription_count
 - 
Hashref with keys
activeandinactive - created_at
 - 
DateTime object indicating the date of the creation as returned by the API
 - updated_at
 - 
DateTime object indicating the date of the last update as returned by the API
 - app_id
 - 
String representing the app id that created this offer
 
AVAILABLE OPERATIONS
SEE ALSO
Paymill::REST for more documentation.
AUTHOR
Matthias Dietrich <perl@rainboxx.de>
COPYRIGHT
Copyright 2013 - Matthias Dietrich
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.