stripe 15.0.0 → 15.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -0
  3. data/CHANGELOG.md +129 -44
  4. data/CONTRIBUTING.md +25 -0
  5. data/Gemfile +1 -1
  6. data/OPENAPI_VERSION +1 -1
  7. data/README.md +28 -55
  8. data/VERSION +1 -1
  9. data/lib/stripe/api_operations/nested_resource.rb +35 -35
  10. data/lib/stripe/api_requestor.rb +1 -1
  11. data/lib/stripe/api_version.rb +2 -1
  12. data/lib/stripe/connection_manager.rb +1 -3
  13. data/lib/stripe/event_types.rb +1 -0
  14. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
  15. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
  16. data/lib/stripe/events/v2_core_event_destination_ping_event.rb +21 -0
  17. data/lib/stripe/oauth.rb +1 -1
  18. data/lib/stripe/resources/account.rb +198 -28
  19. data/lib/stripe/resources/account_session.rb +176 -72
  20. data/lib/stripe/resources/apple_pay_domain.rb +1 -2
  21. data/lib/stripe/resources/balance.rb +42 -0
  22. data/lib/stripe/resources/balance_transaction.rb +2 -0
  23. data/lib/stripe/resources/bank_account.rb +2 -2
  24. data/lib/stripe/resources/billing_portal/session.rb +3 -3
  25. data/lib/stripe/resources/capability.rb +1 -1
  26. data/lib/stripe/resources/charge.rb +43 -20
  27. data/lib/stripe/resources/checkout/session.rb +120 -19
  28. data/lib/stripe/resources/confirmation_token.rb +119 -100
  29. data/lib/stripe/resources/country_spec.rb +1 -1
  30. data/lib/stripe/resources/coupon.rb +2 -3
  31. data/lib/stripe/resources/credit_note.rb +21 -18
  32. data/lib/stripe/resources/customer.rb +4 -6
  33. data/lib/stripe/resources/customer_session.rb +5 -5
  34. data/lib/stripe/resources/dispute.rb +2 -2
  35. data/lib/stripe/resources/event.rb +3 -1
  36. data/lib/stripe/resources/file.rb +1 -1
  37. data/lib/stripe/resources/funding_instructions.rb +1 -1
  38. data/lib/stripe/resources/identity/verification_report.rb +6 -0
  39. data/lib/stripe/resources/identity/verification_session.rb +51 -11
  40. data/lib/stripe/resources/invoice.rb +146 -32
  41. data/lib/stripe/resources/invoice_item.rb +3 -7
  42. data/lib/stripe/resources/invoice_line_item.rb +1 -1
  43. data/lib/stripe/resources/invoice_payment.rb +9 -2
  44. data/lib/stripe/resources/issuing/authorization.rb +8 -8
  45. data/lib/stripe/resources/issuing/card.rb +1 -1
  46. data/lib/stripe/resources/issuing/dispute.rb +3 -3
  47. data/lib/stripe/resources/login_link.rb +2 -1
  48. data/lib/stripe/resources/mandate.rb +3 -0
  49. data/lib/stripe/resources/payment_intent.rb +602 -325
  50. data/lib/stripe/resources/payment_method.rb +76 -117
  51. data/lib/stripe/resources/payment_method_configuration.rb +356 -2
  52. data/lib/stripe/resources/payment_method_domain.rb +15 -2
  53. data/lib/stripe/resources/payout.rb +4 -4
  54. data/lib/stripe/resources/person.rb +27 -3
  55. data/lib/stripe/resources/plan.rb +2 -3
  56. data/lib/stripe/resources/price.rb +1 -1
  57. data/lib/stripe/resources/product.rb +1 -2
  58. data/lib/stripe/resources/quote.rb +28 -3
  59. data/lib/stripe/resources/radar/value_list.rb +1 -2
  60. data/lib/stripe/resources/radar/value_list_item.rb +1 -2
  61. data/lib/stripe/resources/refund.rb +8 -1
  62. data/lib/stripe/resources/reversal.rb +1 -1
  63. data/lib/stripe/resources/review.rb +1 -1
  64. data/lib/stripe/resources/setup_attempt.rb +1 -1
  65. data/lib/stripe/resources/setup_intent.rb +414 -293
  66. data/lib/stripe/resources/source.rb +1 -1
  67. data/lib/stripe/resources/subscription.rb +149 -27
  68. data/lib/stripe/resources/subscription_item.rb +33 -0
  69. data/lib/stripe/resources/subscription_schedule.rb +141 -4
  70. data/lib/stripe/resources/tax/calculation.rb +6 -2
  71. data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
  72. data/lib/stripe/resources/tax/registration.rb +261 -1
  73. data/lib/stripe/resources/tax/transaction.rb +1 -1
  74. data/lib/stripe/resources/tax_id.rb +3 -4
  75. data/lib/stripe/resources/tax_rate.rb +2 -2
  76. data/lib/stripe/resources/terminal/configuration.rb +2 -2
  77. data/lib/stripe/resources/terminal/location.rb +2 -3
  78. data/lib/stripe/resources/terminal/reader.rb +426 -6
  79. data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
  80. data/lib/stripe/resources/token.rb +63 -2
  81. data/lib/stripe/resources/transfer.rb +1 -1
  82. data/lib/stripe/resources/treasury/financial_account.rb +5 -1
  83. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  84. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
  85. data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
  86. data/lib/stripe/resources/v2/event.rb +2 -2
  87. data/lib/stripe/resources/v2/event_destination.rb +2 -2
  88. data/lib/stripe/resources/webhook_endpoint.rb +1 -2
  89. data/lib/stripe/resources.rb +1 -0
  90. data/lib/stripe/services/account_external_account_service.rb +3 -4
  91. data/lib/stripe/services/account_login_link_service.rb +1 -1
  92. data/lib/stripe/services/account_person_service.rb +85 -2
  93. data/lib/stripe/services/account_service.rb +169 -20
  94. data/lib/stripe/services/account_session_service.rb +115 -47
  95. data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
  96. data/lib/stripe/services/application_fee_service.rb +1 -1
  97. data/lib/stripe/services/apps_service.rb +1 -1
  98. data/lib/stripe/services/balance_service.rb +1 -1
  99. data/lib/stripe/services/billing/meter_service.rb +1 -1
  100. data/lib/stripe/services/billing_portal/session_service.rb +1 -1
  101. data/lib/stripe/services/billing_portal_service.rb +1 -1
  102. data/lib/stripe/services/billing_service.rb +1 -1
  103. data/lib/stripe/services/charge_service.rb +4 -4
  104. data/lib/stripe/services/checkout/session_service.rb +94 -15
  105. data/lib/stripe/services/checkout_service.rb +1 -1
  106. data/lib/stripe/services/climate_service.rb +1 -1
  107. data/lib/stripe/services/coupon_service.rb +1 -2
  108. data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
  109. data/lib/stripe/services/credit_note_service.rb +14 -15
  110. data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
  111. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
  112. data/lib/stripe/services/customer_payment_method_service.rb +1 -1
  113. data/lib/stripe/services/customer_payment_source_service.rb +1 -1
  114. data/lib/stripe/services/customer_service.rb +5 -7
  115. data/lib/stripe/services/customer_session_service.rb +1 -1
  116. data/lib/stripe/services/customer_tax_id_service.rb +2 -3
  117. data/lib/stripe/services/dispute_service.rb +1 -1
  118. data/lib/stripe/services/entitlements_service.rb +1 -1
  119. data/lib/stripe/services/file_service.rb +1 -1
  120. data/lib/stripe/services/financial_connections/account_service.rb +1 -1
  121. data/lib/stripe/services/financial_connections_service.rb +1 -1
  122. data/lib/stripe/services/forwarding_service.rb +1 -1
  123. data/lib/stripe/services/identity/verification_session_service.rb +21 -5
  124. data/lib/stripe/services/identity_service.rb +1 -1
  125. data/lib/stripe/services/invoice_item_service.rb +1 -2
  126. data/lib/stripe/services/invoice_service.rb +122 -28
  127. data/lib/stripe/services/issuing/authorization_service.rb +4 -4
  128. data/lib/stripe/services/issuing/card_service.rb +1 -1
  129. data/lib/stripe/services/issuing/dispute_service.rb +2 -2
  130. data/lib/stripe/services/issuing_service.rb +1 -1
  131. data/lib/stripe/services/payment_intent_service.rb +563 -313
  132. data/lib/stripe/services/payment_link_service.rb +1 -1
  133. data/lib/stripe/services/payment_method_configuration_service.rb +254 -2
  134. data/lib/stripe/services/payment_method_domain_service.rb +1 -1
  135. data/lib/stripe/services/payment_method_service.rb +59 -105
  136. data/lib/stripe/services/payout_service.rb +2 -2
  137. data/lib/stripe/services/plan_service.rb +2 -3
  138. data/lib/stripe/services/price_service.rb +2 -2
  139. data/lib/stripe/services/product_feature_service.rb +1 -2
  140. data/lib/stripe/services/product_service.rb +3 -4
  141. data/lib/stripe/services/promotion_code_service.rb +1 -1
  142. data/lib/stripe/services/quote_service.rb +21 -4
  143. data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
  144. data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
  145. data/lib/stripe/services/radar/value_list_service.rb +1 -2
  146. data/lib/stripe/services/radar_service.rb +1 -1
  147. data/lib/stripe/services/reporting_service.rb +1 -1
  148. data/lib/stripe/services/setup_intent_service.rb +403 -291
  149. data/lib/stripe/services/sigma_service.rb +1 -1
  150. data/lib/stripe/services/source_service.rb +2 -2
  151. data/lib/stripe/services/subscription_item_service.rb +26 -0
  152. data/lib/stripe/services/subscription_schedule_service.rb +106 -3
  153. data/lib/stripe/services/subscription_service.rb +121 -26
  154. data/lib/stripe/services/tax/calculation_service.rb +6 -2
  155. data/lib/stripe/services/tax/registration_service.rb +170 -1
  156. data/lib/stripe/services/tax/transaction_service.rb +1 -1
  157. data/lib/stripe/services/tax_id_service.rb +2 -3
  158. data/lib/stripe/services/tax_service.rb +1 -1
  159. data/lib/stripe/services/terminal/configuration_service.rb +1 -2
  160. data/lib/stripe/services/terminal/location_service.rb +2 -3
  161. data/lib/stripe/services/terminal/reader_service.rb +196 -2
  162. data/lib/stripe/services/terminal_service.rb +1 -1
  163. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +90 -91
  164. data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
  165. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  166. data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
  167. data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
  168. data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
  169. data/lib/stripe/services/test_helpers_service.rb +1 -1
  170. data/lib/stripe/services/token_service.rb +62 -1
  171. data/lib/stripe/services/transfer_service.rb +2 -2
  172. data/lib/stripe/services/treasury/financial_account_service.rb +6 -2
  173. data/lib/stripe/services/treasury_service.rb +1 -1
  174. data/lib/stripe/services/v1_services.rb +1 -1
  175. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
  176. data/lib/stripe/services/v2/billing_service.rb +3 -3
  177. data/lib/stripe/services/v2/core/event_destination_service.rb +17 -23
  178. data/lib/stripe/services/v2/core/event_service.rb +1 -2
  179. data/lib/stripe/services/v2/core_service.rb +1 -1
  180. data/lib/stripe/services/v2_services.rb +1 -1
  181. data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
  182. data/lib/stripe/version.rb +1 -1
  183. data/lib/stripe/webhook.rb +1 -1
  184. data/rbi/stripe/resources/account.rbi +190 -35
  185. data/rbi/stripe/resources/account_session.rbi +196 -77
  186. data/rbi/stripe/resources/apple_pay_domain.rbi +1 -3
  187. data/rbi/stripe/resources/balance.rbi +55 -0
  188. data/rbi/stripe/resources/balance_transaction.rbi +3 -0
  189. data/rbi/stripe/resources/bank_account.rbi +2 -2
  190. data/rbi/stripe/resources/billing/alert.rbi +2 -2
  191. data/rbi/stripe/resources/billing_portal/session.rbi +3 -3
  192. data/rbi/stripe/resources/capability.rbi +1 -1
  193. data/rbi/stripe/resources/charge.rbi +52 -20
  194. data/rbi/stripe/resources/checkout/session.rbi +133 -24
  195. data/rbi/stripe/resources/confirmation_token.rbi +140 -115
  196. data/rbi/stripe/resources/country_spec.rbi +1 -1
  197. data/rbi/stripe/resources/coupon.rbi +2 -4
  198. data/rbi/stripe/resources/credit_note.rbi +23 -18
  199. data/rbi/stripe/resources/customer.rbi +4 -8
  200. data/rbi/stripe/resources/customer_session.rbi +5 -5
  201. data/rbi/stripe/resources/dispute.rbi +2 -2
  202. data/rbi/stripe/resources/event.rbi +4 -1
  203. data/rbi/stripe/resources/file.rbi +1 -1
  204. data/rbi/stripe/resources/identity/verification_report.rbi +9 -0
  205. data/rbi/stripe/resources/identity/verification_session.rbi +59 -12
  206. data/rbi/stripe/resources/invoice.rbi +149 -40
  207. data/rbi/stripe/resources/invoice_item.rbi +3 -8
  208. data/rbi/stripe/resources/invoice_line_item.rbi +2 -2
  209. data/rbi/stripe/resources/invoice_payment.rbi +9 -2
  210. data/rbi/stripe/resources/issuing/authorization.rbi +8 -8
  211. data/rbi/stripe/resources/issuing/card.rbi +1 -1
  212. data/rbi/stripe/resources/issuing/dispute.rbi +3 -3
  213. data/rbi/stripe/resources/login_link.rbi +2 -1
  214. data/rbi/stripe/resources/mandate.rbi +4 -0
  215. data/rbi/stripe/resources/payment_intent.rbi +637 -381
  216. data/rbi/stripe/resources/payment_method.rbi +81 -133
  217. data/rbi/stripe/resources/payment_method_configuration.rbi +400 -4
  218. data/rbi/stripe/resources/payment_method_domain.rbi +18 -2
  219. data/rbi/stripe/resources/payout.rbi +4 -4
  220. data/rbi/stripe/resources/person.rbi +33 -3
  221. data/rbi/stripe/resources/plan.rbi +2 -4
  222. data/rbi/stripe/resources/price.rbi +1 -1
  223. data/rbi/stripe/resources/product.rbi +1 -3
  224. data/rbi/stripe/resources/quote.rbi +25 -3
  225. data/rbi/stripe/resources/radar/value_list.rbi +1 -3
  226. data/rbi/stripe/resources/radar/value_list_item.rbi +1 -3
  227. data/rbi/stripe/resources/refund.rbi +8 -1
  228. data/rbi/stripe/resources/reversal.rbi +1 -1
  229. data/rbi/stripe/resources/review.rbi +1 -1
  230. data/rbi/stripe/resources/setup_attempt.rbi +1 -1
  231. data/rbi/stripe/resources/setup_intent.rbi +464 -346
  232. data/rbi/stripe/resources/source.rbi +1 -1
  233. data/rbi/stripe/resources/subscription.rbi +150 -34
  234. data/rbi/stripe/resources/subscription_item.rbi +36 -2
  235. data/rbi/stripe/resources/subscription_schedule.rbi +161 -11
  236. data/rbi/stripe/resources/tax/calculation.rbi +7 -3
  237. data/rbi/stripe/resources/tax/calculation_line_item.rbi +4 -1
  238. data/rbi/stripe/resources/tax/registration.rbi +249 -2
  239. data/rbi/stripe/resources/tax/transaction.rbi +1 -1
  240. data/rbi/stripe/resources/tax_id.rbi +3 -5
  241. data/rbi/stripe/resources/tax_rate.rbi +2 -2
  242. data/rbi/stripe/resources/terminal/configuration.rbi +2 -3
  243. data/rbi/stripe/resources/terminal/location.rbi +4 -6
  244. data/rbi/stripe/resources/terminal/reader.rbi +415 -8
  245. data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
  246. data/rbi/stripe/resources/token.rbi +70 -4
  247. data/rbi/stripe/resources/transfer.rbi +1 -1
  248. data/rbi/stripe/resources/treasury/financial_account.rbi +6 -2
  249. data/rbi/stripe/resources/v2/billing/meter_event.rbi +3 -3
  250. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +3 -3
  251. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +3 -3
  252. data/rbi/stripe/resources/v2/event.rbi +3 -3
  253. data/rbi/stripe/resources/v2/event_destination.rbi +3 -3
  254. data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
  255. data/rbi/stripe/services/account_external_account_service.rbi +3 -5
  256. data/rbi/stripe/services/account_login_link_service.rbi +1 -1
  257. data/rbi/stripe/services/account_person_service.rbi +93 -5
  258. data/rbi/stripe/services/account_service.rbi +166 -28
  259. data/rbi/stripe/services/account_session_service.rbi +126 -52
  260. data/rbi/stripe/services/apple_pay_domain_service.rbi +1 -3
  261. data/rbi/stripe/services/balance_service.rbi +1 -1
  262. data/rbi/stripe/services/billing/alert_service.rbi +2 -2
  263. data/rbi/stripe/services/billing_portal/session_service.rbi +1 -1
  264. data/rbi/stripe/services/charge_service.rbi +4 -4
  265. data/rbi/stripe/services/checkout/session_service.rbi +104 -19
  266. data/rbi/stripe/services/coupon_service.rbi +1 -3
  267. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +3 -3
  268. data/rbi/stripe/services/credit_note_service.rbi +13 -14
  269. data/rbi/stripe/services/customer_balance_transaction_service.rbi +3 -3
  270. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +2 -2
  271. data/rbi/stripe/services/customer_payment_method_service.rbi +1 -1
  272. data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
  273. data/rbi/stripe/services/customer_service.rbi +4 -8
  274. data/rbi/stripe/services/customer_session_service.rbi +1 -1
  275. data/rbi/stripe/services/customer_tax_id_service.rbi +2 -4
  276. data/rbi/stripe/services/dispute_service.rbi +1 -1
  277. data/rbi/stripe/services/file_service.rbi +1 -1
  278. data/rbi/stripe/services/identity/verification_session_service.rbi +22 -6
  279. data/rbi/stripe/services/invoice_item_service.rbi +1 -3
  280. data/rbi/stripe/services/invoice_service.rbi +126 -35
  281. data/rbi/stripe/services/issuing/authorization_service.rbi +4 -4
  282. data/rbi/stripe/services/issuing/card_service.rbi +1 -1
  283. data/rbi/stripe/services/issuing/dispute_service.rbi +2 -2
  284. data/rbi/stripe/services/payment_intent_service.rbi +599 -369
  285. data/rbi/stripe/services/payment_method_configuration_service.rbi +280 -4
  286. data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
  287. data/rbi/stripe/services/payment_method_service.rbi +62 -121
  288. data/rbi/stripe/services/payout_service.rbi +2 -2
  289. data/rbi/stripe/services/plan_service.rbi +2 -4
  290. data/rbi/stripe/services/price_service.rbi +2 -2
  291. data/rbi/stripe/services/product_feature_service.rbi +1 -3
  292. data/rbi/stripe/services/product_service.rbi +2 -4
  293. data/rbi/stripe/services/promotion_code_service.rbi +1 -1
  294. data/rbi/stripe/services/quote_service.rbi +16 -3
  295. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +1 -1
  296. data/rbi/stripe/services/radar/value_list_item_service.rbi +1 -3
  297. data/rbi/stripe/services/radar/value_list_service.rbi +1 -3
  298. data/rbi/stripe/services/setup_intent_service.rbi +457 -344
  299. data/rbi/stripe/services/source_service.rbi +1 -1
  300. data/rbi/stripe/services/subscription_item_service.rbi +28 -2
  301. data/rbi/stripe/services/subscription_schedule_service.rbi +119 -10
  302. data/rbi/stripe/services/subscription_service.rbi +121 -33
  303. data/rbi/stripe/services/tax/calculation_service.rbi +6 -2
  304. data/rbi/stripe/services/tax/registration_service.rbi +171 -2
  305. data/rbi/stripe/services/tax_id_service.rbi +2 -4
  306. data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
  307. data/rbi/stripe/services/terminal/location_service.rbi +4 -6
  308. data/rbi/stripe/services/terminal/reader_service.rbi +200 -4
  309. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +106 -106
  310. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +31 -0
  311. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +1 -3
  312. data/rbi/stripe/services/token_service.rbi +71 -3
  313. data/rbi/stripe/services/transfer_service.rbi +1 -1
  314. data/rbi/stripe/services/treasury/financial_account_service.rbi +6 -2
  315. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
  316. data/rbi/stripe/services/v2/billing_service.rbi +1 -1
  317. data/rbi/stripe/services/v2/core/event_destination_service.rbi +14 -22
  318. data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
  319. data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
  320. metadata +5 -2
