| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/Dispute/Evidence.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 | ## https://stripe.com/docs/api/disputes/evidence_object | ||
| 11 | package Net::API::Stripe::Dispute::Evidence; | ||
| 12 | BEGIN | ||
| 13 | { | ||
| 14 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 1 | ▶ | use parent qw( Net::API::Stripe::Generic ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 1 | ▶ | our( $VERSION ) = 'v0.100.0'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | }; | ||
| 18 | |||
| 19 | 0 | ▶ | sub access_activity_log { shift->_set_get_scalar( 'access_activity_log', @_ ); } |
|
Subroutine
access_activity_log: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 20 | |||
| 21 | 0 | ▶ | sub billing_address { shift->_set_get_scalar( 'billing_address', @_ ); } |
|
Subroutine
billing_address: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 22 | |||
| 23 | 0 | ▶ | sub cancellation_policy { shift->_set_get_scalar_or_object( 'cancellation_policy', 'Net::API::Stripe::File', @_ ); } |
|
Subroutine
cancellation_policy: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 24 | |||
| 25 | 0 | ▶ | sub cancellation_policy_disclosure { shift->_set_get_scalar( 'cancellation_policy_disclosure', @_ ); } |
|
Subroutine
cancellation_policy_disclosure: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 26 | |||
| 27 | 0 | ▶ | sub cancellation_rebuttal { shift->_set_get_scalar( 'cancellation_rebuttal', @_ ); } |
|
Subroutine
cancellation_rebuttal: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 28 | |||
| 29 | 0 | ▶ | sub customer_communication { shift->_set_get_scalar_or_object( 'customer_communication', 'Net::API::Stripe::File', @_ ); } |
|
Subroutine
customer_communication: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 30 | |||
| 31 | 0 | ▶ | sub customer_email_address { shift->_set_get_scalar( 'customer_email_address', @_ ); } |
|
Subroutine
customer_email_address: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | |||
| 33 | 0 | ▶ | sub customer_name { shift->_set_get_scalar( 'customer_name', @_ ); } |
|
Subroutine
customer_name: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 34 | |||
| 35 | 0 | ▶ | sub customer_purchase_ip { shift->_set_get_scalar( 'customer_purchase_ip', @_ ); } |
|
Subroutine
customer_purchase_ip: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 36 | |||
| 37 | 0 | ▶ | sub customer_signature { shift->_set_get_scalar_or_object( 'customer_signature', 'Net::API::Stripe::File', @_ ); } |
|
Subroutine
customer_signature: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 38 | |||
| 39 | 0 | ▶ | sub duplicate_charge_documentation { shift->_set_get_scalar_or_object( 'duplicate_charge_documentation', 'Net::API::Stripe::File', @_ ); } |
|
Subroutine
duplicate_charge_documentation: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 40 | |||
| 41 | 0 | ▶ | sub duplicate_charge_explanation { shift->_set_get_scalar( 'duplicate_charge_explanation', @_ ); } |
|
Subroutine
duplicate_charge_explanation: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 42 | |||
| 43 | 0 | ▶ | sub duplicate_charge_id { shift->_set_get_scalar( 'duplicate_charge_id', @_ ); } |
|
Subroutine
duplicate_charge_id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | |||
| 45 | 0 | ▶ | sub product_description { shift->_set_get_scalar( 'product_description', @_ ); } |
|
Subroutine
product_description: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 46 | |||
| 47 | 0 | ▶ | sub receipt { shift->_set_get_scalar_or_object( 'receipt', 'Net::API::Stripe::File', @_ ); } |
|
Subroutine
receipt: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 48 | |||
| 49 | 0 | ▶ | sub refund_policy { shift->_set_get_scalar_or_object( 'refund_policy', 'Net::API::Stripe::File', @_ ); } |
|
Subroutine
refund_policy: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 50 | |||
| 51 | 0 | ▶ | sub refund_policy_disclosure { shift->_set_get_scalar( 'refund_policy_disclosure', @_ ); } |
|
Subroutine
refund_policy_disclosure: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 52 | |||
| 53 | 0 | ▶ | sub refund_refusal_explanation { shift->_set_get_scalar( 'refund_refusal_explanation', @_ ); } |
|
Subroutine
refund_refusal_explanation: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 54 | |||
| 55 | 0 | ▶ | sub service_date { shift->_set_get_scalar( 'service_date', @_ ); } |
|
Subroutine
service_date: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 56 | |||
| 57 | 0 | ▶ | sub service_documentation { shift->_set_get_scalar_or_object( 'service_documentation', 'Net::API::Stripe::File', @_ ); } |
|
Subroutine
service_documentation: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 58 | |||
| 59 | 0 | ▶ | sub shipping_address { shift->_set_get_scalar( 'shipping_address', @_ ); } |
|
Subroutine
shipping_address: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 60 | |||
| 61 | 0 | ▶ | sub shipping_carrier { shift->_set_get_scalar( 'shipping_carrier', @_ ); } |
|
Subroutine
shipping_carrier: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 62 | |||
| 63 | 0 | ▶ | sub shipping_date { shift->_set_get_scalar( 'shipping_date', @_ ); } |
|
Subroutine
shipping_date: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 64 | |||
| 65 | 0 | ▶ | sub shipping_documentation { shift->_set_get_scalar_or_object( 'shipping_documentation', 'Net::API::Stripe::File', @_ ); } |
|
Subroutine
shipping_documentation: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 66 | |||
| 67 | 0 | ▶ | sub shipping_tracking_number { shift->_set_get_scalar( 'shipping_tracking_number', @_ ); } |
|
Subroutine
shipping_tracking_number: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 68 | |||
| 69 | 0 | ▶ | sub uncategorized_file { shift->_set_get_scalar_or_object( 'uncategorized_file', 'Net::API::Stripe::File', @_ ); } |
|
Subroutine
uncategorized_file: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 70 | |||
| 71 | 0 | ▶ | sub uncategorized_text { shift->_set_get_scalar( 'uncategorized_text', @_ ); } |
|
Subroutine
uncategorized_text: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 72 | |||
| 73 | 1 | 1; | |
| 74 | |||
| 75 | __END__ | ||
| 76 | |||
| 77 | =encoding utf8 | ||
| 78 | |||
| 79 | =head1 NAME | ||
| 80 | |||
| 81 | Net::API::Stripe::Dispute::Evidence - A Stripe Dispute Evidence Object | ||
| 82 | |||
| 83 | =head1 SYNOPSIS | ||
| 84 | |||
| 85 | my $evidence = $stripe->dispute->evidence({ | ||
| 86 | access_activity_log => null, | ||
| 87 | billing_address => '1-2-3 Kudan-Minami, Chiyoda-ku', | ||
| 88 | cancellation_policy => undef, | ||
| 89 | cancellation_policy_disclosure => undef, | ||
| 90 | cancellation_rebuttal => undef, | ||
| 91 | customer_communication => undef, | ||
| 92 | customer_email_address => 'john.doe@example.com', | ||
| 93 | customer_name => 'John Doe', | ||
| 94 | customer_purchase_ip => '1.2.3.4', | ||
| 95 | customer_signature => undef, | ||
| 96 | duplicate_charge_documentation => undef, | ||
| 97 | duplicate_charge_explanation => undef, | ||
| 98 | duplicate_charge_id => undef, | ||
| 99 | product_description => 'Professional service', | ||
| 100 | receipt => undef, | ||
| 101 | refund_policy => undef, | ||
| 102 | refund_policy_disclosure => undef, | ||
| 103 | refund_refusal_explanation => 'Customer has already used Big Corp, Inc service billed', | ||
| 104 | service_date => '2020-04-07', | ||
| 105 | service_documentation => undef, | ||
| 106 | shipping_address => undef, | ||
| 107 | shipping_carrier => undef, | ||
| 108 | shipping_date => undef, | ||
| 109 | shipping_documentation => undef, | ||
| 110 | shipping_tracking_number => undef, | ||
| 111 | uncategorized_file => undef, | ||
| 112 | uncategorized_text => undef, | ||
| 113 | }); | ||
| 114 | |||
| 115 | =head1 VERSION | ||
| 116 | |||
| 117 | v0.100.0 | ||
| 118 | |||
| 119 | =head1 DESCRIPTION | ||
| 120 | |||
| 121 | A dispute occurs when a customer questions your charge with their card issuer. When this happens, you're given the opportunity to respond to the dispute with evidence that shows that the charge is legitimate. You can find more information about the dispute process in L<Stripe Disputes and Fraud documentation|https://stripe.com/docs/disputes>. | ||
| 122 | |||
| 123 | This is instantiated by method B<evidence> in module L<Net::API::Stripe::Dispute> | ||
| 124 | |||
| 125 | =head1 CONSTRUCTOR | ||
| 126 | |||
| 127 | =over 4 | ||
| 128 | |||
| 129 | =item B<new>( %ARG ) | ||
| 130 | |||
| 131 | Creates a new L<Net::API::Stripe::Dispute::Evidence> object. | ||
| 132 | It may also take an hash like arguments, that also are method of the same name. | ||
| 133 | |||
| 134 | =back | ||
| 135 | |||
| 136 | =head1 METHODS | ||
| 137 | |||
| 138 | =over 4 | ||
| 139 | |||
| 140 | =item B<access_activity_log> string | ||
| 141 | |||
| 142 | Any server or activity logs showing proof that the customer accessed or downloaded the purchased digital product. This information should include IP addresses, corresponding timestamps, and any detailed recorded activity. | ||
| 143 | |||
| 144 | =item B<billing_address> string | ||
| 145 | |||
| 146 | The billing address provided by the customer. | ||
| 147 | |||
| 148 | =item B<cancellation_policy> string (expandable) | ||
| 149 | |||
| 150 | (ID of a file upload) Your subscription cancellation policy, as shown to the customer. | ||
| 151 | |||
| 152 | When expanded, this is a L<Net::API::Stripe::File> object. | ||
| 153 | |||
| 154 | =item B<cancellation_policy_disclosure> string | ||
| 155 | |||
| 156 | An explanation of how and when the customer was shown your refund policy prior to purchase. | ||
| 157 | |||
| 158 | =item B<cancellation_rebuttal> string | ||
| 159 | |||
| 160 | A justification for why the customer’s subscription was not canceled. | ||
| 161 | |||
| 162 | =item B<customer_communication> string (expandable) | ||
| 163 | |||
| 164 | (ID of a file upload) Any communication with the customer that you feel is relevant to your case. Examples include emails proving that the customer received the product or service, or demonstrating their use of or satisfaction with the product or service. | ||
| 165 | |||
| 166 | When expanded, this is a L<Net::API::Stripe::File> object. | ||
| 167 | |||
| 168 | =item B<customer_email_address> string | ||
| 169 | |||
| 170 | The email address of the customer. | ||
| 171 | |||
| 172 | =item B<customer_name> string | ||
| 173 | |||
| 174 | The name of the customer. | ||
| 175 | |||
| 176 | =item B<customer_purchase_ip> string | ||
| 177 | |||
| 178 | The IP address that the customer used when making the purchase. | ||
| 179 | |||
| 180 | =item B<customer_signature> string (expandable) | ||
| 181 | |||
| 182 | (ID of a file upload) A relevant document or contract showing the customer’s signature. | ||
| 183 | |||
| 184 | When expanded, this is a L<Net::API::Stripe::File> object. | ||
| 185 | |||
| 186 | =item B<duplicate_charge_documentation> string (expandable) | ||
| 187 | |||
| 188 | (ID of a file upload) Documentation for the prior charge that can uniquely identify the charge, such as a receipt, shipping label, work order, etc. This document should be paired with a similar document from the disputed payment that proves the two payments are separate. | ||
| 189 | |||
| 190 | When expanded, this is a L<Net::API::Stripe::File> object. | ||
| 191 | |||
| 192 | =item B<duplicate_charge_explanation> string | ||
| 193 | |||
| 194 | An explanation of the difference between the disputed charge versus the prior charge that appears to be a duplicate. | ||
| 195 | |||
| 196 | =item B<duplicate_charge_id> string | ||
| 197 | |||
| 198 | The Stripe ID for the prior charge which appears to be a duplicate of the disputed charge. | ||
| 199 | |||
| 200 | =item B<product_description> string | ||
| 201 | |||
| 202 | A description of the product or service that was sold. | ||
| 203 | |||
| 204 | =item B<receipt> string (expandable) | ||
| 205 | |||
| 206 | (ID of a file upload) Any receipt or message sent to the customer notifying them of the charge. | ||
| 207 | |||
| 208 | When expanded, this is a L<Net::API::Stripe::File> object. | ||
| 209 | |||
| 210 | =item B<refund_policy> string (expandable) | ||
| 211 | |||
| 212 | (ID of a file upload) Your refund policy, as shown to the customer. | ||
| 213 | |||
| 214 | When expanded, this is a L<Net::API::Stripe::File> object. | ||
| 215 | |||
| 216 | =item B<refund_policy_disclosure> string | ||
| 217 | |||
| 218 | Documentation demonstrating that the customer was shown your refund policy prior to purchase. | ||
| 219 | |||
| 220 | =item B<refund_refusal_explanation> string | ||
| 221 | |||
| 222 | A justification for why the customer is not entitled to a refund. | ||
| 223 | |||
| 224 | =item B<service_date> string | ||
| 225 | |||
| 226 | The date on which the customer received or began receiving the purchased service, in a clear human-readable format. | ||
| 227 | |||
| 228 | =item B<service_documentation> string (expandable) | ||
| 229 | |||
| 230 | (ID of a file upload) Documentation showing proof that a service was provided to the customer. This could include a copy of a signed contract, work order, or other form of written agreement. | ||
| 231 | |||
| 232 | When expanded, this is a L<Net::API::Stripe::File> object. | ||
| 233 | |||
| 234 | =item B<shipping_address> string | ||
| 235 | |||
| 236 | The address to which a physical product was shipped. You should try to include as complete address information as possible. | ||
| 237 | |||
| 238 | =item B<shipping_carrier> string | ||
| 239 | |||
| 240 | The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. If multiple carriers were used for this purchase, please separate them with commas. | ||
| 241 | |||
| 242 | =item B<shipping_date> string | ||
| 243 | |||
| 244 | The date on which a physical product began its route to the shipping address, in a clear human-readable format. | ||
| 245 | |||
| 246 | =item B<shipping_documentation> string (expandable) | ||
| 247 | |||
| 248 | (ID of a file upload) Documentation showing proof that a product was shipped to the customer at the same address the customer provided to you. This could include a copy of the shipment receipt, shipping label, etc. It should show the customer’s full shipping address, if possible. | ||
| 249 | |||
| 250 | =item B<shipping_tracking_number> string | ||
| 251 | |||
| 252 | The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. | ||
| 253 | |||
| 254 | =item B<uncategorized_file> string (expandable) | ||
| 255 | |||
| 256 | (ID of a file upload) Any additional evidence or statements. | ||
| 257 | |||
| 258 | =item B<uncategorized_text> string | ||
| 259 | |||
| 260 | Any additional evidence or statements. | ||
| 261 | |||
| 262 | =back | ||
| 263 | |||
| 264 | =head1 API SAMPLE | ||
| 265 | |||
| 266 | { | ||
| 267 | "access_activity_log": null, | ||
| 268 | "billing_address": null, | ||
| 269 | "cancellation_policy": null, | ||
| 270 | "cancellation_policy_disclosure": null, | ||
| 271 | "cancellation_rebuttal": null, | ||
| 272 | "customer_communication": null, | ||
| 273 | "customer_email_address": null, | ||
| 274 | "customer_name": null, | ||
| 275 | "customer_purchase_ip": null, | ||
| 276 | "customer_signature": null, | ||
| 277 | "duplicate_charge_documentation": null, | ||
| 278 | "duplicate_charge_explanation": null, | ||
| 279 | "duplicate_charge_id": null, | ||
| 280 | "product_description": null, | ||
| 281 | "receipt": null, | ||
| 282 | "refund_policy": null, | ||
| 283 | "refund_policy_disclosure": null, | ||
| 284 | "refund_refusal_explanation": null, | ||
| 285 | "service_date": null, | ||
| 286 | "service_documentation": null, | ||
| 287 | "shipping_address": null, | ||
| 288 | "shipping_carrier": null, | ||
| 289 | "shipping_date": null, | ||
| 290 | "shipping_documentation": null, | ||
| 291 | "shipping_tracking_number": null, | ||
| 292 | "uncategorized_file": null, | ||
| 293 | "uncategorized_text": null | ||
| 294 | } | ||
| 295 | |||
| 296 | =head1 HISTORY | ||
| 297 | |||
| 298 | =head2 v0.1 | ||
| 299 | |||
| 300 | Initial version | ||
| 301 | |||
| 302 | =head1 AUTHOR | ||
| 303 | |||
| 304 | Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> | ||
| 305 | |||
| 306 | =head1 SEE ALSO | ||
| 307 | |||
| 308 | Stripe API documentation: | ||
| 309 | |||
| 310 | L<https://stripe.com/docs/api/disputes/evidence_object#dispute_evidence_object> | ||
| 311 | |||
| 312 | =head1 COPYRIGHT & LICENSE | ||
| 313 | |||
| 314 | Copyright (c) 2019-2020 DEGUEST Pte. Ltd. | ||
| 315 | |||
| 316 | You can use, copy, modify and redistribute this package and associated | ||
| 317 | files under the same terms as Perl itself. | ||
| 318 | |||
| 319 | =cut | ||