line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Customer/TaxIds.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::TaxIds; |
11
|
|
|
|
|
|
|
BEGIN |
12
|
|
|
|
|
|
|
{ |
13
|
1
|
|
|
1
|
|
840
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
14
|
1
|
|
|
1
|
|
4
|
use parent qw( Net::API::Stripe::List ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
15
|
1
|
|
|
1
|
|
77
|
our( $VERSION ) = 'v0.100.0'; |
16
|
|
|
|
|
|
|
}; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
# Inherite |
19
|
|
|
|
|
|
|
# sub object { shift->_set_get_scalar( 'object', @_ ); } |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
## An array of Net::API::Stripe::Billing::Subscription |
22
|
|
|
|
|
|
|
## sub data { shift->_set_get_object_array( 'data', 'Net::API::Stripe::Customer::TaxId', @_ ); } |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# Inherite |
25
|
|
|
|
|
|
|
# sub has_more { shift->_set_get_scalar( 'has_more', @_ ); } |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# Inherite |
28
|
|
|
|
|
|
|
# sub total_count { shift->_set_get_scalar( 'total_count', @_ ); } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# Inherite |
31
|
|
|
|
|
|
|
# sub url { shift->_set_get_uri( 'url', @_ ); } |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=encoding utf8 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 NAME |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Net::API::Stripe::Customer::TaxIds - A Customer Tax IDs List Object |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 SYNOPSIS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 VERSION |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
v0.100.0 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 DESCRIPTION |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This module inherits completely from L<Net::API::Stripe::List> and may be removed in the future. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
You can add one or multiple tax IDs to a customer. A customer's tax IDs are displayed on invoices and credit notes issued for the customer. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 API SAMPLE |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
{ |
58
|
|
|
|
|
|
|
"id": "cus_fake123456789", |
59
|
|
|
|
|
|
|
"object": "customer", |
60
|
|
|
|
|
|
|
"account_balance": 0, |
61
|
|
|
|
|
|
|
"address": null, |
62
|
|
|
|
|
|
|
"balance": 0, |
63
|
|
|
|
|
|
|
"created": 1571176460, |
64
|
|
|
|
|
|
|
"currency": "jpy", |
65
|
|
|
|
|
|
|
"default_source": null, |
66
|
|
|
|
|
|
|
"delinquent": false, |
67
|
|
|
|
|
|
|
"description": null, |
68
|
|
|
|
|
|
|
"discount": null, |
69
|
|
|
|
|
|
|
"email": null, |
70
|
|
|
|
|
|
|
"invoice_prefix": "0822CFA", |
71
|
|
|
|
|
|
|
"invoice_settings": { |
72
|
|
|
|
|
|
|
"custom_fields": null, |
73
|
|
|
|
|
|
|
"default_payment_method": null, |
74
|
|
|
|
|
|
|
"footer": null |
75
|
|
|
|
|
|
|
}, |
76
|
|
|
|
|
|
|
"livemode": false, |
77
|
|
|
|
|
|
|
"metadata": {}, |
78
|
|
|
|
|
|
|
"name": null, |
79
|
|
|
|
|
|
|
"phone": null, |
80
|
|
|
|
|
|
|
"preferred_locales": [], |
81
|
|
|
|
|
|
|
"shipping": null, |
82
|
|
|
|
|
|
|
"sources": { |
83
|
|
|
|
|
|
|
"object": "list", |
84
|
|
|
|
|
|
|
"data": [], |
85
|
|
|
|
|
|
|
"has_more": false, |
86
|
|
|
|
|
|
|
"url": "/v1/customers/cus_fake123456789/sources" |
87
|
|
|
|
|
|
|
}, |
88
|
|
|
|
|
|
|
"subscriptions": { |
89
|
|
|
|
|
|
|
"object": "list", |
90
|
|
|
|
|
|
|
"data": [], |
91
|
|
|
|
|
|
|
"has_more": false, |
92
|
|
|
|
|
|
|
"url": "/v1/customers/cus_fake123456789/subscriptions" |
93
|
|
|
|
|
|
|
}, |
94
|
|
|
|
|
|
|
"tax_exempt": "none", |
95
|
|
|
|
|
|
|
"tax_ids": { |
96
|
|
|
|
|
|
|
"object": "list", |
97
|
|
|
|
|
|
|
"data": [], |
98
|
|
|
|
|
|
|
"has_more": false, |
99
|
|
|
|
|
|
|
"url": "/v1/customers/cus_fake123456789/tax_ids" |
100
|
|
|
|
|
|
|
}, |
101
|
|
|
|
|
|
|
"tax_info": null, |
102
|
|
|
|
|
|
|
"tax_info_verification": null |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head1 HISTORY |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 v0.1 |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
Initial version |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head1 AUTHOR |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head1 SEE ALSO |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Stripe API documentation: |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
L<https://stripe.com/docs/api/customers>, L<https://stripe.com/docs/billing/taxes/tax-ids> |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Copyright (c) 2019-2020 DEGUEST Pte. Ltd. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
126
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |