stripe 15.1.0.pre.beta.1 → 15.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +697 -1533
- data/Gemfile +1 -1
- data/OPENAPI_VERSION +1 -1
- data/README.md +6 -0
- data/VERSION +1 -1
- data/lib/stripe/api_operations/nested_resource.rb +35 -35
- data/lib/stripe/api_requestor.rb +1 -29
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/connection_manager.rb +1 -3
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +1 -75
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
- data/lib/stripe/events/{v2_core_account_including_identity_updated_event.rb → v2_core_event_destination_ping_event.rb} +3 -3
- data/lib/stripe/oauth.rb +1 -1
- data/lib/stripe/object_types.rb +0 -51
- data/lib/stripe/resources/account.rb +54 -657
- data/lib/stripe/resources/account_session.rb +1 -299
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
- data/lib/stripe/resources/billing/credit_grant.rb +0 -10
- data/lib/stripe/resources/billing_portal/session.rb +0 -6
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +2 -1454
- data/lib/stripe/resources/checkout/session.rb +5 -258
- data/lib/stripe/resources/confirmation_token.rb +9 -178
- data/lib/stripe/resources/credit_note.rb +0 -10
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +2 -4
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +1 -6
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/event.rb +0 -31
- data/lib/stripe/resources/financial_connections/account.rb +1 -20
- data/lib/stripe/resources/financial_connections/session.rb +2 -62
- data/lib/stripe/resources/funding_instructions.rb +1 -1
- data/lib/stripe/resources/identity/verification_session.rb +0 -10
- data/lib/stripe/resources/invoice.rb +17 -1175
- data/lib/stripe/resources/invoice_item.rb +2 -78
- data/lib/stripe/resources/invoice_line_item.rb +1 -55
- data/lib/stripe/resources/invoice_payment.rb +53 -2
- data/lib/stripe/resources/issuing/cardholder.rb +1 -2
- data/lib/stripe/resources/issuing/transaction.rb +0 -6
- data/lib/stripe/resources/line_item.rb +0 -37
- data/lib/stripe/resources/mandate.rb +0 -24
- data/lib/stripe/resources/payment_intent.rb +333 -5071
- data/lib/stripe/resources/payment_method.rb +11 -198
- data/lib/stripe/resources/payment_method_configuration.rb +13 -249
- data/lib/stripe/resources/payout.rb +0 -6
- data/lib/stripe/resources/person.rb +25 -1
- data/lib/stripe/resources/price.rb +0 -30
- data/lib/stripe/resources/product.rb +0 -59
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +6 -2040
- data/lib/stripe/resources/refund.rb +2 -9
- data/lib/stripe/resources/setup_attempt.rb +0 -21
- data/lib/stripe/resources/setup_intent.rb +21 -599
- data/lib/stripe/resources/source.rb +1 -30
- data/lib/stripe/resources/subscription.rb +11 -294
- data/lib/stripe/resources/subscription_item.rb +3 -84
- data/lib/stripe/resources/subscription_schedule.rb +10 -1007
- data/lib/stripe/resources/tax/calculation.rb +2 -2
- data/lib/stripe/resources/tax/registration.rb +220 -0
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +4 -14
- data/lib/stripe/resources/terminal/reader.rb +0 -406
- data/lib/stripe/resources/token.rb +61 -0
- data/lib/stripe/resources/treasury/financial_account.rb +3 -22
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
- data/lib/stripe/resources/treasury/received_credit.rb +1 -38
- data/lib/stripe/resources/treasury/received_debit.rb +1 -40
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
- data/lib/stripe/resources/v2/event.rb +2 -2
- data/lib/stripe/resources/v2/event_destination.rb +2 -2
- data/lib/stripe/resources.rb +1 -88
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +84 -0
- data/lib/stripe/services/account_service.rb +42 -565
- data/lib/stripe/services/account_session_service.rb +1 -269
- data/lib/stripe/services/application_fee_service.rb +1 -1
- data/lib/stripe/services/apps_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/billing_portal/session_service.rb +0 -4
- data/lib/stripe/services/billing_portal_service.rb +1 -1
- data/lib/stripe/services/billing_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +0 -1334
- data/lib/stripe/services/checkout/session_service.rb +5 -175
- data/lib/stripe/services/checkout_service.rb +1 -1
- data/lib/stripe/services/climate_service.rb +1 -1
- data/lib/stripe/services/credit_note_service.rb +1 -5
- data/lib/stripe/services/customer_payment_method_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +2 -2
- data/lib/stripe/services/customer_session_service.rb +1 -4
- data/lib/stripe/services/customer_tax_id_service.rb +1 -1
- data/lib/stripe/services/entitlements_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +3 -8
- data/lib/stripe/services/financial_connections/session_service.rb +2 -34
- data/lib/stripe/services/financial_connections_service.rb +2 -3
- data/lib/stripe/services/forwarding_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +0 -8
- data/lib/stripe/services/identity_service.rb +1 -1
- data/lib/stripe/services/invoice_item_service.rb +2 -74
- data/lib/stripe/services/invoice_line_item_service.rb +1 -33
- data/lib/stripe/services/invoice_payment_service.rb +33 -5
- data/lib/stripe/services/invoice_service.rb +18 -1089
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +2 -6
- data/lib/stripe/services/payment_intent_service.rb +290 -4603
- data/lib/stripe/services/payment_link_service.rb +1 -1
- data/lib/stripe/services/payment_method_configuration_service.rb +10 -178
- data/lib/stripe/services/payment_method_service.rb +9 -128
- data/lib/stripe/services/payout_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +0 -19
- data/lib/stripe/services/product_service.rb +1 -39
- data/lib/stripe/services/promotion_code_service.rb +0 -8
- data/lib/stripe/services/quote_service.rb +8 -1727
- data/lib/stripe/services/radar_service.rb +1 -1
- data/lib/stripe/services/reporting_service.rb +1 -1
- data/lib/stripe/services/setup_intent_service.rb +21 -559
- data/lib/stripe/services/sigma_service.rb +1 -1
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +3 -75
- data/lib/stripe/services/subscription_schedule_service.rb +10 -911
- data/lib/stripe/services/subscription_service.rb +10 -254
- data/lib/stripe/services/tax/calculation_service.rb +2 -2
- data/lib/stripe/services/tax/registration_service.rb +143 -0
- data/lib/stripe/services/tax/transaction_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +3 -9
- data/lib/stripe/services/tax_service.rb +2 -4
- data/lib/stripe/services/terminal/reader_service.rb +0 -180
- data/lib/stripe/services/terminal_service.rb +2 -3
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +7 -107
- data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
- data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
- data/lib/stripe/services/test_helpers_service.rb +1 -1
- data/lib/stripe/services/token_service.rb +61 -0
- data/lib/stripe/services/transfer_service.rb +1 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/treasury_service.rb +1 -1
- data/lib/stripe/services/v1_services.rb +3 -12
- data/lib/stripe/services/v2/billing_service.rb +1 -1
- data/lib/stripe/services/v2/core_service.rb +2 -5
- data/lib/stripe/services/v2_services.rb +3 -5
- data/lib/stripe/services.rb +0 -52
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -55
- data/rbi/stripe/resources/account.rbi +4903 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +894 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
- data/rbi/stripe/resources/application.rbi +20 -0
- data/rbi/stripe/resources/application_fee.rbi +118 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
- data/rbi/stripe/resources/apps/secret.rbi +195 -0
- data/rbi/stripe/resources/balance.rbi +180 -0
- data/rbi/stripe/resources/balance_transaction.rbi +144 -0
- data/rbi/stripe/resources/bank_account.rbi +127 -0
- data/rbi/stripe/resources/billing/alert.rbi +201 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
- data/rbi/stripe/resources/billing/meter.rbi +226 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
- data/rbi/stripe/resources/capability.rbi +125 -0
- data/rbi/stripe/resources/card.rbi +125 -0
- data/rbi/stripe/resources/cash_balance.rbi +32 -0
- data/rbi/stripe/resources/charge.rbi +2057 -0
- data/rbi/stripe/resources/checkout/session.rbi +3988 -0
- data/rbi/stripe/resources/climate/order.rbi +245 -0
- data/rbi/stripe/resources/climate/product.rbi +75 -0
- data/rbi/stripe/resources/climate/supplier.rbi +72 -0
- data/rbi/stripe/resources/confirmation_token.rbi +1873 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
- data/rbi/stripe/resources/country_spec.rbi +85 -0
- data/rbi/stripe/resources/coupon.rbi +252 -0
- data/rbi/stripe/resources/credit_note.rbi +747 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
- data/rbi/stripe/resources/customer.rbi +1009 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
- data/rbi/stripe/resources/customer_session.rbi +200 -0
- data/rbi/stripe/resources/discount.rbi +53 -0
- data/rbi/stripe/resources/dispute.rbi +761 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
- data/rbi/stripe/resources/event.rbi +149 -0
- data/rbi/stripe/resources/exchange_rate.rbi +66 -0
- data/rbi/stripe/resources/file.rbi +143 -0
- data/rbi/stripe/resources/file_link.rbi +141 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
- data/rbi/stripe/resources/forwarding/request.rbi +216 -0
- data/rbi/stripe/resources/funding_instructions.rbi +437 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
- data/rbi/stripe/resources/invoice.rbi +3736 -0
- data/rbi/stripe/resources/invoice_item.rbi +475 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
- data/rbi/stripe/resources/invoice_payment.rbi +114 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
- data/rbi/stripe/resources/issuing/card.rbi +741 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
- data/rbi/stripe/resources/issuing/token.rbi +226 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
- data/rbi/stripe/resources/line_item.rbi +72 -0
- data/rbi/stripe/resources/login_link.rbi +19 -0
- data/rbi/stripe/resources/mandate.rbi +187 -0
- data/rbi/stripe/resources/payment_intent.rbi +9795 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1831 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3220 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
- data/rbi/stripe/resources/payout.rbi +300 -0
- data/rbi/stripe/resources/person.rbi +401 -0
- data/rbi/stripe/resources/plan.rbi +373 -0
- data/rbi/stripe/resources/price.rbi +694 -0
- data/rbi/stripe/resources/product.rbi +557 -0
- data/rbi/stripe/resources/product_feature.rbi +26 -0
- data/rbi/stripe/resources/promotion_code.rbi +261 -0
- data/rbi/stripe/resources/quote.rbi +1126 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
- data/rbi/stripe/resources/radar/value_list.rbi +170 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
- data/rbi/stripe/resources/refund.rbi +519 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
- data/rbi/stripe/resources/reversal.rbi +51 -0
- data/rbi/stripe/resources/review.rbi +154 -0
- data/rbi/stripe/resources/setup_attempt.rbi +477 -0
- data/rbi/stripe/resources/setup_intent.rbi +3869 -0
- data/rbi/stripe/resources/shipping_rate.rbi +305 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
- data/rbi/stripe/resources/source.rbi +1496 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
- data/rbi/stripe/resources/source_transaction.rbi +127 -0
- data/rbi/stripe/resources/subscription.rbi +1964 -0
- data/rbi/stripe/resources/subscription_item.rbi +370 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
- data/rbi/stripe/resources/tax/calculation.rbi +474 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
- data/rbi/stripe/resources/tax/registration.rbi +2713 -0
- data/rbi/stripe/resources/tax/settings.rbi +141 -0
- data/rbi/stripe/resources/tax/transaction.rbi +351 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
- data/rbi/stripe/resources/tax_code.rbi +44 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
- data/rbi/stripe/resources/tax_id.rbi +167 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +224 -0
- data/rbi/stripe/resources/terminal/reader.rbi +587 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
- data/rbi/stripe/resources/token.rbi +1283 -0
- data/rbi/stripe/resources/topup.rbi +222 -0
- data/rbi/stripe/resources/transfer.rbi +199 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
- data/rbi/stripe/resources/v2/event.rbi +48 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
- data/rbi/stripe/services/account_capability_service.rbi +51 -0
- data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -136
- data/rbi/stripe/services/account_link_service.rbi +58 -0
- data/rbi/stripe/services/account_login_link_service.rbi +22 -0
- data/rbi/stripe/services/account_person_service.rbi +1013 -0
- data/rbi/stripe/services/account_service.rbi +4189 -0
- data/rbi/stripe/services/account_session_service.rbi +572 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
- data/rbi/stripe/services/application_fee_service.rbi +78 -0
- data/rbi/stripe/services/apps/secret_service.rbi +151 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +21 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
- data/rbi/stripe/services/billing/alert_service.rbi +152 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
- data/rbi/stripe/services/billing/meter_service.rbi +163 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/charge_service.rbi +448 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2607 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +142 -0
- data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/climate/product_service.rbi} +25 -36
- data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
- data/rbi/stripe/services/country_spec_service.rbi +44 -0
- data/rbi/stripe/services/coupon_service.rbi +196 -0
- data/{lib/stripe/services/quote_preview_subscription_schedule_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
- data/rbi/stripe/services/credit_note_service.rbi +416 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
- data/rbi/stripe/services/customer_service.rbi +651 -0
- data/rbi/stripe/services/customer_session_service.rbi +116 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
- data/rbi/stripe/services/dispute_service.rbi +424 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
- data/rbi/stripe/services/event_service.rbi +83 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
- data/rbi/stripe/services/file_link_service.rbi +124 -0
- data/rbi/stripe/services/file_service.rbi +116 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
- data/rbi/stripe/services/financial_connections_service.rbi +11 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +368 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
- data/rbi/stripe/services/invoice_service.rbi +2920 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
- data/rbi/stripe/services/issuing/card_service.rbi +495 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
- data/rbi/stripe/services/issuing/token_service.rbi +99 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
- data/rbi/stripe/services/issuing_service.rbi +16 -0
- data/rbi/stripe/services/mandate_service.rbi +20 -0
- data/rbi/stripe/services/payment_intent_service.rbi +7819 -0
- data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/payment_link_service.rbi +1352 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2255 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +846 -0
- data/rbi/stripe/services/payout_service.rbi +205 -0
- data/rbi/stripe/services/plan_service.rbi +284 -0
- data/rbi/stripe/services/price_service.rbi +546 -0
- data/rbi/stripe/services/product_feature_service.rbi +69 -0
- data/rbi/stripe/services/product_service.rbi +479 -0
- data/rbi/stripe/services/promotion_code_service.rbi +214 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
- data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/quote_service.rbi +686 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +185 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +84 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
- data/rbi/stripe/services/setup_intent_service.rbi +3605 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +663 -0
- data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
- data/rbi/stripe/services/subscription_item_service.rbi +324 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
- data/rbi/stripe/services/subscription_service.rbi +1596 -0
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
- data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
- data/rbi/stripe/services/tax/settings_service.rbi +93 -0
- data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
- data/rbi/stripe/services/tax_code_service.rbi +44 -0
- data/rbi/stripe/services/tax_id_service.rbi +112 -0
- data/rbi/stripe/services/tax_rate_service.rbi +185 -0
- data/rbi/stripe/services/tax_service.rbi +12 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +184 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +805 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
- data/rbi/stripe/services/test_helpers_service.rbi +15 -0
- data/rbi/stripe/services/token_service.rbi +1257 -0
- data/rbi/stripe/services/topup_service.rbi +176 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
- data/rbi/stripe/services/transfer_service.rbi +152 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +77 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +38 -0
- data/rbi/stripe/services/v2/core_service.rbi +12 -0
- data/rbi/stripe/services/v2_services.rbi +10 -0
- data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
- data/stripe.gemspec +1 -4
- metadata +325 -146
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -101
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -179
- data/lib/stripe/resources/capital/financing_summary.rb +0 -55
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -90
- data/lib/stripe/resources/gift_cards/card.rb +0 -208
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
- data/lib/stripe/resources/issuing/settlement.rb +0 -53
- data/lib/stripe/resources/margin.rb +0 -115
- data/lib/stripe/resources/order.rb +0 -2859
- data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
- data/lib/stripe/resources/payment_record.rb +0 -1607
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -251
- data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +0 -35
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -54
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -337
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -211
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
- data/lib/stripe/resources/v2/core/account.rb +0 -1715
- data/lib/stripe/resources/v2/core/account_link.rb +0 -54
- data/lib/stripe/resources/v2/core/person.rb +0 -272
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/balance_settings_service.rb +0 -96
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
- data/lib/stripe/services/v2/core/account_service.rb +0 -4130
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -80
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
- data/rbi/stripe.rbi +0 -190156
@@ -31,7 +31,7 @@ module Stripe
|
|
31
31
|
end
|
32
32
|
|
33
33
|
class TaxId < Stripe::StripeObject
|
34
|
-
# 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`
|
34
|
+
# 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`
|
35
35
|
attr_reader :type
|
36
36
|
# The value of the tax ID.
|
37
37
|
attr_reader :value
|
@@ -200,7 +200,7 @@ module Stripe
|
|
200
200
|
end
|
201
201
|
|
202
202
|
class TaxId < Stripe::RequestParams
|
203
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
203
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
204
204
|
attr_accessor :type
|
205
205
|
# Value of the tax ID.
|
206
206
|
attr_accessor :value
|
@@ -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.
|
@@ -331,6 +371,11 @@ module Stripe
|
|
331
371
|
attr_reader :type
|
332
372
|
end
|
333
373
|
|
374
|
+
class Kg < Stripe::StripeObject
|
375
|
+
# Type of registration in `country`.
|
376
|
+
attr_reader :type
|
377
|
+
end
|
378
|
+
|
334
379
|
class Kh < Stripe::StripeObject
|
335
380
|
# Type of registration in `country`.
|
336
381
|
attr_reader :type
|
@@ -346,6 +391,11 @@ module Stripe
|
|
346
391
|
attr_reader :type
|
347
392
|
end
|
348
393
|
|
394
|
+
class La < Stripe::StripeObject
|
395
|
+
# Type of registration in `country`.
|
396
|
+
attr_reader :type
|
397
|
+
end
|
398
|
+
|
349
399
|
class Lt < Stripe::StripeObject
|
350
400
|
class Standard < Stripe::StripeObject
|
351
401
|
# Place of supply scheme used in an EU standard registration.
|
@@ -466,6 +516,11 @@ module Stripe
|
|
466
516
|
attr_reader :type
|
467
517
|
end
|
468
518
|
|
519
|
+
class Ph < Stripe::StripeObject
|
520
|
+
# Type of registration in `country`.
|
521
|
+
attr_reader :type
|
522
|
+
end
|
523
|
+
|
469
524
|
class Pl < Stripe::StripeObject
|
470
525
|
class Standard < Stripe::StripeObject
|
471
526
|
# Place of supply scheme used in an EU standard registration.
|
@@ -661,16 +716,26 @@ module Stripe
|
|
661
716
|
attr_reader :at
|
662
717
|
# Attribute for field au
|
663
718
|
attr_reader :au
|
719
|
+
# Attribute for field aw
|
720
|
+
attr_reader :aw
|
721
|
+
# Attribute for field az
|
722
|
+
attr_reader :az
|
664
723
|
# Attribute for field ba
|
665
724
|
attr_reader :ba
|
666
725
|
# Attribute for field bb
|
667
726
|
attr_reader :bb
|
727
|
+
# Attribute for field bd
|
728
|
+
attr_reader :bd
|
668
729
|
# Attribute for field be
|
669
730
|
attr_reader :be
|
731
|
+
# Attribute for field bf
|
732
|
+
attr_reader :bf
|
670
733
|
# Attribute for field bg
|
671
734
|
attr_reader :bg
|
672
735
|
# Attribute for field bh
|
673
736
|
attr_reader :bh
|
737
|
+
# Attribute for field bj
|
738
|
+
attr_reader :bj
|
674
739
|
# Attribute for field bs
|
675
740
|
attr_reader :bs
|
676
741
|
# Attribute for field by
|
@@ -683,10 +748,14 @@ module Stripe
|
|
683
748
|
attr_reader :ch
|
684
749
|
# Attribute for field cl
|
685
750
|
attr_reader :cl
|
751
|
+
# Attribute for field cm
|
752
|
+
attr_reader :cm
|
686
753
|
# Attribute for field co
|
687
754
|
attr_reader :co
|
688
755
|
# Attribute for field cr
|
689
756
|
attr_reader :cr
|
757
|
+
# Attribute for field cv
|
758
|
+
attr_reader :cv
|
690
759
|
# Attribute for field cy
|
691
760
|
attr_reader :cy
|
692
761
|
# Attribute for field cz
|
@@ -703,6 +772,8 @@ module Stripe
|
|
703
772
|
attr_reader :eg
|
704
773
|
# Attribute for field es
|
705
774
|
attr_reader :es
|
775
|
+
# Attribute for field et
|
776
|
+
attr_reader :et
|
706
777
|
# Attribute for field fi
|
707
778
|
attr_reader :fi
|
708
779
|
# Attribute for field fr
|
@@ -733,12 +804,16 @@ module Stripe
|
|
733
804
|
attr_reader :jp
|
734
805
|
# Attribute for field ke
|
735
806
|
attr_reader :ke
|
807
|
+
# Attribute for field kg
|
808
|
+
attr_reader :kg
|
736
809
|
# Attribute for field kh
|
737
810
|
attr_reader :kh
|
738
811
|
# Attribute for field kr
|
739
812
|
attr_reader :kr
|
740
813
|
# Attribute for field kz
|
741
814
|
attr_reader :kz
|
815
|
+
# Attribute for field la
|
816
|
+
attr_reader :la
|
742
817
|
# Attribute for field lt
|
743
818
|
attr_reader :lt
|
744
819
|
# Attribute for field lu
|
@@ -775,6 +850,8 @@ module Stripe
|
|
775
850
|
attr_reader :om
|
776
851
|
# Attribute for field pe
|
777
852
|
attr_reader :pe
|
853
|
+
# Attribute for field ph
|
854
|
+
attr_reader :ph
|
778
855
|
# Attribute for field pl
|
779
856
|
attr_reader :pl
|
780
857
|
# Attribute for field pt
|
@@ -919,6 +996,24 @@ module Stripe
|
|
919
996
|
end
|
920
997
|
end
|
921
998
|
|
999
|
+
class Aw < Stripe::RequestParams
|
1000
|
+
# Type of registration to be created in `country`.
|
1001
|
+
attr_accessor :type
|
1002
|
+
|
1003
|
+
def initialize(type: nil)
|
1004
|
+
@type = type
|
1005
|
+
end
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
class Az < Stripe::RequestParams
|
1009
|
+
# Type of registration to be created in `country`.
|
1010
|
+
attr_accessor :type
|
1011
|
+
|
1012
|
+
def initialize(type: nil)
|
1013
|
+
@type = type
|
1014
|
+
end
|
1015
|
+
end
|
1016
|
+
|
922
1017
|
class Ba < Stripe::RequestParams
|
923
1018
|
# Type of registration to be created in `country`.
|
924
1019
|
attr_accessor :type
|
@@ -937,6 +1032,15 @@ module Stripe
|
|
937
1032
|
end
|
938
1033
|
end
|
939
1034
|
|
1035
|
+
class Bd < Stripe::RequestParams
|
1036
|
+
# Type of registration to be created in `country`.
|
1037
|
+
attr_accessor :type
|
1038
|
+
|
1039
|
+
def initialize(type: nil)
|
1040
|
+
@type = type
|
1041
|
+
end
|
1042
|
+
end
|
1043
|
+
|
940
1044
|
class Be < Stripe::RequestParams
|
941
1045
|
class Standard < Stripe::RequestParams
|
942
1046
|
# Place of supply scheme used in an EU standard registration.
|
@@ -957,6 +1061,15 @@ module Stripe
|
|
957
1061
|
end
|
958
1062
|
end
|
959
1063
|
|
1064
|
+
class Bf < Stripe::RequestParams
|
1065
|
+
# Type of registration to be created in `country`.
|
1066
|
+
attr_accessor :type
|
1067
|
+
|
1068
|
+
def initialize(type: nil)
|
1069
|
+
@type = type
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
960
1073
|
class Bg < Stripe::RequestParams
|
961
1074
|
class Standard < Stripe::RequestParams
|
962
1075
|
# Place of supply scheme used in an EU standard registration.
|
@@ -986,6 +1099,15 @@ module Stripe
|
|
986
1099
|
end
|
987
1100
|
end
|
988
1101
|
|
1102
|
+
class Bj < Stripe::RequestParams
|
1103
|
+
# Type of registration to be created in `country`.
|
1104
|
+
attr_accessor :type
|
1105
|
+
|
1106
|
+
def initialize(type: nil)
|
1107
|
+
@type = type
|
1108
|
+
end
|
1109
|
+
end
|
1110
|
+
|
989
1111
|
class Bs < Stripe::RequestParams
|
990
1112
|
# Type of registration to be created in `country`.
|
991
1113
|
attr_accessor :type
|
@@ -1051,6 +1173,15 @@ module Stripe
|
|
1051
1173
|
end
|
1052
1174
|
end
|
1053
1175
|
|
1176
|
+
class Cm < Stripe::RequestParams
|
1177
|
+
# Type of registration to be created in `country`.
|
1178
|
+
attr_accessor :type
|
1179
|
+
|
1180
|
+
def initialize(type: nil)
|
1181
|
+
@type = type
|
1182
|
+
end
|
1183
|
+
end
|
1184
|
+
|
1054
1185
|
class Co < Stripe::RequestParams
|
1055
1186
|
# Type of registration to be created in `country`.
|
1056
1187
|
attr_accessor :type
|
@@ -1069,6 +1200,15 @@ module Stripe
|
|
1069
1200
|
end
|
1070
1201
|
end
|
1071
1202
|
|
1203
|
+
class Cv < Stripe::RequestParams
|
1204
|
+
# Type of registration to be created in `country`.
|
1205
|
+
attr_accessor :type
|
1206
|
+
|
1207
|
+
def initialize(type: nil)
|
1208
|
+
@type = type
|
1209
|
+
end
|
1210
|
+
end
|
1211
|
+
|
1072
1212
|
class Cy < Stripe::RequestParams
|
1073
1213
|
class Standard < Stripe::RequestParams
|
1074
1214
|
# Place of supply scheme used in an EU standard registration.
|
@@ -1207,6 +1347,15 @@ module Stripe
|
|
1207
1347
|
end
|
1208
1348
|
end
|
1209
1349
|
|
1350
|
+
class Et < Stripe::RequestParams
|
1351
|
+
# Type of registration to be created in `country`.
|
1352
|
+
attr_accessor :type
|
1353
|
+
|
1354
|
+
def initialize(type: nil)
|
1355
|
+
@type = type
|
1356
|
+
end
|
1357
|
+
end
|
1358
|
+
|
1210
1359
|
class Fi < Stripe::RequestParams
|
1211
1360
|
class Standard < Stripe::RequestParams
|
1212
1361
|
# Place of supply scheme used in an EU standard registration.
|
@@ -1419,6 +1568,15 @@ module Stripe
|
|
1419
1568
|
end
|
1420
1569
|
end
|
1421
1570
|
|
1571
|
+
class Kg < Stripe::RequestParams
|
1572
|
+
# Type of registration to be created in `country`.
|
1573
|
+
attr_accessor :type
|
1574
|
+
|
1575
|
+
def initialize(type: nil)
|
1576
|
+
@type = type
|
1577
|
+
end
|
1578
|
+
end
|
1579
|
+
|
1422
1580
|
class Kh < Stripe::RequestParams
|
1423
1581
|
# Type of registration to be created in `country`.
|
1424
1582
|
attr_accessor :type
|
@@ -1446,6 +1604,15 @@ module Stripe
|
|
1446
1604
|
end
|
1447
1605
|
end
|
1448
1606
|
|
1607
|
+
class La < Stripe::RequestParams
|
1608
|
+
# Type of registration to be created in `country`.
|
1609
|
+
attr_accessor :type
|
1610
|
+
|
1611
|
+
def initialize(type: nil)
|
1612
|
+
@type = type
|
1613
|
+
end
|
1614
|
+
end
|
1615
|
+
|
1449
1616
|
class Lt < Stripe::RequestParams
|
1450
1617
|
class Standard < Stripe::RequestParams
|
1451
1618
|
# Place of supply scheme used in an EU standard registration.
|
@@ -1663,6 +1830,15 @@ module Stripe
|
|
1663
1830
|
end
|
1664
1831
|
end
|
1665
1832
|
|
1833
|
+
class Ph < Stripe::RequestParams
|
1834
|
+
# Type of registration to be created in `country`.
|
1835
|
+
attr_accessor :type
|
1836
|
+
|
1837
|
+
def initialize(type: nil)
|
1838
|
+
@type = type
|
1839
|
+
end
|
1840
|
+
end
|
1841
|
+
|
1666
1842
|
class Pl < Stripe::RequestParams
|
1667
1843
|
class Standard < Stripe::RequestParams
|
1668
1844
|
# Place of supply scheme used in an EU standard registration.
|
@@ -2011,16 +2187,26 @@ module Stripe
|
|
2011
2187
|
attr_accessor :at
|
2012
2188
|
# Options for the registration in AU.
|
2013
2189
|
attr_accessor :au
|
2190
|
+
# Options for the registration in AW.
|
2191
|
+
attr_accessor :aw
|
2192
|
+
# Options for the registration in AZ.
|
2193
|
+
attr_accessor :az
|
2014
2194
|
# Options for the registration in BA.
|
2015
2195
|
attr_accessor :ba
|
2016
2196
|
# Options for the registration in BB.
|
2017
2197
|
attr_accessor :bb
|
2198
|
+
# Options for the registration in BD.
|
2199
|
+
attr_accessor :bd
|
2018
2200
|
# Options for the registration in BE.
|
2019
2201
|
attr_accessor :be
|
2202
|
+
# Options for the registration in BF.
|
2203
|
+
attr_accessor :bf
|
2020
2204
|
# Options for the registration in BG.
|
2021
2205
|
attr_accessor :bg
|
2022
2206
|
# Options for the registration in BH.
|
2023
2207
|
attr_accessor :bh
|
2208
|
+
# Options for the registration in BJ.
|
2209
|
+
attr_accessor :bj
|
2024
2210
|
# Options for the registration in BS.
|
2025
2211
|
attr_accessor :bs
|
2026
2212
|
# Options for the registration in BY.
|
@@ -2033,10 +2219,14 @@ module Stripe
|
|
2033
2219
|
attr_accessor :ch
|
2034
2220
|
# Options for the registration in CL.
|
2035
2221
|
attr_accessor :cl
|
2222
|
+
# Options for the registration in CM.
|
2223
|
+
attr_accessor :cm
|
2036
2224
|
# Options for the registration in CO.
|
2037
2225
|
attr_accessor :co
|
2038
2226
|
# Options for the registration in CR.
|
2039
2227
|
attr_accessor :cr
|
2228
|
+
# Options for the registration in CV.
|
2229
|
+
attr_accessor :cv
|
2040
2230
|
# Options for the registration in CY.
|
2041
2231
|
attr_accessor :cy
|
2042
2232
|
# Options for the registration in CZ.
|
@@ -2053,6 +2243,8 @@ module Stripe
|
|
2053
2243
|
attr_accessor :eg
|
2054
2244
|
# Options for the registration in ES.
|
2055
2245
|
attr_accessor :es
|
2246
|
+
# Options for the registration in ET.
|
2247
|
+
attr_accessor :et
|
2056
2248
|
# Options for the registration in FI.
|
2057
2249
|
attr_accessor :fi
|
2058
2250
|
# Options for the registration in FR.
|
@@ -2083,12 +2275,16 @@ module Stripe
|
|
2083
2275
|
attr_accessor :jp
|
2084
2276
|
# Options for the registration in KE.
|
2085
2277
|
attr_accessor :ke
|
2278
|
+
# Options for the registration in KG.
|
2279
|
+
attr_accessor :kg
|
2086
2280
|
# Options for the registration in KH.
|
2087
2281
|
attr_accessor :kh
|
2088
2282
|
# Options for the registration in KR.
|
2089
2283
|
attr_accessor :kr
|
2090
2284
|
# Options for the registration in KZ.
|
2091
2285
|
attr_accessor :kz
|
2286
|
+
# Options for the registration in LA.
|
2287
|
+
attr_accessor :la
|
2092
2288
|
# Options for the registration in LT.
|
2093
2289
|
attr_accessor :lt
|
2094
2290
|
# Options for the registration in LU.
|
@@ -2125,6 +2321,8 @@ module Stripe
|
|
2125
2321
|
attr_accessor :om
|
2126
2322
|
# Options for the registration in PE.
|
2127
2323
|
attr_accessor :pe
|
2324
|
+
# Options for the registration in PH.
|
2325
|
+
attr_accessor :ph
|
2128
2326
|
# Options for the registration in PL.
|
2129
2327
|
attr_accessor :pl
|
2130
2328
|
# Options for the registration in PT.
|
@@ -2181,19 +2379,26 @@ module Stripe
|
|
2181
2379
|
ao: nil,
|
2182
2380
|
at: nil,
|
2183
2381
|
au: nil,
|
2382
|
+
aw: nil,
|
2383
|
+
az: nil,
|
2184
2384
|
ba: nil,
|
2185
2385
|
bb: nil,
|
2386
|
+
bd: nil,
|
2186
2387
|
be: nil,
|
2388
|
+
bf: nil,
|
2187
2389
|
bg: nil,
|
2188
2390
|
bh: nil,
|
2391
|
+
bj: nil,
|
2189
2392
|
bs: nil,
|
2190
2393
|
by: nil,
|
2191
2394
|
ca: nil,
|
2192
2395
|
cd: nil,
|
2193
2396
|
ch: nil,
|
2194
2397
|
cl: nil,
|
2398
|
+
cm: nil,
|
2195
2399
|
co: nil,
|
2196
2400
|
cr: nil,
|
2401
|
+
cv: nil,
|
2197
2402
|
cy: nil,
|
2198
2403
|
cz: nil,
|
2199
2404
|
de: nil,
|
@@ -2202,6 +2407,7 @@ module Stripe
|
|
2202
2407
|
ee: nil,
|
2203
2408
|
eg: nil,
|
2204
2409
|
es: nil,
|
2410
|
+
et: nil,
|
2205
2411
|
fi: nil,
|
2206
2412
|
fr: nil,
|
2207
2413
|
gb: nil,
|
@@ -2217,9 +2423,11 @@ module Stripe
|
|
2217
2423
|
it: nil,
|
2218
2424
|
jp: nil,
|
2219
2425
|
ke: nil,
|
2426
|
+
kg: nil,
|
2220
2427
|
kh: nil,
|
2221
2428
|
kr: nil,
|
2222
2429
|
kz: nil,
|
2430
|
+
la: nil,
|
2223
2431
|
lt: nil,
|
2224
2432
|
lu: nil,
|
2225
2433
|
lv: nil,
|
@@ -2238,6 +2446,7 @@ module Stripe
|
|
2238
2446
|
nz: nil,
|
2239
2447
|
om: nil,
|
2240
2448
|
pe: nil,
|
2449
|
+
ph: nil,
|
2241
2450
|
pl: nil,
|
2242
2451
|
pt: nil,
|
2243
2452
|
ro: nil,
|
@@ -2269,19 +2478,26 @@ module Stripe
|
|
2269
2478
|
@ao = ao
|
2270
2479
|
@at = at
|
2271
2480
|
@au = au
|
2481
|
+
@aw = aw
|
2482
|
+
@az = az
|
2272
2483
|
@ba = ba
|
2273
2484
|
@bb = bb
|
2485
|
+
@bd = bd
|
2274
2486
|
@be = be
|
2487
|
+
@bf = bf
|
2275
2488
|
@bg = bg
|
2276
2489
|
@bh = bh
|
2490
|
+
@bj = bj
|
2277
2491
|
@bs = bs
|
2278
2492
|
@by = by
|
2279
2493
|
@ca = ca
|
2280
2494
|
@cd = cd
|
2281
2495
|
@ch = ch
|
2282
2496
|
@cl = cl
|
2497
|
+
@cm = cm
|
2283
2498
|
@co = co
|
2284
2499
|
@cr = cr
|
2500
|
+
@cv = cv
|
2285
2501
|
@cy = cy
|
2286
2502
|
@cz = cz
|
2287
2503
|
@de = de
|
@@ -2290,6 +2506,7 @@ module Stripe
|
|
2290
2506
|
@ee = ee
|
2291
2507
|
@eg = eg
|
2292
2508
|
@es = es
|
2509
|
+
@et = et
|
2293
2510
|
@fi = fi
|
2294
2511
|
@fr = fr
|
2295
2512
|
@gb = gb
|
@@ -2305,9 +2522,11 @@ module Stripe
|
|
2305
2522
|
@it = it
|
2306
2523
|
@jp = jp
|
2307
2524
|
@ke = ke
|
2525
|
+
@kg = kg
|
2308
2526
|
@kh = kh
|
2309
2527
|
@kr = kr
|
2310
2528
|
@kz = kz
|
2529
|
+
@la = la
|
2311
2530
|
@lt = lt
|
2312
2531
|
@lu = lu
|
2313
2532
|
@lv = lv
|
@@ -2326,6 +2545,7 @@ module Stripe
|
|
2326
2545
|
@nz = nz
|
2327
2546
|
@om = om
|
2328
2547
|
@pe = pe
|
2548
|
+
@ph = ph
|
2329
2549
|
@pl = pl
|
2330
2550
|
@pt = pt
|
2331
2551
|
@ro = ro
|
@@ -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
|
@@ -23,8 +23,6 @@ module Stripe
|
|
23
23
|
attr_reader :application
|
24
24
|
# The customer being referenced when `type` is `customer`.
|
25
25
|
attr_reader :customer
|
26
|
-
# The account being referenced when `type` is `customer`.
|
27
|
-
attr_reader :customer_account
|
28
26
|
# Type of owner referenced.
|
29
27
|
attr_reader :type
|
30
28
|
end
|
@@ -47,15 +45,12 @@ module Stripe
|
|
47
45
|
attr_accessor :account
|
48
46
|
# Customer the tax ID belongs to. Required when `type=customer`
|
49
47
|
attr_accessor :customer
|
50
|
-
# v2 Account the tax ID belongs to. Can be used in place of `customer` when `type=customer`
|
51
|
-
attr_accessor :customer_account
|
52
48
|
# Type of owner referenced.
|
53
49
|
attr_accessor :type
|
54
50
|
|
55
|
-
def initialize(account: nil, customer: nil,
|
51
|
+
def initialize(account: nil, customer: nil, type: nil)
|
56
52
|
@account = account
|
57
53
|
@customer = customer
|
58
|
-
@customer_account = customer_account
|
59
54
|
@type = type
|
60
55
|
end
|
61
56
|
end
|
@@ -85,15 +80,12 @@ module Stripe
|
|
85
80
|
attr_accessor :account
|
86
81
|
# Customer the tax ID belongs to. Required when `type=customer`
|
87
82
|
attr_accessor :customer
|
88
|
-
# v2 Account the tax ID belongs to. Can be used in place of `customer` when `type=customer`
|
89
|
-
attr_accessor :customer_account
|
90
83
|
# Type of owner referenced.
|
91
84
|
attr_accessor :type
|
92
85
|
|
93
|
-
def initialize(account: nil, customer: nil,
|
86
|
+
def initialize(account: nil, customer: nil, type: nil)
|
94
87
|
@account = account
|
95
88
|
@customer = customer
|
96
|
-
@customer_account = customer_account
|
97
89
|
@type = type
|
98
90
|
end
|
99
91
|
end
|
@@ -101,7 +93,7 @@ module Stripe
|
|
101
93
|
attr_accessor :expand
|
102
94
|
# The account or customer the tax ID belongs to. Defaults to `owner[type]=self`.
|
103
95
|
attr_accessor :owner
|
104
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
96
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
105
97
|
attr_accessor :type
|
106
98
|
# Value of the tax ID.
|
107
99
|
attr_accessor :value
|
@@ -119,8 +111,6 @@ module Stripe
|
|
119
111
|
attr_reader :created
|
120
112
|
# ID of the customer.
|
121
113
|
attr_reader :customer
|
122
|
-
# ID of the account.
|
123
|
-
attr_reader :customer_account
|
124
114
|
# Unique identifier for the object.
|
125
115
|
attr_reader :id
|
126
116
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
@@ -129,7 +119,7 @@ module Stripe
|
|
129
119
|
attr_reader :object
|
130
120
|
# The account or customer the tax ID belongs to.
|
131
121
|
attr_reader :owner
|
132
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`
|
122
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`
|
133
123
|
attr_reader :type
|
134
124
|
# Value of the tax ID.
|
135
125
|
attr_reader :value
|