| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/Customer/TaxInfoVerification.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::Customer::TaxInfoVerification; | ||
| 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 additional_document { return( shift->_set_get_object( 'additional_document', 'Net::API::Stripe::Connect::Account::Document', @_ ) ); } |
|
Subroutine
additional_document: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 19 | |||
| 20 | 0 | ▶ | sub details { return( shift->_set_get_scalar( 'details', @_ ) ); } |
|
Subroutine
details: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 21 | |||
| 22 | 0 | ▶ | sub details_code { return( shift->_set_get_scalar( 'details_code', @_ ) ); } |
|
Subroutine
details_code: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 23 | |||
| 24 | 0 | ▶ | sub document { return( shift->_set_get_object( 'document', 'Net::API::Stripe::Connect::Account::Document', @_ ) ); } |
|
Subroutine
document: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 25 | |||
| 26 | ## Can be either pending, unavailable, unverified, or verified | ||
| 27 | 0 | ▶ | sub status { return( shift->_set_get_scalar( 'status', @_ ) ); } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 28 | |||
| 29 | 0 | ▶ | sub verified_address { return( shift->_set_get_scalar( 'verified_address', @_ ) ); } |
|
Subroutine
verified_address: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 30 | |||
| 31 | 0 | ▶ | sub verified_name { return( shift->_set_get_scalar( 'verified_name', @_ ) ); } |
|
Subroutine
verified_name: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | |||
| 33 | 1 | 1; | |
| 34 | |||
| 35 | __END__ | ||
| 36 | |||
| 37 | =encoding utf8 | ||
| 38 | |||
| 39 | =head1 NAME | ||
| 40 | |||
| 41 | Net::API::Stripe::Customer::TaxInfoVerification - A Customer Tax Verification Object | ||
| 42 | |||
| 43 | =head1 SYNOPSIS | ||
| 44 | |||
| 45 | my $tx_info = $stripe->customer->tax_info_verification({ | ||
| 46 | additional_document => $account_document_object, | ||
| 47 | details => 'Provided identity information could not be verified', | ||
| 48 | details_code => 'document_name_mismatch', | ||
| 49 | document => $account_document_object, | ||
| 50 | status => 'pending', | ||
| 51 | }); | ||
| 52 | |||
| 53 | =head1 VERSION | ||
| 54 | |||
| 55 | v0.100.0 | ||
| 56 | |||
| 57 | =head1 DESCRIPTION | ||
| 58 | |||
| 59 | This is instantiated by method B<tax_info_verification> in module B<Net::API::Stripe::Customer> | ||
| 60 | |||
| 61 | =head1 CONSTRUCTOR | ||
| 62 | |||
| 63 | =over 4 | ||
| 64 | |||
| 65 | =item B<new>( %ARG ) | ||
| 66 | |||
| 67 | Creates a new L<Net::API::Stripe::Customer::TaxInfoVerification> object. | ||
| 68 | It may also take an hash like arguments, that also are method of the same name. | ||
| 69 | |||
| 70 | =back | ||
| 71 | |||
| 72 | =head1 METHODS | ||
| 73 | |||
| 74 | =over 4 | ||
| 75 | |||
| 76 | =item B<additional_document> hash | ||
| 77 | |||
| 78 | A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. | ||
| 79 | |||
| 80 | This is a L<Net::API::Stripe::Connect::Account::Document> object. | ||
| 81 | |||
| 82 | =item B<details> string | ||
| 83 | |||
| 84 | A user-displayable string describing the verification state for the person. For example, this may say “Provided identity information could not be verified”. | ||
| 85 | |||
| 86 | =item B<details_code> string | ||
| 87 | |||
| 88 | One of document_address_mismatch, document_dob_mismatch, document_duplicate_type, document_id_number_mismatch, document_name_mismatch, document_nationality_mismatch, failed_keyed_identity, or failed_other. A machine-readable code specifying the verification state for the person. | ||
| 89 | |||
| 90 | =item B<document> hash | ||
| 91 | |||
| 92 | An identifying document for the person, either a passport or local ID card. | ||
| 93 | |||
| 94 | This is a L<Net::API::Stripe::Connect::Account::Document> object. | ||
| 95 | |||
| 96 | =item B<status> string | ||
| 97 | |||
| 98 | Verification status, one of pending, unavailable, unverified, or verified. | ||
| 99 | |||
| 100 | =item B<verified_address> string | ||
| 101 | |||
| 102 | Verified address. | ||
| 103 | |||
| 104 | =item B<verified_name> string | ||
| 105 | |||
| 106 | Verified name. | ||
| 107 | |||
| 108 | =back | ||
| 109 | |||
| 110 | =head1 API SAMPLE | ||
| 111 | |||
| 112 | { | ||
| 113 | "id": "txi_123456789", | ||
| 114 | "object": "tax_id", | ||
| 115 | "country": "DE", | ||
| 116 | "created": 123456789, | ||
| 117 | "customer": "cus_fake123456789", | ||
| 118 | "livemode": false, | ||
| 119 | "type": "eu_vat", | ||
| 120 | "value": "DE123456789", | ||
| 121 | "verification": { | ||
| 122 | "status": "pending", | ||
| 123 | "verified_address": null, | ||
| 124 | "verified_name": null | ||
| 125 | } | ||
| 126 | } | ||
| 127 | |||
| 128 | =head1 HISTORY | ||
| 129 | |||
| 130 | =head2 v0.1 | ||
| 131 | |||
| 132 | Initial version | ||
| 133 | |||
| 134 | =head1 AUTHOR | ||
| 135 | |||
| 136 | Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> | ||
| 137 | |||
| 138 | =head1 SEE ALSO | ||
| 139 | |||
| 140 | Stripe API documentation: | ||
| 141 | |||
| 142 | L<https://stripe.com/docs/api/customers/>, L<https://stripe.com/docs/api/persons/object#person_object-relationship> | ||
| 143 | |||
| 144 | =head1 COPYRIGHT & LICENSE | ||
| 145 | |||
| 146 | Copyright (c) 2019-2020 DEGUEST Pte. Ltd. | ||
| 147 | |||
| 148 | You can use, copy, modify and redistribute this package and associated | ||
| 149 | files under the same terms as Perl itself. | ||
| 150 | |||
| 151 | =cut | ||