@@ -55,6 +55,16 @@ module Stripe
55
55
  attr_reader :type
56
56
  end
57
57
 
58
+ class Aw < Stripe::StripeObject
59
+ # Type of registration in `country`.
60
+ attr_reader :type
61
+ end
62
+
63
+ class Az < Stripe::StripeObject
64
+ # Type of registration in `country`.
65
+ attr_reader :type
66
+ end
67
+
58
68
  class Ba < Stripe::StripeObject
59
69
  # Type of registration in `country`.
60
70
  attr_reader :type
@@ -65,6 +75,11 @@ module Stripe
65
75
  attr_reader :type
66
76
  end
67
77
 
78
+ class Bd < Stripe::StripeObject
79
+ # Type of registration in `country`.
80
+ attr_reader :type
81
+ end
82
+
68
83
  class Be < Stripe::StripeObject
69
84
  class Standard < Stripe::StripeObject
70
85
  # Place of supply scheme used in an EU standard registration.
@@ -76,6 +91,11 @@ module Stripe
76
91
  attr_reader :type
77
92
  end
78
93
 
94
+ class Bf < Stripe::StripeObject
95
+ # Type of registration in `country`.
96
+ attr_reader :type
97
+ end
98
+
79
99
  class Bg < Stripe::StripeObject
