Stripe/Payment/Source/ACHCreditTransfer.pm

filter: Statementstmt 61.5% 8 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 37.5% 3 / 8 Podpod 80.0% 4 / 5 totaltotal 57.6% 15 / 26 CC 1 SCAR 4.9
CC
1
Cov
62%
account_number
2.0
bank_name
2.0
fingerprint
2.0
CRAP 1.6
« Stripe/Order/ShippingMethod.pm ↑ Summary Stripe/Balance.pm »
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 <@sitael.tokyo.deguest.jp>
6 ## Created 2019/11/02
7 ## Modified 2020/05/15
8 ##
9 ##----------------------------------------------------------------------------
10 package Net::API::Stripe::Payment::Source::ACHCreditTransfer;
11 BEGIN
12 {
13 1 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶ use parent qw( Net::API::Stripe::Generic );
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶ our( $VERSION ) = 'v0.100.0';
Subroutine BEGIN: called CC=1 SCAR=0.0
16 };
17  
18 0 ▶sub account_number { shift->_set_get_scalar( 'account_number', @_ ); }
Subroutine account_number: not called CC=1 SCAR=6.9
Pod documented
19  
20 0 ▶sub bank_name { shift->_set_get_scalar( 'bank_name', @_ ); }
Subroutine bank_name: not called CC=1 SCAR=6.9
Pod documented
21  
22 0 ▶sub fingerprint { shift->_set_get_scalar( 'fingerprint', @_ ); }
Subroutine fingerprint: not called CC=1 SCAR=6.9
Pod undocumented
23  
24 0 ▶sub routing_number { shift->_set_get_scalar( 'routing_number', @_ ); }
Subroutine routing_number: not called CC=1 SCAR=6.9
Pod documented
25  
26 0 ▶sub swift_code { shift->_set_get_scalar( 'swift_code', @_ ); }
Subroutine swift_code: not called CC=1 SCAR=6.9
Pod documented
27  
28 1 1;
29  
30 __END__
31  
32 =encoding utf8
33  
34 =head1 NAME
35  
36 Net::API::Stripe::Payment::Source::ACHCreditTransfer - A Stripe ACH Credit Transfer Object
37  
38 =head1 SYNOPSIS
39  
40 my $ach = $stripe->source->account_number({
41 account_number => 1234567890,
42 bank_name => 'Big Buck, Corp',
43 fingerprint => 'hskfhskjhajl',
44 routing_number => undef,
45 swift_code => 'BIGBKS01',
46 });
47  
48 =head1 VERSION
49  
50 v0.100.0
51  
52 =head1 DESCRIPTION
53  
54 This module contains a snapshot of the transaction specific details of the ach_credit_transfer payment method.
55  
56 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>
57  
58 =head1 CONSTRUCTOR
59  
60 =over 4
61  
62 =item B<new>( %ARG )
63  
64 Creates a new L<Net::API::Stripe::Payment::Source::ACHCreditTransfer> object.
65 It may also take an hash like arguments, that also are method of the same name.
66  
67 =back
68  
69 =head1 METHODS
70  
71 =over 4
72  
73 =item B<account_number> string
74  
75 Account number to transfer funds to.
76  
77 =item B<bank_name> string
78  
79 Name of the bank associated with the routing number.
80  
81 =item B<routing_number> string
82  
83 Routing transit number for the bank account to transfer funds to.
84  
85 =item B<swift_code> string
86  
87 SWIFT code of the bank associated with the routing number.
88  
89 =back
90  
91 =head1 HISTORY
92  
93 =head2 v0.1
94  
95 Initial version
96  
97 =head1 AUTHOR
98  
99 Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>
100  
101 =head1 SEE ALSO
102  
103 Stripe API documentation:
104  
105 L<https://stripe.com/docs/api/payment_methods/object>
106  
107 =head1 COPYRIGHT & LICENSE
108  
109 Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
110  
111 You can use, copy, modify and redistribute this package and associated
112 files under the same terms as Perl itself.
113  
114 =cut
« Stripe/Order/ShippingMethod.pm ↑ Summary Stripe/Balance.pm »