File Coverage

lib/Net/API/Stripe/Issuing/Dispute/Evidence/Fraudulent.pm
Criterion Covered Total %
statement 19 23 82.6
branch n/a
condition n/a
subroutine 7 11 63.6
pod 4 4 100.0
total 30 38 78.9


line stmt bran cond sub pod time code
1             ##----------------------------------------------------------------------------
2             ## Stripe API - ~/lib/Net/API/Stripe/Issuing/Dispute/Evidence/Fraudulent.pm
3             ## Version v0.100.0
4             ## Copyright(c) 2020 DEGUEST Pte. Ltd.
5             ## Author: Jacques Deguest <jack@deguest.jp>
6             ## Created 2019/11/02
7             ## Modified 2020/05/15
8             ## All rights reserved
9             ##
10             ## This program is free software; you can redistribute it and/or modify it
11             ## under the same terms as Perl itself.
12             ##----------------------------------------------------------------------------
13             BEGIN
14             {
15             use strict;
16 1     1   1020 use warnings;
  1         2  
  1         30  
17 1     1   5 use parent qw( Net::API::Stripe::Generic );
  1         2  
  1         29  
18 1     1   5 use vars qw( $VERSION );
  1         2  
  1         5  
19 1     1   89 our( $VERSION ) = 'v0.100.0';
  1         3  
  1         66  
20 1     1   21 };
21              
22             use strict;
23 1     1   6 use warnings;
  1         2  
  1         31  
24 1     1   6  
  1         2  
  1         155  
25              
26 0     0 1    
27              
28 0     0 1    
29             1;
30 0     0 1    
31              
32 0     0 1   =encoding utf8
33              
34             =head1 NAME
35              
36             Net::API::Stripe::Issuing::Dispute::Evidence::Fraudulent - A Stripe Issued Card Evidence Object
37              
38             =head1 SYNOPSIS
39              
40             my $fraud = $stripe->issuing_dispute->evidence->fraudulent({
41             dispute_explanation => 'Service not provided',
42             uncategorized_file => $file_object,
43             });
44              
45             =head1 VERSION
46              
47             v0.100.0
48              
49             =head1 DESCRIPTION
50              
51             Evidence to support a fraudulent dispute. This will only be present if your dispute’s reason is fraudulent.
52              
53             This is instantiated by method B<fraudulent> in module L<Net::API::Stripe::Issuing::Dispute>
54              
55             =head1 CONSTRUCTOR
56              
57             =head2 new( %ARG )
58              
59             Creates a new L<Net::API::Stripe::Issuing::Dispute::Evidence::Fraudulent> object.
60             It may also take an hash like arguments, that also are method of the same name.
61              
62             =head1 METHODS
63              
64             =head2 additional_documentation expandable
65              
66             (ID of a L<file upload|https://stripe.com/docs/guides/file-upload>) Additional documentation supporting the dispute.
67              
68             When expanded this is an L<Net::API::Stripe::File> object.
69              
70             =head2 dispute_explanation string
71              
72             Brief freeform text explaining why you are disputing this transaction.
73              
74             =head2 explanation string
75              
76             Explanation of why the cardholder is disputing this transaction.
77              
78             =head2 uncategorized_file string (expandable)
79              
80             (ID of a file upload) Additional file evidence supporting your dispute.
81              
82             When expanded, this is a L<Net::API::Stripe::File> object.
83              
84             =head1 API SAMPLE
85              
86             {
87             "id": "idp_fake123456789",
88             "object": "issuing.dispute",
89             "amount": 100,
90             "created": 1571480456,
91             "currency": "usd",
92             "disputed_transaction": "ipi_fake123456789",
93             "evidence": {
94             "fraudulent": {
95             "dispute_explanation": "Fraud; card reported lost on 10/19/2019",
96             "uncategorized_file": null
97             },
98             "other": null
99             },
100             "livemode": false,
101             "metadata": {},
102             "reason": "fraudulent",
103             "status": "under_review"
104             }
105              
106             =head1 HISTORY
107              
108             =head2 v0.1
109              
110             Initial version
111              
112             =head1 AUTHOR
113              
114             Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>
115              
116             =head1 SEE ALSO
117              
118             Stripe API documentation:
119              
120             L<https://stripe.com/docs/api/issuing/disputes>, L<https://stripe.com/docs/issuing/disputes>
121              
122             =head1 COPYRIGHT & LICENSE
123              
124             Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
125              
126             You can use, copy, modify and redistribute this package and associated
127             files under the same terms as Perl itself.
128              
129             =cut