80
100
  class Standard < Stripe::StripeObject
81
101
  # Place of supply scheme used in an EU standard registration.
@@ -92,6 +112,11 @@ module Stripe
92
112
  attr_reader :type
93
113
  end
94
114
 
115
+ class Bj < Stripe::StripeObject
116
+ # Type of registration in `country`.
117
+ attr_reader :type
118
+ end
119
+
95
120
  class Bs < Stripe::StripeObject
96
121
  # Type of registration in `country`.
97
122
  attr_reader :type
@@ -128,6 +153,11 @@ module Stripe
128
153
  attr_reader :type
129
154
  end
130
155
 
156
+ class Cm < Stripe::StripeObject
157
+ # Type of registration in `country`.
158
+ attr_reader :type
159
+ end
160
+
131
161
  class Co < Stripe::StripeObject
132
162
  # Type of registration in `country`.
133
163
  attr_reader :type
@@ -138,6 +168,11 @@ module Stripe
138
168
  attr_reader :type
139
169
  end
140
170
 
171
+ class Cv < Stripe::StripeObject
172
+ # Type of registration in `country`.
173
+ attr_reader :type
174
+ end
175
+
141
176
  class Cy < Stripe::StripeObject
142
177
  class Standard < Stripe::StripeObject
143
178
  # Place of supply scheme used in an EU standard registration.
