File Coverage

lib/Net/API/Stripe/Issuing/Dispute/Evidence/Other.pm
Criterion Covered Total %
statement 19 25 76.0
branch n/a
condition n/a
subroutine 7 13 53.8
pod 6 6 100.0
total 32 44 72.7


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