| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | ##---------------------------------------------------------------------------- | 
| 2 |  |  |  |  |  |  | ## Stripe API - ~/lib/Net/API/Stripe/Fraud/Review/Session.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::Fraud::Review::Session; | 
| 11 |  |  |  |  |  |  | BEGIN | 
| 12 |  |  |  |  |  |  | { | 
| 13 | 1 |  |  | 1 |  | 854 | use strict; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 29 |  | 
| 14 | 1 |  |  | 1 |  | 5 | use parent qw( Net::API::Stripe::Generic ); | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 5 |  | 
| 15 | 1 |  |  | 1 |  | 132 | our( $VERSION ) = 'v0.100.0'; | 
| 16 |  |  |  |  |  |  | }; | 
| 17 |  |  |  |  |  |  |  | 
| 18 | 0 |  |  | 0 | 1 |  | sub browser { return( shift->_set_get_scalar( 'browser', @_ ) ); } | 
| 19 |  |  |  |  |  |  |  | 
| 20 | 0 |  |  | 0 | 1 |  | sub device { return( shift->_set_get_scalar( 'device', @_ ) ); } | 
| 21 |  |  |  |  |  |  |  | 
| 22 | 0 |  |  | 0 | 1 |  | sub platform { return( shift->_set_get_scalar( 'platform', @_ ) ); } | 
| 23 |  |  |  |  |  |  |  | 
| 24 | 0 |  |  | 0 | 1 |  | sub version { return( shift->_set_get_scalar( 'version', @_ ) ); } | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | 1; | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | __END__ | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =encoding utf8 | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | =head1 NAME | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | Net::API::Stripe::Fraud::Review::Session - A Stripe Fraud Review Session Object | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | This is used in L<Net::API::Stripe::Fraud::Review> | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | my $session = $stripe->review->session({ | 
| 41 |  |  |  |  |  |  | browser => 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', | 
| 42 |  |  |  |  |  |  | device => 'Desktop', | 
| 43 |  |  |  |  |  |  | platform => 'Linux', | 
| 44 |  |  |  |  |  |  | version => '55.0.2883.87', | 
| 45 |  |  |  |  |  |  | }); | 
| 46 |  |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  | =head1 VERSION | 
| 48 |  |  |  |  |  |  |  | 
| 49 |  |  |  |  |  |  | v0.100.0 | 
| 50 |  |  |  |  |  |  |  | 
| 51 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 52 |  |  |  |  |  |  |  | 
| 53 |  |  |  |  |  |  | Information related to the browsing session of the user who initiated the payment. | 
| 54 |  |  |  |  |  |  |  | 
| 55 |  |  |  |  |  |  | This is instantiated by method B<session> in module L<Net::API::Stripe::Fraud::Review> | 
| 56 |  |  |  |  |  |  |  | 
| 57 |  |  |  |  |  |  | =head1 CONSTRUCTOR | 
| 58 |  |  |  |  |  |  |  | 
| 59 |  |  |  |  |  |  | =over 4 | 
| 60 |  |  |  |  |  |  |  | 
| 61 |  |  |  |  |  |  | =item B<new>( %ARG ) | 
| 62 |  |  |  |  |  |  |  | 
| 63 |  |  |  |  |  |  | Creates a new L<Net::API::Stripe::Fraud::Review::Session> object. | 
| 64 |  |  |  |  |  |  | It may also take an hash like arguments, that also are method of the same name. | 
| 65 |  |  |  |  |  |  |  | 
| 66 |  |  |  |  |  |  | =back | 
| 67 |  |  |  |  |  |  |  | 
| 68 |  |  |  |  |  |  | =head1 METHODS | 
| 69 |  |  |  |  |  |  |  | 
| 70 |  |  |  |  |  |  | =over 4 | 
| 71 |  |  |  |  |  |  |  | 
| 72 |  |  |  |  |  |  | =item B<browser> string | 
| 73 |  |  |  |  |  |  |  | 
| 74 |  |  |  |  |  |  | The browser used in this browser session (e.g., Chrome). | 
| 75 |  |  |  |  |  |  |  | 
| 76 |  |  |  |  |  |  | =item B<device> string | 
| 77 |  |  |  |  |  |  |  | 
| 78 |  |  |  |  |  |  | Information about the device used for the browser session (e.g., Samsung SM-G930T). | 
| 79 |  |  |  |  |  |  |  | 
| 80 |  |  |  |  |  |  | =item B<platform> string | 
| 81 |  |  |  |  |  |  |  | 
| 82 |  |  |  |  |  |  | The platform for the browser session (e.g., Macintosh). | 
| 83 |  |  |  |  |  |  |  | 
| 84 |  |  |  |  |  |  | =item B<version> string | 
| 85 |  |  |  |  |  |  |  | 
| 86 |  |  |  |  |  |  | The version for the browser session (e.g., 61.0.3163.100). | 
| 87 |  |  |  |  |  |  |  | 
| 88 |  |  |  |  |  |  | =back | 
| 89 |  |  |  |  |  |  |  | 
| 90 |  |  |  |  |  |  | =head1 API SAMPLE | 
| 91 |  |  |  |  |  |  |  | 
| 92 |  |  |  |  |  |  | { | 
| 93 |  |  |  |  |  |  | "id": "prv_fake123456789", | 
| 94 |  |  |  |  |  |  | "object": "review", | 
| 95 |  |  |  |  |  |  | "billing_zip": null, | 
| 96 |  |  |  |  |  |  | "charge": "ch_fake123456789", | 
| 97 |  |  |  |  |  |  | "closed_reason": null, | 
| 98 |  |  |  |  |  |  | "created": 1571480456, | 
| 99 |  |  |  |  |  |  | "ip_address": null, | 
| 100 |  |  |  |  |  |  | "ip_address_location": null, | 
| 101 |  |  |  |  |  |  | "livemode": false, | 
| 102 |  |  |  |  |  |  | "open": true, | 
| 103 |  |  |  |  |  |  | "opened_reason": "rule", | 
| 104 |  |  |  |  |  |  | "reason": "rule", | 
| 105 |  |  |  |  |  |  | "session": null | 
| 106 |  |  |  |  |  |  | } | 
| 107 |  |  |  |  |  |  |  | 
| 108 |  |  |  |  |  |  | =head1 HISTORY | 
| 109 |  |  |  |  |  |  |  | 
| 110 |  |  |  |  |  |  | =head2 v0.1 | 
| 111 |  |  |  |  |  |  |  | 
| 112 |  |  |  |  |  |  | Initial version | 
| 113 |  |  |  |  |  |  |  | 
| 114 |  |  |  |  |  |  | =head1 AUTHOR | 
| 115 |  |  |  |  |  |  |  | 
| 116 |  |  |  |  |  |  | Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> | 
| 117 |  |  |  |  |  |  |  | 
| 118 |  |  |  |  |  |  | =head1 SEE ALSO | 
| 119 |  |  |  |  |  |  |  | 
| 120 |  |  |  |  |  |  | Stripe API documentation: | 
| 121 |  |  |  |  |  |  |  | 
| 122 |  |  |  |  |  |  | L<https://stripe.com/docs/api> | 
| 123 |  |  |  |  |  |  |  | 
| 124 |  |  |  |  |  |  | =head1 COPYRIGHT & LICENSE | 
| 125 |  |  |  |  |  |  |  | 
| 126 |  |  |  |  |  |  | Copyright (c) 2019-2020 DEGUEST Pte. Ltd. | 
| 127 |  |  |  |  |  |  |  | 
| 128 |  |  |  |  |  |  | You can use, copy, modify and redistribute this package and associated | 
| 129 |  |  |  |  |  |  | files under the same terms as Perl itself. | 
| 130 |  |  |  |  |  |  |  | 
| 131 |  |  |  |  |  |  | =cut |