@@ -214,6 +249,11 @@ module Stripe
214
249
  attr_reader :type
215
250
  end
216
251
 
252
+ class Et < Stripe::StripeObject
253
+ # Type of registration in `country`.
254
+ attr_reader :type
255
+ end
256
+
217
257
  class Fi < Stripe::StripeObject
218
258
  class Standard < Stripe::StripeObject
219
259
  # Place of supply scheme used in an EU standard registration.
@@ -300,6 +340,11 @@ module Stripe
300
340
  attr_reader :type
301
341
  end
302
342
 
343
+ class In < Stripe::StripeObject
344
+ # Type of registration in `country`.
345
+ attr_reader :type
346
+ end
347
+
303
348
  class Is < Stripe::StripeObject
304
349
  # Type of registration in `country`.
305
350
  attr_reader :type
@@ -326,6 +371,11 @@ module Stripe
326
371
  attr_reader :type
327
372
  end
328
373
 
374
+ class Kg < Stripe::StripeObject
375
+ # Type of registration in `country`.
376
+ attr_reader :type
377
+ end
378
+
329
379
  class Kh < Stripe::StripeObject
330
380
  # Type of registration in `country`.
331
381
  attr_reader :type
@@ -341,6 +391,11 @@ module Stripe
341
391
  attr_reader :type
