Paymill::REST::Item::Preauthorization - Item class for a preauthorization
my $preauth_api = Paymill::REST::Preauthorizations->new; $preauth = $preauth_api->find('preauth_lk2j34h5lk34h5lkjh2'); say $preauth->amount; # Prints amount of the preauthorization
Represents a preauthorization with all attributes and all sub items.
String containing the identifier of the client
Integer containing the assigned amount
String containing the currency for the amount
String indicating the current status of the preauthorization. Can be one of:
open
pending
closed
failed
deleted
preauth
Boolean indicating whether this preauthorization 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 created this preauthorization
A client object.
See also Paymill::REST::Item::Client.
A payment object.
See also Paymill::REST::Item::Payment.
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.