NAME
Business::GoCardless::Refund
DESCRIPTION
A class for a gocardless refund, extends Business::GoCardless::Resource
ATTRIBUTES
amount
created_at
currency
fx
id
links
metadata
reference
status
Operations on a refund
update
Update the refund's metadata, returns the updated Refund object:
$Refund->update( metadata => { ... } );
Status checks on a refund
created
pending_submission
submitted
paid
cancelled
bounced
funds_returned
if ( $Refund->paid ) {
...
}
Links
payment_id
mandate_id
Shortcut methods to get the IDs of the linked resources
AUTHOR
Lee Johnson - lee@payprop.com
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/payprop/business-gocardless