The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::GoCardless::Bill

DESCRIPTION

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

ATTRIBUTES

    amount
    amount_minus_fees
    can_be_cancelled
    can_be_retried
    charge_customer_at
    created_at
    currency
    description
    gocardless_fees
    id
    is_setup_fee
    merchant_id
    name
    paid_at
    partner_fees
    payout_id
    source_id
    source_type
    status
    uri
    user_id

Operations on a bill

    retry
    cancel
    refund

    $Bill->retry if $Bill->failed;

Status checks on a bill

    pending
    paid
    failed
    chargedback
    cancelled
    withdrawn
    refunded

    if ( $Bill->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