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