Stripe/Dispute/EvidenceDetails.pm

filter: Statementstmt 66.6% 8 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 42.8% 3 / 7 Podpod 100% 4 / 4 totaltotal 65.2% 15 / 23 CC 1 SCAR 4.5
CC
1
Cov
67%
due_by
2.0
has_evidence
2.0
past_due
2.0
CRAP 1.6
« Stripe/Connect/Account/Link.pm ↑ Summary Stripe/Fraud/Review/Session.pm »
1 ##----------------------------------------------------------------------------
2 ## Stripe API - ~/lib/Net/API/Stripe/Dispute/EvidenceDetails.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::Dispute::EvidenceDetails;
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 due_by { return( shift->_set_get_datetime( 'due_by', @_ ) ); }
Subroutine due_by: not called CC=1 SCAR=6.9
Pod documented
19  
20 0 ▶sub has_evidence { return( shift->_set_get_boolean( 'has_evidence', @_ ) ); }
Subroutine has_evidence: not called CC=1 SCAR=6.9
Pod documented
21  
22 0 ▶sub past_due { return( shift->_set_get_boolean( 'past_due', @_ ) ); }
Subroutine past_due: not called CC=1 SCAR=6.9
Pod documented
23  
24 0 ▶sub submission_count { return( shift->_set_get_scalar( 'submission_count', @_ ) ); }
Subroutine submission_count: not called CC=1 SCAR=6.9
Pod documented
25  
26 1 1;
27  
28 __END__
29  
30 =encoding utf8
31  
32 =head1 NAME
33  
34 Net::API::Stripe::Dispute::EvidenceDetails - Dispute Evidence Details Object
35  
36 =head1 SYNOPSIS
37  
38 my $detail = $dispute->evidence_details({
39 due_by => '2020-04-12',
40 has_evidence => $stripe->true,
41 past_due => '2020-05-01',
42 submission_count => 2,
43 });
44  
45 =head1 VERSION
46  
47 v0.100.0
48  
49 =head1 DESCRIPTION
50  
51 This is instantiated by method B<evidence_details> from module L<Net::API::Stripe::Dispute>
52  
53 =head1 CONSTRUCTOR
54  
55 =over 4
56  
57 =item B<new>( %ARG )
58  
59 Creates a new L<Net::API::Stripe::Dispute::EvidenceDetails> object.
60 It may also take an hash like arguments, that also are method of the same name.
61  
62 =back
63  
64 =head1 METHODS
65  
66 =over 4
67  
68 =item B<due_by> timestamp
69  
70 Date by which evidence must be submitted in order to successfully challenge dispute. Will be null if the customer’s bank or credit card company doesn’t allow a response for this particular dispute.
71  
72 =item B<has_evidence> boolean
73  
74 Whether evidence has been staged for this dispute.
75  
76 =item B<past_due> boolean
77  
78 Whether the last evidence submission was submitted past the due date. Defaults to false if no evidence submissions have occurred. If true, then delivery of the latest evidence is not guaranteed.
79  
80 =item B<submission_count> integer
81  
82 The number of times evidence has been submitted. Typically, you may only submit evidence once.
83  
84 =back
85  
86 =head1 API SAMPLE
87  
88 {
89 "object": "balance",
90 "available": [
91 {
92 "amount": 0,
93 "currency": "jpy",
94 "source_types": {
95 "card": 0
96 }
97 }
98 ],
99 "connect_reserved": [
100 {
101 "amount": 0,
102 "currency": "jpy"
103 }
104 ],
105 "livemode": false,
106 "pending": [
107 {
108 "amount": 7712,
109 "currency": "jpy",
110 "source_types": {
111 "card": 7712
112 }
113 }
114 ]
115 }
116  
117 =head1 HISTORY
118  
119 =head2 v0.1
120  
121 Initial version
122  
123 =head1 AUTHOR
124  
125 Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>
126  
127 =head1 SEE ALSO
128  
129 Stripe API documentation:
130  
131 L<https://stripe.com/docs/api/disputes/object>
132  
133 =head1 COPYRIGHT & LICENSE
134  
135 Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
136  
137 You can use, copy, modify and redistribute this package and associated
138 files under the same terms as Perl itself.
139  
140 =cut
141  
« Stripe/Connect/Account/Link.pm ↑ Summary Stripe/Fraud/Review/Session.pm »