File Coverage

blib/lib/Net/API/Stripe/Payment/BankAccount.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 10 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 <@sitael.tokyo.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   826 use strict;
  1         2  
  1         42  
15 1     1   5 use parent qw( Net::API::Stripe::Connect::ExternalAccount::Bank );
  1         2  
  1         4  
16 1     1   78 our( $VERSION ) = 'v0.100.0';
17             };
18              
19             1;
20              
21             __END__
22              
23             =encoding utf8
24              
25             =head1 NAME
26              
27             Net::API::Stripe::Payment::BankAccount - A Stripe Payment Bank Account Object.
28              
29             =head1 VERSION
30              
31             v0.100.0
32              
33             =head1 DESCRIPTION
34              
35             These bank accounts are payment methods on Customer objects.
36              
37             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.
38              
39             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.
40              
41             The only reason why I am keeping it here, ie because Stripe makes a distinction as mentioned above.
42              
43             =head1 AUTHOR
44              
45             Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>
46              
47             =head1 SEE ALSO
48              
49             Stripe API documentation:
50              
51             L<https://stripe.com/docs/api/customer_bank_accounts>, L<https://stripe.com/docs/payments/ach-bank-transfers>
52              
53             =head1 COPYRIGHT & LICENSE
54              
55             Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
56              
57             You can use, copy, modify and redistribute this package and associated
58             files under the same terms as Perl itself.
59              
60             =cut