342
392
  end
343
393
 
394
+ class La < Stripe::StripeObject
395
+ # Type of registration in `country`.
396
+ attr_reader :type
397
+ end
398
+
344
399
  class Lt < Stripe::StripeObject
345
400
  class Standard < Stripe::StripeObject
346
401
  # Place of supply scheme used in an EU standard registration.
@@ -461,6 +516,11 @@ module Stripe
461
516
  attr_reader :type
462
517
  end
463
518
 
519
+ class Ph < Stripe::StripeObject
520
+ # Type of registration in `country`.
521
+ attr_reader :type
522
+ end
523
+
464
524
  class Pl < Stripe::StripeObject
465
525
  class Standard < Stripe::StripeObject
466
526
  # Place of supply scheme used in an EU standard registration.
@@ -577,6 +637,11 @@ module Stripe
577
637
  attr_reader :type
578
638
  end
579
639
 
640
+ class Ua < Stripe::StripeObject
641
+ # Type of registration in `country`.
642
+ attr_reader :type
643
+ end
644
+
580
645
  class Ug < Stripe::StripeObject
581
646
  # Type of registration in `country`.
582
647
  attr_reader :type
@@ -656,16 +721,26 @@ module Stripe
656
721
  attr_reader :at
657
722
  # Attribute for field au
658
723
  attr_reader :au
724
+ # Attribute for field aw
725
+ attr_reader :aw
726
+ # Attribute for field az
727
+ attr_reader :az
659
728
  # Attribute for field ba
660
729
  attr_reader :ba
661
730
  # Attribute for field bb
662
731
  attr_reader :bb
732
+ # Attribute for field bd
733
+ attr_reader :bd
663
734
  # Attribute for field be
664
735
  attr_reader :be
736
+ # Attribute for field bf
737
+ attr_reader :bf
665
738
  # Attribute for field bg
666
739
  attr_reader :bg
667
740
  # Attribute for field bh
668
741
  attr_reader :bh
742
+ # Attribute for field bj
743
+ attr_reader :bj
669
744
  # Attribute for field bs
670
745
  attr_reader :bs
671
746
  # Attribute for field by
@@ -678,10 +753,14 @@ module Stripe
678
753
  attr_reader :ch
679
754
  # Attribute for field cl
680
755
  attr_reader :cl
756
+ # Attribute for field cm
757
+ attr_reader :cm
681
758
  # Attribute for field co
682
759
  attr_reader :co
683
760
  # Attribute for field cr
684
761
  attr_reader :cr
762
+ # Attribute for field cv
763
+ attr_reader :cv
685
764
  # Attribute for field cy
686
765
  attr_reader :cy
687
766
  # Attribute for field cz
@@ -698,6 +777,8 @@ module Stripe
698
777
  attr_reader :eg
699
778
  # Attribute for field es
700
779
  attr_reader :es
780
+ # Attribute for field et
781
+ attr_reader :et
701
782
  # Attribute for field fi
702
783
  attr_reader :fi
703
784
  # Attribute for field fr
@@ -718,6 +799,8 @@ module Stripe
718
799
  attr_reader :id
719
800
  # Attribute for field ie
720
801
  attr_reader :ie
802
+ # Attribute for field in
803
+ attr_reader :in
721
804
  # Attribute for field is
722
805
  attr_reader :is
723
806
  # Attribute for field it
@@ -726,12 +809,16 @@ module Stripe
726
809
  attr_reader :jp
727
810
  # Attribute for field ke
728
811
  attr_reader :ke
812
+ # Attribute for field kg
813
+ attr_reader :kg
729
814
  # Attribute for field kh
730
815
  attr_reader :kh
731
816
  # Attribute for field kr
732
817
  attr_reader :kr
733
818
  # Attribute for field kz
734
819
  attr_reader :kz
