Paymill::REST::Item::Refund - Item class for a refund
my $refund_api = Paymill::REST::Refunds->new; $refund = $refund_api->find('refund_lk2j34h5lk34h5lkjh2'); say $refund->amount; # Prints amount of the refund
Represents a refund with all attributes and all sub items.
String containing the identifier of the client
Integer containing the assigned amount
String containing the assigned description
String indicating the current status of the refund. Can be one of:
open
refunded
failed
Boolean indicating whether this refund 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
String representing the app id that issued this transaction
A transaction object.
See also Paymill::REST::Item::Transaction.
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.