Paymill::REST::Item::Payment - Item class for a payment
my $payment_api = Paymill::REST::Payments->new; $payment = $payment_api->find('pay_lk2j34h5lk34h5lkjh2'); say $payment->last4; # Prints last4 of the payment
Represents a payment with all attributes.
String containing the identifier of the payment
String identifying the type of the payment, can be either creditcard or debit
creditcard
debit
String containing the identifier of the client
Integer representing the expiry month of the credit card
Integer representing the expiry year of the credit card
Integer representing the last four digits of the credit card
String containing the card type eg. visa, mastercard
String containing the name of the card holder
String representing the country of the credit card
String containing the bank code
String containing the account number
String containing the name of the account holder
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 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.