820
+ # Attribute for field la
821
+ attr_reader :la
735
822
  # Attribute for field lt
736
823
  attr_reader :lt
737
824
  # Attribute for field lu
@@ -768,6 +855,8 @@ module Stripe
768
855
  attr_reader :om
769
856
  # Attribute for field pe
770
857
  attr_reader :pe
858
+ # Attribute for field ph
859
+ attr_reader :ph
771
860
  # Attribute for field pl
772
861
  attr_reader :pl
773
862
  # Attribute for field pt
@@ -800,6 +889,8 @@ module Stripe
800
889
  attr_reader :tr
801
890
  # Attribute for field tz
802
891
  attr_reader :tz
892
+ # Attribute for field ua
893
+ attr_reader :ua
803
894
  # Attribute for field ug
804
895
  attr_reader :ug
805
896
  # Attribute for field us
@@ -912,6 +1003,24 @@ module Stripe
912
1003
  end
913
1004
  end
914
1005
 
1006
+ class Aw < Stripe::RequestParams
1007
+ # Type of registration to be created in `country`.
1008
+ attr_accessor :type
1009
+
1010
+ def initialize(type: nil)
1011
+ @type = type
1012
+ end
1013
+ end
1014
+
1015
+ class Az < Stripe::RequestParams
1016
+ # Type of registration to be created in `country`.
1017
+ attr_accessor :type
1018
+
1019
+ def initialize(type: nil)
1020
+ @type = type
1021
+ end
1022
+ end
1023
+
915
1024
  class Ba < Stripe::RequestParams
916
1025
  # Type of registration to be created in `country`.
917
1026
  attr_accessor :type
@@ -930,6 +1039,15 @@ module Stripe
930
1039
  end
931
1040
  end
932
1041
 
1042
+ class Bd < Stripe::RequestParams
1043
+ # Type of registration to be created in `country`.
1044
+ attr_accessor :type
1045
+
1046
+ def initialize(type: nil)
1047
+ @type = type
1048
+ end
1049
+ end
1050
+
933
1051
  class Be < Stripe::RequestParams
934
1052
  class Standard < Stripe::RequestParams
935
1053
  # Place of supply scheme used in an EU standard registration.
@@ -950,6 +1068,15 @@ module Stripe
950
1068
  end
951
1069
  end
952
1070
 
1071
+ class Bf < Stripe::RequestParams
1072
+ # Type of registration to be created in `country`.
1073
+ attr_accessor :type
1074
+
1075
+ def initialize(type: nil)
1076
+ @type = type
1077
+ end
1078
+ end
1079
+
953
1080
  class Bg < Stripe::RequestParams
954
1081
  class Standard < Stripe::RequestParams
955
1082
  # Place of supply scheme used in an EU standard registration.
@@ -979,6 +1106,15 @@ module Stripe
979
1106
  end
980
1107
  end
981
1108
 
1109
+ class Bj < Stripe::RequestParams
1110
+ # Type of registration to be created in `country`.
1111
+ attr_accessor :type
1112
+
1113
+ def initialize(type: nil)
1114
+ @type = type
1115
+ end
1116
+ end
1117
+
982
1118
  class Bs < Stripe::RequestParams
983
1119
  # Type of registration to be created in `country`.
984
1120
  attr_accessor :type
@@ -1044,6 +1180,15 @@ module Stripe
1044
1180
  end
1045
1181
  end
1046
1182
 
1183
+ class Cm < Stripe::RequestParams
1184
+ # Type of registration to be created in `country`.
1185
+ attr_accessor :type
1186
+
1187
+ def initialize(type: nil)
1188
+ @type = type
1189
+ end
1190
+ end
1191
+
1047
1192
  class Co < Stripe::RequestParams
1048
1193
  # Type of registration to be created in `country`.
1049
1194
  attr_accessor :type
@@ -1062,6 +1207,15 @@ module Stripe
1062
1207
  end
1063
1208
  end
1064
1209
 
1210
+ class Cv < Stripe::RequestParams
1211
+ # Type of registration to be created in `country`.
1212
+ attr_accessor :type
1213
+
1214
+ def initialize(type: nil)
1215
+ @type = type
1216
+ end
1217
+ end
1218
+
1065
1219
  class Cy < Stripe::RequestParams
1066
1220
  class Standard < Stripe::RequestParams
1067
1221
  # Place of supply scheme used in an EU standard registration.
@@ -1200,6 +1354,15 @@ module Stripe
1200
1354
  end
1201
1355
  end
1202
1356
 
1357
+ class Et < Stripe::RequestParams
1358
+ # Type of registration to be created in `country`.
1359
+ attr_accessor :type
1360
+
1361
+ def initialize(type: nil)
1362
+ @type = type
1363
+ end
1364
+ end
1365
+
1203
1366
  class Fi < Stripe::RequestParams
1204
1367
  class Standard < Stripe::RequestParams
1205
1368
  # Place of supply scheme used in an EU standard registration.
@@ -1356,6 +1519,15 @@ module Stripe
1356
1519
  end
1357
1520
  end
1358
1521
 
1522
+ class In < Stripe::RequestParams
1523
+ # Type of registration to be created in `country`.
1524
+ attr_accessor :type
1525
+
1526
+ def initialize(type: nil)
1527
+ @type = type
1528
+ end
1529
+ end
1530
+
1359
1531
  class Is < Stripe::RequestParams
1360
1532
  # Type of registration to be created in `country`.
1361
1533
  attr_accessor :type
@@ -1403,6 +1575,15 @@ module Stripe
1403
1575
  end
1404
1576
  end
1405
1577
 
1578
+ class Kg < Stripe::RequestParams
1579
+ # Type of registration to be created in `country`.
1580
+ attr_accessor :type
1581
+
1582
+ def initialize(type: nil)
1583
+ @type = type
1584
+ end
1585
+ end
1586
+
1406
1587
  class Kh < Stripe::RequestParams
