File Coverage

lib/Net/API/Stripe/Payment/BankAccount.pm
Criterion Covered Total %
statement 19 19 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 26 26 100.0


line stmt bran cond sub pod time code
1             ##----------------------------------------------------------------------------
2             ## Stripe API - ~/lib/Net/API/Stripe/Payment/BankAccount.pm
3             ## Version v0.100.0
4             ## Copyright(c) 2019 DEGUEST Pte. Ltd.
5             ## Author: Jacques Deguest <jack@deguest.jp>
6             ## Created 2019/11/02
7             ## Modified 2020/05/15
8             ##
9             ##----------------------------------------------------------------------------
10             ## https://stripe.com/docs/api/customer_bank_accounts/object
11             package Net::API::Stripe::Payment::BankAccount;
12             BEGIN
13             {
14 1     1   1015 use strict;
  1         3  
  1         34  
15 1     1   7 use warnings;
  1         1  
  1         34  
16 1     1   6 use parent qw( Net::API::Stripe::Connect::ExternalAccount::Bank );
  1         2  
  1         6  
17 1     1   79 use vars qw( $VERSION );
  1         4  
  1         47  
18 1     1   32 our( $VERSION ) = 'v0.100.0';
19             };
20              
21 1     1   7 use strict;
  1         3  
  1         24  
22 1     1   5 use warnings;
  1         2  
  1         46  
23              
24             1;
25              
26             __END__
27              
28             =encoding utf8
29              
30             =head1 NAME
31              
32             Net::API::Stripe::Payment::BankAccount - A Stripe Payment Bank Account Object.
33              
34             =head1 VERSION
35              
36             v0.100.0
37              
38             =head1 DESCRIPTION
39              
40             These bank accounts are payment methods on Customer objects.
41              
42             On the other hand External Accounts (L<Net::API::Stripe::Connect::Account::ExternalAccounts> / L<https://stripe.com/docs/api#external_accounts>) are transfer destinations on Account objects for Custom accounts (L<https://stripe.com/docs/connect/custom-accounts>). They can be bank accounts or debit cards as well, and are documented in the links above.
43              
44             That being said, all the methods are exactly the same as L<Net::API::Stripe::Connect::ExternalAccount::Bank> so this module inherits 100% from it.
45              
46             The only reason why I am keeping it here, ie because Stripe makes a distinction as mentioned above.
47              
48             =head1 AUTHOR
49              
50             Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>
51              
52             =head1 SEE ALSO
53              
54             Stripe API documentation:
55              
56             L<https://stripe.com/docs/api/customer_bank_accounts>, L<https://stripe.com/docs/payments/ach-bank-transfers>
57              
58             =head1 COPYRIGHT & LICENSE
59              
60             Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
61              
62             You can use, copy, modify and redistribute this package and associated
63             files under the same terms as Perl itself.
64              
65             =cut