File Coverage

blib/lib/Net/API/Stripe/Payment/Card.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/Card.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/cards/object
11             package Net::API::Stripe::Payment::Card;
12             BEGIN
13             {
14 1     1   824 use strict;
  1         2  
  1         27  
15 1     1   5 use parent qw( Net::API::Stripe::Connect::ExternalAccount::Card );
  1         2  
  1         5  
16 1     1   77 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::Card - A Stripe Payment Card Object
28              
29             =head1 VERSION
30              
31             v0.100.0
32              
33             =head1 DESCRIPTION
34              
35             You can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later.
36              
37             That being said, all the methods are exactly the same as L<Net::API::Stripe::Connect::ExternalAccount::Card> so this module inherits 100% from it.
38              
39             The only reason why I am keeping it here, ie because Stripe makes a distinction as mentioned above.
40              
41             =head1 AUTHOR
42              
43             Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>
44              
45             =head1 SEE ALSO
46              
47             Stripe API documentation:
48              
49             L<https://stripe.com/docs/api/cards>, L<https://stripe.com/docs/sources/cards>
50              
51             =head1 COPYRIGHT & LICENSE
52              
53             Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
54              
55             You can use, copy, modify and redistribute this package and associated
56             files under the same terms as Perl itself.
57              
58             =cut