File Coverage

lib/Net/API/Stripe/Payment/Source/ACHCreditTransfer.pm
Criterion Covered Total %
statement 19 24 79.1
branch n/a
condition n/a
subroutine 7 12 58.3
pod 4 5 80.0
total 30 41 73.1


line stmt bran cond sub pod time code
1             ##----------------------------------------------------------------------------
2             ## Stripe API - ~/lib/Net/API/Stripe/Payment/Source/ACHCreditTransfer.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             BEGIN
11             {
12             use strict;
13 1     1   1117 use warnings;
  1         3  
  1         33  
14 1     1   5 use parent qw( Net::API::Stripe::Generic );
  1         3  
  1         31  
15 1     1   5 use vars qw( $VERSION );
  1         3  
  1         5  
16 1     1   71 our( $VERSION ) = 'v0.100.0';
  1         2  
  1         49  
17 1     1   21 };
18              
19             use strict;
20 1     1   5 use warnings;
  1         3  
  1         37  
21 1     1   7  
  1         2  
  1         172  
22              
23 0     0 1    
24              
25 0     0 1    
26              
27 0     0 0   1;
28              
29 0     0 1    
30             =encoding utf8
31 0     0 1    
32             =head1 NAME
33              
34             Net::API::Stripe::Payment::Source::ACHCreditTransfer - A Stripe ACH Credit Transfer Object
35              
36             =head1 SYNOPSIS
37              
38             my $ach = $stripe->source->account_number({
39             account_number => 1234567890,
40             bank_name => 'Big Buck, Corp',
41             fingerprint => 'hskfhskjhajl',
42             routing_number => undef,
43             swift_code => 'BIGBKS01',
44             });
45              
46             =head1 VERSION
47              
48             v0.100.0
49              
50             =head1 DESCRIPTION
51              
52             This module contains a snapshot of the transaction specific details of the ach_credit_transfer payment method.
53              
54             This is instantiated by method B<ach_credit_transfer> in module L<Net::API::Stripe::Payment::Method::Details> and L<Net::API::Stripe::Payment::Source>
55              
56             =head1 CONSTRUCTOR
57              
58             =head2 new( %ARG )
59              
60             Creates a new L<Net::API::Stripe::Payment::Source::ACHCreditTransfer> object.
61             It may also take an hash like arguments, that also are method of the same name.
62              
63             =head1 METHODS
64              
65             =head2 account_number string
66              
67             Account number to transfer funds to.
68              
69             =head2 bank_name string
70              
71             Name of the bank associated with the routing number.
72              
73             =head2 routing_number string
74              
75             Routing transit number for the bank account to transfer funds to.
76              
77             =head2 swift_code string
78              
79             SWIFT code of the bank associated with the routing number.
80              
81             =head1 HISTORY
82              
83             =head2 v0.1
84              
85             Initial version
86              
87             =head1 AUTHOR
88              
89             Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>
90              
91             =head1 SEE ALSO
92              
93             Stripe API documentation:
94              
95             L<https://stripe.com/docs/api/payment_methods/object>
96              
97             =head1 COPYRIGHT & LICENSE
98              
99             Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
100              
101             You can use, copy, modify and redistribute this package and associated
102             files under the same terms as Perl itself.
103              
104             =cut