The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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 ) {
    ...
}

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