1407
1588
  # Type of registration to be created in `country`.
1408
1589
  attr_accessor :type
@@ -1430,6 +1611,15 @@ module Stripe
1430
1611
  end
1431
1612
  end
1432
1613
 
1614
+ class La < Stripe::RequestParams
1615
+ # Type of registration to be created in `country`.
1616
+ attr_accessor :type
1617
+
1618
+ def initialize(type: nil)
1619
+ @type = type
1620
+ end
1621
+ end
1622
+
1433
1623
  class Lt < Stripe::RequestParams
1434
1624
  class Standard < Stripe::RequestParams
1435
1625
  # Place of supply scheme used in an EU standard registration.
@@ -1647,6 +1837,15 @@ module Stripe
1647
1837
  end
1648
1838
  end
1649
1839
 
1840
+ class Ph < Stripe::RequestParams
1841
+ # Type of registration to be created in `country`.
1842
+ attr_accessor :type
1843
+
1844
+ def initialize(type: nil)
1845
+ @type = type
1846
+ end
1847
+ end
1848
+
1650
1849
  class Pl < Stripe::RequestParams
1651
1850
  class Standard < Stripe::RequestParams
1652
1851
  # Place of supply scheme used in an EU standard registration.
@@ -1857,6 +2056,15 @@ module Stripe
1857
2056
  end
1858
2057
  end
1859
2058
 
2059
+ class Ua < Stripe::RequestParams
2060
+ # Type of registration to be created in `country`.
2061
+ attr_accessor :type
2062
+
2063
+ def initialize(type: nil)
2064
+ @type = type
2065
+ end
2066
+ end
2067
+
1860
2068
  class Ug < Stripe::RequestParams
1861
2069
  # Type of registration to be created in `country`.
1862
2070
  attr_accessor :type
@@ -1868,7 +2076,7 @@ module Stripe
1868
2076
 
1869
2077
  class Us < Stripe::RequestParams
1870
2078
  class LocalAmusementTax < Stripe::RequestParams
1871
- # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `64343` (River Grove), and `68081` (Schiller Park).
2079
+ # A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), and `68081` (Schiller Park).
1872
2080
  attr_accessor :jurisdiction
1873
2081
 
1874
2082
  def initialize(jurisdiction: nil)
@@ -1995,16 +2203,26 @@ module Stripe
1995
2203
  attr_accessor :at
1996
2204
  # Options for the registration in AU.
1997
2205
  attr_accessor :au
2206
+ # Options for the registration in AW.
2207
+ attr_accessor :aw
2208
+ # Options for the registration in AZ.
2209
+ attr_accessor :az
1998
2210
  # Options for the registration in BA.
1999
2211
  attr_accessor :ba
2000
2212
  # Options for the registration in BB.
2001
2213
  attr_accessor :bb
2214
+ # Options for the registration in BD.
2215
+ attr_accessor :bd
2002
2216
  # Options for the registration in BE.
2003
2217
  attr_accessor :be
2218
+ # Options for the registration in BF.
2219
+ attr_accessor :bf
2004
2220
  # Options for the registration in BG.
2005
2221
  attr_accessor :bg
2006
2222
  # Options for the registration in BH.
2007
2223
  attr_accessor :bh
2224
+ # Options for the registration in BJ.
2225
+ attr_accessor :bj
2008
2226
  # Options for the registration in BS.
2009
2227
  attr_accessor :bs
2010
2228
  # Options for the registration in BY.
@@ -2017,10 +2235,14 @@ module Stripe
2017
2235
  attr_accessor :ch
2018
2236
  # Options for the registration in CL.
2019
2237
  attr_accessor :cl
2238
+ # Options for the registration in CM.
2239
+ attr_accessor :cm
2020
2240
  # Options for the registration in CO.
2021
2241
  attr_accessor :co
2022
2242
  # Options for the registration in CR.
2023
2243
  attr_accessor :cr
2244
+ # Options for the registration in CV.
2245
+ attr_accessor :cv
2024
2246
  # Options for the registration in CY.
2025
2247
  attr_accessor :cy
2026
2248
  # Options for the registration in CZ.
@@ -2037,6 +2259,8 @@ module Stripe
2037
2259
  attr_accessor :eg
2038
2260
  # Options for the registration in ES.
2039
2261
  attr_accessor :es
2262
+ # Options for the registration in ET.
2263
+ attr_accessor :et
2040
2264
  # Options for the registration in FI.
2041
2265
  attr_accessor :fi
2042
2266
  # Options for the registration in FR.
@@ -2057,6 +2281,8 @@ module Stripe
2057
2281
  attr_accessor :id
2058
2282
  # Options for the registration in IE.
2059
2283
  attr_accessor :ie
2284
+ # Options for the registration in IN.
2285
+ attr_accessor :in
2060
2286
  # Options for the registration in IS.
2061
2287
  attr_accessor :is
2062
2288
  # Options for the registration in IT.
@@ -2065,12 +2291,16 @@ module Stripe
2065
2291
  attr_accessor :jp
2066
2292
  # Options for the registration in KE.
2067
2293
  attr_accessor :ke
2294
+ # Options for the registration in KG.
2295
+ attr_accessor :kg
2068
2296
  # Options for the registration in KH.
2069
2297
  attr_accessor :kh
2070
2298
  # Options for the registration in KR.
2071
2299
  attr_accessor :kr
2072
2300
  # Options for the registration in KZ.
2073
2301
  attr_accessor :kz
2302
+ # Options for the registration in LA.
2303
+ attr_accessor :la
2074
2304
  # Options for the registration in LT.
2075
2305
  attr_accessor :lt
2076
2306
  # Options for the registration in LU.
@@ -2107,6 +2337,8 @@ module Stripe
2107
2337
  attr_accessor :om
