NAME

Business::GoCardless::Payment

DESCRIPTION

A class for a gocardless payment, extends Business::GoCardless::Resource

ATTRIBUTES

amount
amount_refunded
charge_date
created_at
currency
description
fx
id
links
metadata
reference
retry_if_possible
status

Operations on a payment

retry
cancel
refund

$Payment->retry if $Payment->failed;

Status checks on a payment

pending
paid
failed
chargedback
cancelled
withdrawn
refunded
submitted
confirmed

if ( $Payment->failed ) {
    ...
}

payout_id

mandate_id

creditor_id

Accessors for details found in the links section

AUTHOR

Lee Johnson - leejo@cpan.org

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation, features, bug fixes, or anything else then please raise an issue / pull request:

https://github.com/Humanstate/business-gocardless