The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paymill::REST::Item::Refund - Item class for a refund

SYNOPSIS

  my $refund_api = Paymill::REST::Refunds->new;
  $refund = $refund_api->find('refund_lk2j34h5lk34h5lkjh2');

  say $refund->amount;  # Prints amount of the refund

DESCRIPTION

Represents a refund with all attributes and all sub items.

ATTRIBUTES

id

String containing the identifier of the client

amount

Integer containing the assigned amount

description

String containing the assigned description

status

String indicating the current status of the refund. Can be one of:

  • open

  • refunded

  • failed

livemode

Boolean indicating whether this refund has been made with the live keys or not

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 issued this transaction

SUB ITEMS

transaction

A transaction object.

See also Paymill::REST::Item::Transaction.

AVAILABLE OPERATIONS

delete

Paymill::REST::Operations::Delete

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.