2108
2338
  # Options for the registration in PE.
2109
2339
  attr_accessor :pe
2340
+ # Options for the registration in PH.
2341
+ attr_accessor :ph
2110
2342
  # Options for the registration in PL.
2111
2343
  attr_accessor :pl
2112
2344
  # Options for the registration in PT.
@@ -2139,6 +2371,8 @@ module Stripe
2139
2371
  attr_accessor :tr
2140
2372
  # Options for the registration in TZ.
2141
2373
  attr_accessor :tz
2374
+ # Options for the registration in UA.
2375
+ attr_accessor :ua
2142
2376
  # Options for the registration in UG.
2143
2377
  attr_accessor :ug
2144
2378
  # Options for the registration in US.
@@ -2163,19 +2397,26 @@ module Stripe
2163
2397
  ao: nil,
2164
2398
  at: nil,
2165
2399
  au: nil,
2400
+ aw: nil,
2401
+ az: nil,
2166
2402
  ba: nil,
2167
2403
  bb: nil,
2404
+ bd: nil,
2168
2405
  be: nil,
2406
+ bf: nil,
2169
2407
  bg: nil,
2170
2408
  bh: nil,
2409
+ bj: nil,
2171
2410
  bs: nil,
2172
2411
  by: nil,
2173
2412
  ca: nil,
2174
2413
  cd: nil,
2175
2414
  ch: nil,
2176
2415
  cl: nil,
2416
+ cm: nil,
2177
2417
  co: nil,
2178
2418
  cr: nil,
2419
+ cv: nil,
2179
2420
  cy: nil,
2180
2421
  cz: nil,
2181
2422
  de: nil,
@@ -2184,6 +2425,7 @@ module Stripe
2184
2425
  ee: nil,
2185
2426
  eg: nil,
2186
2427
  es: nil,
2428
+ et: nil,
2187
2429
  fi: nil,
2188
2430
  fr: nil,
2189
2431
  gb: nil,
@@ -2194,13 +2436,16 @@ module Stripe
2194
2436
  hu: nil,
2195
2437
  id: nil,
2196
2438
  ie: nil,
2439
+ in_: nil,
2197
2440
  is: nil,
2198
2441
  it: nil,
2199
2442
  jp: nil,
2200
2443
  ke: nil,
2444
+ kg: nil,
2201
2445
  kh: nil,
2202
2446
  kr: nil,
2203
2447
  kz: nil,
2448
+ la: nil,
2204
2449
  lt: nil,
2205
2450
  lu: nil,
2206
2451
  lv: nil,
@@ -2219,6 +2464,7 @@ module Stripe
2219
2464
  nz: nil,
2220
2465
  om: nil,
2221
2466
  pe: nil,
2467
+ ph: nil,
2222
2468
  pl: nil,
2223
2469
  pt: nil,
2224
2470
  ro: nil,
@@ -2235,6 +2481,7 @@ module Stripe
2235
2481
  tj: nil,
2236
2482
  tr: nil,
2237
2483
  tz: nil,
2484
+ ua: nil,
2238
2485
  ug: nil,
2239
2486
  us: nil,
2240
2487
  uy: nil,
@@ -2250,19 +2497,26 @@ module Stripe
2250
2497
  @ao = ao
2251
2498
  @at = at
2252
2499
  @au = au
2500
+ @aw = aw
2501
+ @az = az
2253
2502
  @ba = ba
2254
2503
  @bb = bb
2504
+ @bd = bd
2255
2505
  @be = be
2506
+ @bf = bf
2256
2507
  @bg = bg
2257
2508
  @bh = bh
2509
+ @bj = bj
2258
2510
  @bs = bs
2259
2511
  @by = by
2260
2512
  @ca = ca
2261
2513
  @cd = cd
2262
2514
  @ch = ch
2263
2515
  @cl = cl
2516
+ @cm = cm
2264
2517
  @co = co
2265
2518
  @cr = cr
2519
+ @cv = cv
2266
2520
  @cy = cy
2267
2521
  @cz = cz
2268
2522
  @de = de
@@ -2271,6 +2525,7 @@ module Stripe
2271
2525
  @ee = ee
2272
2526
  @eg = eg
2273
2527
  @es = es
2528
+ @et = et
2274
2529
  @fi = fi
2275
2530
  @fr = fr
2276
2531
  @gb = gb
@@ -2281,13 +2536,16 @@ module Stripe
2281
2536
  @hu = hu
2282
2537
  @id = id
2283
2538
  @ie = ie
2539
+ @in = in_
2284
2540
  @is = is
2285
2541
  @it = it
2286
2542
  @jp = jp
2287
2543
  @ke = ke
2544
+ @kg = kg
2288
2545
  @kh = kh
2289
2546
  @kr = kr
2290
2547
  @kz = kz
2548
+ @la = la
2291
2549
  @lt = lt
2292
2550
  @lu = lu
2293
2551
  @lv = lv
@@ -2306,6 +2564,7 @@ module Stripe
2306
2564
  @nz = nz
2307
2565
  @om = om
2308
2566
  @pe = pe
2567
+ @ph = ph
2309
2568
  @pl = pl
2310
2569
  @pt = pt
2311
2570
  @ro = ro
@@ -2322,6 +2581,7 @@ module Stripe
2322
2581
  @tj = tj
2323
2582
  @tr = tr
2324
2583
  @tz = tz
2584
+ @ua = ua
2325
2585
  @ug = ug
2326
2586
  @us = us
2327
2587
  @uy = uy
@@ -29,7 +29,7 @@ module Stripe
29
29
  end
30
30
 
31
31
  class TaxId < Stripe::StripeObject
32
- # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
32
+ # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
33
33
  attr_reader :type
34
34
  # The value of the tax ID.
35
35
  attr_reader :value