| 1 | package Business::GoCardless::BillingRequestFlow; | ||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | Business::GoCardless::BillingRequestFlow | ||
| 6 | |||
| 7 | =head1 DESCRIPTION | ||
| 8 | |||
| 9 | A class for a gocardless billing request flow, extends L<Business::GoCardless::Resource> | ||
| 10 | |||
| 11 | A Billing Request Flow is a hosted flow that the customer is sent to (the | ||
| 12 | C<authorisation_url>) to complete a L<Business::GoCardless::BillingRequest> | ||
| 13 | |||
| 14 | =cut | ||
| 15 | |||
| 16 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | 8 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 8 | extends 'Business::GoCardless::Resource'; | |
| 21 | |||
| 22 | =head1 ATTRIBUTES | ||
| 23 | |||
| 24 | authorisation_url | ||
| 25 | auto_fulfil | ||
| 26 | created_at | ||
| 27 | customer_details_captured | ||
| 28 | exit_uri | ||
| 29 | expires_at | ||
| 30 | id | ||
| 31 | language | ||
| 32 | links | ||
| 33 | lock_bank_account | ||
| 34 | lock_currency | ||
| 35 | lock_customer_details | ||
| 36 | prefilled_bank_account | ||
| 37 | prefilled_customer | ||
| 38 | redirect_uri | ||
| 39 | session_token | ||
| 40 | show_redirect_buttons | ||
| 41 | show_success_redirect_button | ||
| 42 | skip_success_screen | ||
| 43 | |||
| 44 | =cut | ||
| 45 | |||
| 46 | 8 | has [ qw/ | |
| 47 | authorisation_url | ||
| 48 | auto_fulfil | ||
| 49 | created_at | ||
| 50 | customer_details_captured | ||
| 51 | exit_uri | ||
| 52 | expires_at | ||
| 53 | id | ||
| 54 | language | ||
| 55 | links | ||
| 56 | lock_bank_account | ||
| 57 | lock_currency | ||
| 58 | lock_customer_details | ||
| 59 | prefilled_bank_account | ||
| 60 | prefilled_customer | ||
| 61 | redirect_uri | ||
| 62 | session_token | ||
| 63 | show_redirect_buttons | ||
| 64 | show_success_redirect_button | ||
| 65 | skip_success_screen | ||
| 66 | / ] => ( | ||
| 67 | is => 'rw', | ||
| 68 | ); | ||
| 69 | |||
| 70 | =head1 Operations on a billing request flow | ||
| 71 | |||
| 72 | =head2 initialise | ||
| 73 | |||
| 74 | Initialise the flow, returning it with a new C<session_token>: | ||
| 75 | |||
| 76 | $Flow->initialise; | ||
| 77 | |||
| 78 | =cut | ||
| 79 | |||
| 80 | 2 | ▶ | sub initialise { shift->_action( 'initialise',@_ ); } |
|
Subroutine
initialise: called CC=1 SCAR=0.0
Pod
documented
| |||
| 81 | |||
| 82 | =head1 AUTHOR | ||
| 83 | |||
| 84 | Lee Johnson - C<lee@payprop.com> | ||
| 85 | |||
| 86 | This library is free software; you can redistribute it and/or modify it under | ||
| 87 | the same terms as Perl itself. If you would like to contribute documentation, | ||
| 88 | features, bug fixes, or anything else then please raise an issue / pull request: | ||
| 89 | |||
| 90 | https://github.com/payprop/business-gocardless | ||
| 91 | |||
| 92 | =cut | ||
| 93 | |||
| 94 | 8 | 1; | |
| 95 | |||
| 96 | # vim: ts=4:sw=4:et | ||