stripe 13.3.0 → 13.4.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1410 -650
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_operations/request.rb +1 -0
- data/lib/stripe/api_requestor.rb +1 -0
- data/lib/stripe/object_types.rb +32 -0
- data/lib/stripe/request_params.rb +24 -0
- data/lib/stripe/request_signing_authenticator.rb +79 -0
- data/lib/stripe/resources/account.rb +5793 -0
- data/lib/stripe/resources/account_link.rb +64 -0
- data/lib/stripe/resources/account_notice.rb +154 -0
- data/lib/stripe/resources/account_session.rb +1002 -0
- data/lib/stripe/resources/apple_pay_domain.rb +73 -0
- data/lib/stripe/resources/application.rb +23 -0
- data/lib/stripe/resources/application_fee.rb +120 -0
- data/lib/stripe/resources/application_fee_refund.rb +24 -0
- data/lib/stripe/resources/apps/secret.rb +166 -0
- data/lib/stripe/resources/balance.rb +162 -0
- data/lib/stripe/resources/balance_transaction.rb +141 -0
- data/lib/stripe/resources/bank_account.rb +113 -2
- data/lib/stripe/resources/billing/alert.rb +166 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +31 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +89 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +140 -0
- data/lib/stripe/resources/billing/credit_grant.rb +235 -0
- data/lib/stripe/resources/billing/meter.rb +203 -0
- data/lib/stripe/resources/billing/meter_error_report.rb +70 -0
- data/lib/stripe/resources/billing/meter_event.rb +45 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +51 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +21 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +639 -0
- data/lib/stripe/resources/billing_portal/session.rb +313 -0
- data/lib/stripe/resources/capability.rb +111 -0
- data/lib/stripe/resources/capital/financing_offer.rb +221 -0
- data/lib/stripe/resources/capital/financing_summary.rb +77 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +147 -0
- data/lib/stripe/resources/card.rb +111 -0
- data/lib/stripe/resources/cash_balance.rb +22 -0
- data/lib/stripe/resources/charge.rb +3687 -0
- data/lib/stripe/resources/checkout/session.rb +4162 -0
- data/lib/stripe/resources/climate/order.rb +216 -0
- data/lib/stripe/resources/climate/product.rb +69 -0
- data/lib/stripe/resources/climate/supplier.rb +67 -0
- data/lib/stripe/resources/confirmation_token.rb +1855 -0
- data/lib/stripe/resources/connect_collection_transfer.rb +29 -0
- data/lib/stripe/resources/country_spec.rb +76 -0
- data/lib/stripe/resources/coupon.rb +237 -0
- data/lib/stripe/resources/credit_note.rb +798 -0
- data/lib/stripe/resources/credit_note_line_item.rb +89 -0
- data/lib/stripe/resources/customer.rb +995 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +39 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +136 -0
- data/lib/stripe/resources/customer_session.rb +183 -0
- data/lib/stripe/resources/discount.rb +41 -0
- data/lib/stripe/resources/dispute.rb +767 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +54 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +26 -0
- data/lib/stripe/resources/entitlements/feature.rb +107 -0
- data/lib/stripe/resources/ephemeral_key.rb +26 -0
- data/lib/stripe/resources/event.rb +157 -0
- data/lib/stripe/resources/exchange_rate.rb +38 -0
- data/lib/stripe/resources/file.rb +134 -0
- data/lib/stripe/resources/file_link.rb +134 -0
- data/lib/stripe/resources/financial_connections/account.rb +307 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +30 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +24 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +12 -0
- data/lib/stripe/resources/financial_connections/institution.rb +112 -0
- data/lib/stripe/resources/financial_connections/session.rb +187 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +122 -0
- data/lib/stripe/resources/forwarding/request.rb +196 -0
- data/lib/stripe/resources/funding_instructions.rb +415 -0
- data/lib/stripe/resources/gift_cards/card.rb +245 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +313 -0
- data/lib/stripe/resources/identity/verification_report.rb +335 -0
- data/lib/stripe/resources/identity/verification_session.rb +430 -0
- data/lib/stripe/resources/invoice.rb +9348 -0
- data/lib/stripe/resources/invoice_item.rb +536 -0
- data/lib/stripe/resources/invoice_line_item.rb +409 -0
- data/lib/stripe/resources/invoice_payment.rb +72 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +79 -0
- data/lib/stripe/resources/issuing/authorization.rb +1316 -2
- data/lib/stripe/resources/issuing/card.rb +794 -0
- data/lib/stripe/resources/issuing/cardholder.rb +768 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +693 -0
- data/lib/stripe/resources/issuing/dispute.rb +941 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +98 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +109 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +333 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +76 -0
- data/lib/stripe/resources/issuing/settlement.rb +65 -0
- data/lib/stripe/resources/issuing/token.rb +221 -0
- data/lib/stripe/resources/issuing/transaction.rb +1098 -0
- data/lib/stripe/resources/line_item.rb +98 -0
- data/lib/stripe/resources/login_link.rb +9 -0
- data/lib/stripe/resources/mandate.rb +214 -0
- data/lib/stripe/resources/margin.rb +143 -0
- data/lib/stripe/resources/order.rb +3238 -0
- data/lib/stripe/resources/payment_attempt_record.rb +226 -0
- data/lib/stripe/resources/payment_intent.rb +14630 -0
- data/lib/stripe/resources/payment_link.rb +1761 -0
- data/lib/stripe/resources/payment_method.rb +1981 -0
- data/lib/stripe/resources/payment_method_configuration.rb +3137 -0
- data/lib/stripe/resources/payment_method_domain.rb +176 -0
- data/lib/stripe/resources/payment_record.rb +824 -0
- data/lib/stripe/resources/payout.rb +267 -0
- data/lib/stripe/resources/person.rb +353 -0
- data/lib/stripe/resources/plan.rb +386 -0
- data/lib/stripe/resources/price.rb +782 -0
- data/lib/stripe/resources/product.rb +636 -0
- data/lib/stripe/resources/product_feature.rb +16 -0
- data/lib/stripe/resources/promotion_code.rb +261 -0
- data/lib/stripe/resources/quote.rb +3404 -0
- data/lib/stripe/resources/quote_line.rb +340 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +833 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +463 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +93 -0
- data/lib/stripe/resources/radar/value_list.rb +151 -0
- data/lib/stripe/resources/radar/value_list_item.rb +113 -0
- data/lib/stripe/resources/refund.rb +489 -0
- data/lib/stripe/resources/reporting/report_run.rb +182 -0
- data/lib/stripe/resources/reporting/report_type.rb +44 -0
- data/lib/stripe/resources/reserve_transaction.rb +26 -0
- data/lib/stripe/resources/reversal.rb +30 -0
- data/lib/stripe/resources/review.rb +135 -0
- data/lib/stripe/resources/setup_attempt.rb +474 -0
- data/lib/stripe/resources/setup_intent.rb +4371 -0
- data/lib/stripe/resources/shipping_rate.rb +303 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +67 -0
- data/lib/stripe/resources/source.rb +1571 -0
- data/lib/stripe/resources/source_mandate_notification.rb +79 -0
- data/lib/stripe/resources/source_transaction.rb +114 -0
- data/lib/stripe/resources/subscription.rb +2395 -0
- data/lib/stripe/resources/subscription_item.rb +502 -0
- data/lib/stripe/resources/subscription_schedule.rb +2790 -0
- data/lib/stripe/resources/tax/association.rb +100 -0
- data/lib/stripe/resources/tax/calculation.rb +474 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +76 -0
- data/lib/stripe/resources/tax/form.rb +253 -0
- data/lib/stripe/resources/tax/registration.rb +2174 -0
- data/lib/stripe/resources/tax/settings.rb +146 -0
- data/lib/stripe/resources/tax/transaction.rb +332 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +43 -0
- data/lib/stripe/resources/tax_code.rb +41 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +26 -0
- data/lib/stripe/resources/tax_id.rb +147 -0
- data/lib/stripe/resources/tax_rate.rb +245 -0
- data/lib/stripe/resources/terminal/configuration.rb +1175 -0
- data/lib/stripe/resources/terminal/connection_token.rb +21 -0
- data/lib/stripe/resources/terminal/location.rb +208 -0
- data/lib/stripe/resources/terminal/reader.rb +911 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +45 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +101 -0
- data/lib/stripe/resources/token.rb +1337 -0
- data/lib/stripe/resources/topup.rb +210 -0
- data/lib/stripe/resources/transfer.rb +188 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +113 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +126 -0
- data/lib/stripe/resources/treasury/financial_account.rb +766 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +237 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +285 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +587 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +428 -0
- data/lib/stripe/resources/treasury/received_credit.rb +335 -0
- data/lib/stripe/resources/treasury/received_debit.rb +298 -0
- data/lib/stripe/resources/treasury/transaction.rb +215 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +193 -0
- data/lib/stripe/resources/usage_record.rb +18 -0
- data/lib/stripe/resources/usage_record_summary.rb +28 -0
- data/lib/stripe/resources/v2/amount.rb +9 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +24 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +28 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +19 -0
- data/lib/stripe/resources/v2/event.rb +35 -0
- data/lib/stripe/resources/v2/event_destination.rb +78 -0
- data/lib/stripe/resources/webhook_endpoint.rb +148 -0
- data/lib/stripe/resources.rb +31 -0
- data/lib/stripe/services/account_capability_service.rb +33 -0
- data/lib/stripe/services/account_external_account_service.rb +293 -0
- data/lib/stripe/services/account_link_service.rb +53 -0
- data/lib/stripe/services/account_login_link_service.rb +9 -0
- data/lib/stripe/services/account_notice_service.rb +110 -0
- data/lib/stripe/services/account_person_service.rb +1014 -0
- data/lib/stripe/services/account_service.rb +4862 -0
- data/lib/stripe/services/account_session_service.rb +740 -0
- data/lib/stripe/services/apple_pay_domain_service.rb +56 -0
- data/lib/stripe/services/application_fee_refund_service.rb +60 -0
- data/lib/stripe/services/application_fee_service.rb +65 -0
- data/lib/stripe/services/apps/secret_service.rb +132 -0
- data/lib/stripe/services/balance_service.rb +9 -0
- data/lib/stripe/services/balance_transaction_service.rb +80 -0
- data/lib/stripe/services/billing/alert_service.rb +125 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +41 -0
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +45 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +167 -0
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +29 -0
- data/lib/stripe/services/billing/meter_event_service.rb +25 -0
- data/lib/stripe/services/billing/meter_event_summary_service.rb +46 -0
- data/lib/stripe/services/billing/meter_service.rb +142 -0
- data/lib/stripe/services/billing_portal/configuration_service.rb +492 -0
- data/lib/stripe/services/billing_portal/session_service.rb +192 -0
- data/lib/stripe/services/capital/financing_offer_service.rb +121 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +86 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +2010 -0
- data/lib/stripe/services/checkout/session_line_item_service.rb +21 -0
- data/lib/stripe/services/checkout/session_service.rb +2736 -0
- data/lib/stripe/services/climate/order_service.rb +113 -0
- data/lib/stripe/services/climate/product_service.rb +30 -0
- data/lib/stripe/services/climate/supplier_service.rb +30 -0
- data/lib/stripe/services/confirmation_token_service.rb +9 -0
- data/lib/stripe/services/country_spec_service.rb +30 -0
- data/lib/stripe/services/coupon_service.rb +174 -0
- data/lib/stripe/services/credit_note_line_item_service.rb +21 -0
- data/lib/stripe/services/credit_note_preview_lines_service.rb +184 -0
- data/lib/stripe/services/credit_note_service.rb +434 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +72 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +30 -0
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +47 -0
- data/lib/stripe/services/customer_payment_method_service.rb +45 -0
- data/lib/stripe/services/customer_payment_source_service.rb +208 -0
- data/lib/stripe/services/customer_service.rb +684 -0
- data/lib/stripe/services/customer_session_service.rb +106 -0
- data/lib/stripe/services/customer_tax_id_service.rb +50 -0
- data/lib/stripe/services/dispute_service.rb +439 -0
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +40 -0
- data/lib/stripe/services/entitlements/feature_service.rb +87 -0
- data/lib/stripe/services/ephemeral_key_service.rb +40 -0
- data/lib/stripe/services/event_service.rb +75 -0
- data/lib/stripe/services/exchange_rate_service.rb +30 -0
- data/lib/stripe/services/file_link_service.rb +108 -0
- data/lib/stripe/services/file_service.rb +102 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +40 -0
- data/lib/stripe/services/financial_connections/account_owner_service.rb +31 -0
- data/lib/stripe/services/financial_connections/account_service.rb +108 -1
- data/lib/stripe/services/financial_connections/institution_service.rb +60 -0
- data/lib/stripe/services/financial_connections/session_service.rb +108 -0
- data/lib/stripe/services/financial_connections/transaction_service.rb +79 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/forwarding/request_service.rb +120 -0
- data/lib/stripe/services/gift_cards/card_service.rb +183 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +225 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/identity/verification_report_service.rb +75 -0
- data/lib/stripe/services/identity/verification_session_service.rb +261 -0
- data/lib/stripe/services/invoice_item_service.rb +454 -0
- data/lib/stripe/services/invoice_line_item_service.rb +277 -0
- data/lib/stripe/services/invoice_payment_service.rb +58 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +56 -0
- data/lib/stripe/services/invoice_service.rb +6375 -1
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +2142 -0
- data/lib/stripe/services/issuing/authorization_service.rb +118 -0
- data/lib/stripe/services/issuing/card_service.rb +525 -0
- data/lib/stripe/services/issuing/cardholder_service.rb +599 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +560 -0
- data/lib/stripe/services/issuing/dispute_service.rb +731 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +70 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +90 -0
- data/lib/stripe/services/issuing/personalization_design_service.rb +222 -0
- data/lib/stripe/services/issuing/physical_bundle_service.rb +45 -0
- data/lib/stripe/services/issuing/token_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +93 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +9 -0
- data/lib/stripe/services/margin_service.rb +130 -0
- data/lib/stripe/services/order_line_item_service.rb +38 -0
- data/lib/stripe/services/order_service.rb +2518 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +50 -0
- data/lib/stripe/services/payment_intent_service.rb +12203 -0
- data/lib/stripe/services/payment_link_line_item_service.rb +21 -0
- data/lib/stripe/services/payment_link_service.rb +1343 -0
- data/lib/stripe/services/payment_method_configuration_service.rb +2148 -0
- data/lib/stripe/services/payment_method_domain_service.rb +84 -0
- data/lib/stripe/services/payment_method_service.rb +977 -0
- data/lib/stripe/services/payment_record_service.rb +610 -0
- data/lib/stripe/services/payout_service.rb +182 -0
- data/lib/stripe/services/plan_service.rb +296 -0
- data/lib/stripe/services/price_service.rb +603 -0
- data/lib/stripe/services/product_feature_service.rb +46 -0
- data/lib/stripe/services/product_service.rb +533 -0
- data/lib/stripe/services/promotion_code_service.rb +203 -0
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +21 -0
- data/lib/stripe/services/quote_line_item_service.rb +21 -0
- data/lib/stripe/services/quote_line_service.rb +38 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +38 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +38 -0
- data/lib/stripe/services/quote_service.rb +2628 -1
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +70 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +90 -0
- data/lib/stripe/services/radar/value_list_service.rb +119 -0
- data/lib/stripe/services/refund_service.rb +158 -0
- data/lib/stripe/services/reporting/report_run_service.rb +122 -0
- data/lib/stripe/services/reporting/report_type_service.rb +18 -0
- data/lib/stripe/services/review_service.rb +63 -0
- data/lib/stripe/services/setup_attempt_service.rb +59 -0
- data/lib/stripe/services/setup_intent_service.rb +3923 -0
- data/lib/stripe/services/shipping_rate_service.rb +227 -0
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +30 -0
- data/lib/stripe/services/source_service.rb +693 -0
- data/lib/stripe/services/source_transaction_service.rb +21 -0
- data/lib/stripe/services/subscription_item_service.rb +439 -0
- data/lib/stripe/services/subscription_item_usage_record_service.rb +21 -0
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +21 -0
- data/lib/stripe/services/subscription_schedule_service.rb +2343 -0
- data/lib/stripe/services/subscription_service.rb +1967 -0
- data/lib/stripe/services/tax/association_service.rb +32 -0
- data/lib/stripe/services/tax/calculation_line_item_service.rb +21 -0
- data/lib/stripe/services/tax/calculation_service.rb +235 -0
- data/lib/stripe/services/tax/form_service.rb +107 -0
- data/lib/stripe/services/tax/registration_service.rb +1398 -0
- data/lib/stripe/services/tax/settings_service.rb +82 -0
- data/lib/stripe/services/tax/transaction_line_item_service.rb +21 -0
- data/lib/stripe/services/tax/transaction_service.rb +128 -0
- data/lib/stripe/services/tax_code_service.rb +30 -0
- data/lib/stripe/services/tax_id_service.rb +90 -0
- data/lib/stripe/services/tax_rate_service.rb +182 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/configuration_service.rb +901 -0
- data/lib/stripe/services/terminal/connection_token_service.rb +13 -0
- data/lib/stripe/services/terminal/location_service.rb +165 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +496 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +762 -0
- data/lib/stripe/services/test_helpers/customer_service.rb +21 -0
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +844 -0
- data/lib/stripe/services/test_helpers/issuing/card_service.rb +45 -0
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +43 -0
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +723 -0
- data/lib/stripe/services/test_helpers/refund_service.rb +9 -0
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +48 -0
- data/lib/stripe/services/test_helpers/test_clock_service.rb +63 -0
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +39 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +93 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +93 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +95 -0
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +95 -0
- data/lib/stripe/services/token_service.rb +1301 -0
- data/lib/stripe/services/topup_service.rb +163 -0
- data/lib/stripe/services/transfer_reversal_service.rb +74 -0
- data/lib/stripe/services/transfer_service.rb +138 -0
- data/lib/stripe/services/treasury/credit_reversal_service.rb +67 -0
- data/lib/stripe/services/treasury/debit_reversal_service.rb +72 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +179 -0
- data/lib/stripe/services/treasury/financial_account_service.rb +481 -0
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +100 -0
- data/lib/stripe/services/treasury/outbound_payment_service.rb +296 -0
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +147 -0
- data/lib/stripe/services/treasury/received_credit_service.rb +58 -0
- data/lib/stripe/services/treasury/received_debit_service.rb +45 -0
- data/lib/stripe/services/treasury/transaction_entry_service.rb +101 -0
- data/lib/stripe/services/treasury/transaction_service.rb +109 -0
- data/lib/stripe/services/v1_services.rb +8 -1
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +25 -0
- data/lib/stripe/services/v2/billing/meter_event_service.rb +28 -0
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +3 -0
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +36 -0
- data/lib/stripe/services/v2/core/event_destination_service.rb +164 -0
- data/lib/stripe/services/v2/core/event_service.rb +20 -0
- data/lib/stripe/services/webhook_endpoint_service.rb +110 -0
- data/lib/stripe/services.rb +25 -0
- data/lib/stripe/stripe_client.rb +2 -2
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +8 -3
- data/lib/stripe/util.rb +8 -2
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +46 -0
- data/rbi/stripe/resources/account.rbi +6072 -0
- data/rbi/stripe/resources/account_link.rbi +87 -0
- data/rbi/stripe/resources/account_notice.rbi +166 -0
- data/rbi/stripe/resources/account_session.rbi +1173 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +111 -0
- data/rbi/stripe/resources/application.rbi +23 -0
- data/rbi/stripe/resources/application_fee.rbi +151 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +44 -0
- data/rbi/stripe/resources/apps/secret.rbi +229 -0
- data/rbi/stripe/resources/balance.rbi +220 -0
- data/rbi/stripe/resources/balance_transaction.rbi +182 -0
- data/rbi/stripe/resources/bank_account.rbi +156 -0
- data/rbi/stripe/resources/billing/alert.rbi +237 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +33 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +118 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +181 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +312 -0
- data/rbi/stripe/resources/billing/meter.rbi +268 -0
- data/rbi/stripe/resources/billing/meter_error_report.rbi +82 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +76 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +75 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +39 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +746 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +396 -0
- data/rbi/stripe/resources/capability.rbi +152 -0
- data/rbi/stripe/resources/capital/financing_offer.rbi +228 -0
- data/rbi/stripe/resources/capital/financing_summary.rbi +89 -0
- data/rbi/stripe/resources/capital/financing_transaction.rbi +157 -0
- data/rbi/stripe/resources/card.rbi +159 -0
- data/rbi/stripe/resources/cash_balance.rbi +37 -0
- data/rbi/stripe/resources/charge.rbi +4216 -0
- data/rbi/stripe/resources/checkout/session.rbi +4627 -0
- data/rbi/stripe/resources/climate/order.rbi +298 -0
- data/rbi/stripe/resources/climate/product.rbi +98 -0
- data/rbi/stripe/resources/climate/supplier.rbi +95 -0
- data/rbi/stripe/resources/confirmation_token.rbi +2137 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +31 -0
- data/rbi/stripe/resources/country_spec.rbi +108 -0
- data/rbi/stripe/resources/coupon.rbi +305 -0
- data/rbi/stripe/resources/credit_note.rbi +918 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +123 -0
- data/rbi/stripe/resources/customer.rbi +1188 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +65 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +178 -0
- data/rbi/stripe/resources/customer_session.rbi +227 -0
- data/rbi/stripe/resources/discount.rbi +65 -0
- data/rbi/stripe/resources/dispute.rbi +926 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +76 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +26 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +146 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +51 -0
- data/rbi/stripe/resources/event.rbi +221 -0
- data/rbi/stripe/resources/exchange_rate.rbi +81 -0
- data/rbi/stripe/resources/file.rbi +177 -0
- data/rbi/stripe/resources/file_link.rbi +174 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +414 -0
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +30 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +42 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +26 -0
- data/rbi/stripe/resources/financial_connections/institution.rbi +115 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +221 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +153 -0
- data/rbi/stripe/resources/forwarding/request.rbi +257 -0
- data/rbi/stripe/resources/funding_instructions.rbi +544 -0
- data/rbi/stripe/resources/gift_cards/card.rbi +242 -0
- data/rbi/stripe/resources/gift_cards/transaction.rbi +298 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +427 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +601 -0
- data/rbi/stripe/resources/invoice.rbi +10584 -0
- data/rbi/stripe/resources/invoice_item.rbi +621 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +486 -0
- data/rbi/stripe/resources/invoice_payment.rbi +86 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +131 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1511 -0
- data/rbi/stripe/resources/issuing/card.rbi +891 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +870 -0
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +731 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +1077 -0
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +100 -0
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +108 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +395 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +102 -0
- data/rbi/stripe/resources/issuing/settlement.rbi +78 -0
- data/rbi/stripe/resources/issuing/token.rbi +282 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1262 -0
- data/rbi/stripe/resources/line_item.rbi +131 -0
- data/rbi/stripe/resources/login_link.rbi +20 -0
- data/rbi/stripe/resources/mandate.rbi +266 -0
- data/rbi/stripe/resources/margin.rbi +151 -0
- data/rbi/stripe/resources/order.rbi +3505 -0
- data/rbi/stripe/resources/payment_attempt_record.rbi +260 -0
- data/rbi/stripe/resources/payment_intent.rbi +16064 -0
- data/rbi/stripe/resources/payment_link.rbi +1943 -0
- data/rbi/stripe/resources/payment_method.rbi +2287 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3657 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +246 -0
- data/rbi/stripe/resources/payment_record.rbi +856 -0
- data/rbi/stripe/resources/payout.rbi +357 -0
- data/rbi/stripe/resources/person.rbi +461 -0
- data/rbi/stripe/resources/plan.rbi +463 -0
- data/rbi/stripe/resources/price.rbi +884 -0
- data/rbi/stripe/resources/product.rbi +735 -0
- data/rbi/stripe/resources/product_feature.rbi +30 -0
- data/rbi/stripe/resources/promotion_code.rbi +316 -0
- data/rbi/stripe/resources/quote.rbi +3779 -0
- data/rbi/stripe/resources/quote_line.rbi +416 -0
- data/rbi/stripe/resources/quote_preview_invoice.rbi +1030 -0
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +575 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +121 -0
- data/rbi/stripe/resources/radar/value_list.rbi +207 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +157 -0
- data/rbi/stripe/resources/refund.rbi +615 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +232 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +75 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +27 -0
- data/rbi/stripe/resources/reversal.rbi +60 -0
- data/rbi/stripe/resources/review.rbi +191 -0
- data/rbi/stripe/resources/setup_attempt.rbi +587 -0
- data/rbi/stripe/resources/setup_intent.rbi +4726 -0
- data/rbi/stripe/resources/shipping_rate.rbi +367 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +98 -0
- data/rbi/stripe/resources/source.rbi +1899 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +90 -0
- data/rbi/stripe/resources/source_transaction.rbi +156 -0
- data/rbi/stripe/resources/subscription.rbi +2739 -0
- data/rbi/stripe/resources/subscription_item.rbi +566 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +3157 -0
- data/rbi/stripe/resources/tax/association.rbi +107 -0
- data/rbi/stripe/resources/tax/calculation.rbi +577 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +108 -0
- data/rbi/stripe/resources/tax/form.rbi +262 -0
- data/rbi/stripe/resources/tax/registration.rbi +2354 -0
- data/rbi/stripe/resources/tax/settings.rbi +174 -0
- data/rbi/stripe/resources/tax/transaction.rbi +428 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +66 -0
- data/rbi/stripe/resources/tax_code.rbi +60 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +27 -0
- data/rbi/stripe/resources/tax_id.rbi +206 -0
- data/rbi/stripe/resources/tax_rate.rbi +295 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1302 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +42 -0
- data/rbi/stripe/resources/terminal/location.rbi +271 -0
- data/rbi/stripe/resources/terminal/reader.rbi +1110 -0
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +48 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +159 -0
- data/rbi/stripe/resources/token.rbi +1405 -0
- data/rbi/stripe/resources/topup.rbi +269 -0
- data/rbi/stripe/resources/transfer.rbi +245 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +151 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +165 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +924 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +309 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +361 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +702 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +529 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +408 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +367 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +261 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +234 -0
- data/rbi/stripe/resources/usage_record.rbi +37 -0
- data/rbi/stripe/resources/usage_record_summary.rbi +45 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +43 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +48 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +36 -0
- data/rbi/stripe/resources/v2/event.rbi +55 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +109 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +208 -0
- data/rbi/stripe/services/account_capability_service.rbi +55 -0
- data/rbi/stripe/services/account_external_account_service.rbi +358 -0
- data/rbi/stripe/services/account_link_service.rbi +67 -0
- data/rbi/stripe/services/account_login_link_service.rbi +23 -0
- data/rbi/stripe/services/account_notice_service.rbi +103 -0
- data/rbi/stripe/services/account_person_service.rbi +1077 -0
- data/rbi/stripe/services/account_service.rbi +4948 -0
- data/rbi/stripe/services/account_session_service.rbi +873 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +86 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +101 -0
- data/rbi/stripe/services/application_fee_service.rbi +85 -0
- data/rbi/stripe/services/apps/secret_service.rbi +175 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +22 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +103 -0
- data/rbi/stripe/services/billing/alert_service.rbi +172 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +61 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +66 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +217 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +45 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +47 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +62 -0
- data/rbi/stripe/services/billing/meter_service.rbi +184 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +573 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +233 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/capital/financing_offer_service.rbi +108 -0
- data/rbi/stripe/services/capital/financing_summary_service.rbi +23 -0
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +77 -0
- data/rbi/stripe/services/capital_service.rbi +11 -0
- data/rbi/stripe/services/charge_service.rbi +2162 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +37 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2975 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +158 -0
- data/rbi/stripe/services/climate/product_service.rbi +51 -0
- data/rbi/stripe/services/climate/supplier_service.rbi +51 -0
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +21 -0
- data/rbi/stripe/services/country_spec_service.rbi +49 -0
- data/rbi/stripe/services/coupon_service.rbi +220 -0
- data/rbi/stripe/services/credit_note_line_item_service.rbi +35 -0
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +200 -0
- data/rbi/stripe/services/credit_note_service.rbi +496 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +105 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +49 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +49 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +67 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +64 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +265 -0
- data/rbi/stripe/services/customer_service.rbi +763 -0
- data/rbi/stripe/services/customer_session_service.rbi +126 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +80 -0
- data/rbi/stripe/services/dispute_service.rbi +500 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +61 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +122 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +59 -0
- data/rbi/stripe/services/event_service.rbi +94 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +49 -0
- data/rbi/stripe/services/file_link_service.rbi +141 -0
- data/rbi/stripe/services/file_service.rbi +132 -0
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +37 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +47 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +148 -0
- data/rbi/stripe/services/financial_connections/institution_service.rbi +51 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +128 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +103 -0
- data/rbi/stripe/services/financial_connections_service.rbi +12 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +152 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/gift_cards/card_service.rbi +162 -0
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +198 -0
- data/rbi/stripe/services/gift_cards_service.rbi +10 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +98 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +360 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +505 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +320 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +49 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +91 -0
- data/rbi/stripe/services/invoice_service.rbi +7138 -0
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +2397 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +160 -0
- data/rbi/stripe/services/issuing/card_service.rbi +568 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +668 -0
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +580 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +824 -0
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +61 -0
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +83 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +271 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +66 -0
- data/rbi/stripe/services/issuing/token_service.rbi +109 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +119 -0
- data/rbi/stripe/services/issuing_service.rbi +19 -0
- data/rbi/stripe/services/mandate_service.rbi +21 -0
- data/rbi/stripe/services/margin_service.rbi +119 -0
- data/rbi/stripe/services/order_line_item_service.rbi +35 -0
- data/rbi/stripe/services/order_service.rbi +2669 -0
- data/rbi/stripe/services/payment_attempt_record_service.rbi +39 -0
- data/rbi/stripe/services/payment_intent_service.rbi +13193 -0
- data/rbi/stripe/services/payment_link_line_item_service.rbi +35 -0
- data/rbi/stripe/services/payment_link_service.rbi +1447 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2465 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +123 -0
- data/rbi/stripe/services/payment_method_service.rbi +1032 -0
- data/rbi/stripe/services/payment_record_service.rbi +613 -0
- data/rbi/stripe/services/payout_service.rbi +228 -0
- data/rbi/stripe/services/plan_service.rbi +337 -0
- data/rbi/stripe/services/price_service.rbi +657 -0
- data/rbi/stripe/services/product_feature_service.rbi +76 -0
- data/rbi/stripe/services/product_service.rbi +596 -0
- data/rbi/stripe/services/promotion_code_service.rbi +244 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +35 -0
- data/rbi/stripe/services/quote_line_item_service.rbi +35 -0
- data/rbi/stripe/services/quote_line_service.rbi +35 -0
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +35 -0
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +35 -0
- data/rbi/stripe/services/quote_service.rbi +2830 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +95 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +122 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +160 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +208 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +152 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +37 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +93 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +73 -0
- data/rbi/stripe/services/setup_intent_service.rbi +4204 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +274 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +51 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +766 -0
- data/rbi/stripe/services/source_transaction_service.rbi +35 -0
- data/rbi/stripe/services/subscription_item_service.rbi +496 -0
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +41 -0
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +37 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +2613 -0
- data/rbi/stripe/services/subscription_service.rbi +2207 -0
- data/rbi/stripe/services/tax/association_service.rbi +27 -0
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +37 -0
- data/rbi/stripe/services/tax/calculation_service.rbi +267 -0
- data/rbi/stripe/services/tax/form_service.rbi +96 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1495 -0
- data/rbi/stripe/services/tax/settings_service.rbi +106 -0
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +37 -0
- data/rbi/stripe/services/tax/transaction_service.rbi +164 -0
- data/rbi/stripe/services/tax_code_service.rbi +49 -0
- data/rbi/stripe/services/tax_id_service.rbi +128 -0
- data/rbi/stripe/services/tax_rate_service.rbi +215 -0
- data/rbi/stripe/services/tax_service.rbi +14 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +976 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +27 -0
- data/rbi/stripe/services/terminal/location_service.rbi +211 -0
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +23 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +591 -0
- data/rbi/stripe/services/terminal_service.rbi +13 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +892 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +37 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +974 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +81 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +73 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +825 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +23 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +100 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +137 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +137 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +130 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +130 -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 +1357 -0
- data/rbi/stripe/services/topup_service.rbi +200 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +111 -0
- data/rbi/stripe/services/transfer_service.rbi +174 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +95 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +100 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +226 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +577 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +133 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +350 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +189 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +79 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +66 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +125 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +133 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +83 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +43 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +46 -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 +60 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +228 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +42 -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 +149 -0
- metadata +435 -4
@@ -4,6 +4,1404 @@
|
|
4
4
|
module Stripe
|
5
5
|
module Tax
|
6
6
|
class RegistrationService < StripeService
|
7
|
+
class ListParams < Stripe::RequestParams
|
8
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
9
|
+
attr_accessor :ending_before
|
10
|
+
|
11
|
+
# Specifies which fields in the response should be expanded.
|
12
|
+
attr_accessor :expand
|
13
|
+
|
14
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
15
|
+
attr_accessor :limit
|
16
|
+
|
17
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
18
|
+
attr_accessor :starting_after
|
19
|
+
|
20
|
+
# The status of the Tax Registration.
|
21
|
+
attr_accessor :status
|
22
|
+
|
23
|
+
def initialize(
|
24
|
+
ending_before: nil,
|
25
|
+
expand: nil,
|
26
|
+
limit: nil,
|
27
|
+
starting_after: nil,
|
28
|
+
status: nil
|
29
|
+
)
|
30
|
+
@ending_before = ending_before
|
31
|
+
@expand = expand
|
32
|
+
@limit = limit
|
33
|
+
@starting_after = starting_after
|
34
|
+
@status = status
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
class CreateParams < Stripe::RequestParams
|
39
|
+
class CountryOptions < Stripe::RequestParams
|
40
|
+
class Ae < Stripe::RequestParams
|
41
|
+
# Type of registration to be created in `country`.
|
42
|
+
attr_accessor :type
|
43
|
+
|
44
|
+
def initialize(type: nil)
|
45
|
+
@type = type
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
class At < Stripe::RequestParams
|
50
|
+
class Standard < Stripe::RequestParams
|
51
|
+
# Place of supply scheme used in an EU standard registration.
|
52
|
+
attr_accessor :place_of_supply_scheme
|
53
|
+
|
54
|
+
def initialize(place_of_supply_scheme: nil)
|
55
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
56
|
+
end
|
57
|
+
end
|
58
|
+
# Options for the standard registration.
|
59
|
+
attr_accessor :standard
|
60
|
+
|
61
|
+
# Type of registration to be created in an EU country.
|
62
|
+
attr_accessor :type
|
63
|
+
|
64
|
+
def initialize(standard: nil, type: nil)
|
65
|
+
@standard = standard
|
66
|
+
@type = type
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class Au < Stripe::RequestParams
|
71
|
+
# Type of registration to be created in `country`.
|
72
|
+
attr_accessor :type
|
73
|
+
|
74
|
+
def initialize(type: nil)
|
75
|
+
@type = type
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
class Be < Stripe::RequestParams
|
80
|
+
class Standard < Stripe::RequestParams
|
81
|
+
# Place of supply scheme used in an EU standard registration.
|
82
|
+
attr_accessor :place_of_supply_scheme
|
83
|
+
|
84
|
+
def initialize(place_of_supply_scheme: nil)
|
85
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
86
|
+
end
|
87
|
+
end
|
88
|
+
# Options for the standard registration.
|
89
|
+
attr_accessor :standard
|
90
|
+
|
91
|
+
# Type of registration to be created in an EU country.
|
92
|
+
attr_accessor :type
|
93
|
+
|
94
|
+
def initialize(standard: nil, type: nil)
|
95
|
+
@standard = standard
|
96
|
+
@type = type
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
class Bg < Stripe::RequestParams
|
101
|
+
class Standard < Stripe::RequestParams
|
102
|
+
# Place of supply scheme used in an EU standard registration.
|
103
|
+
attr_accessor :place_of_supply_scheme
|
104
|
+
|
105
|
+
def initialize(place_of_supply_scheme: nil)
|
106
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
107
|
+
end
|
108
|
+
end
|
109
|
+
# Options for the standard registration.
|
110
|
+
attr_accessor :standard
|
111
|
+
|
112
|
+
# Type of registration to be created in an EU country.
|
113
|
+
attr_accessor :type
|
114
|
+
|
115
|
+
def initialize(standard: nil, type: nil)
|
116
|
+
@standard = standard
|
117
|
+
@type = type
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
class Bh < Stripe::RequestParams
|
122
|
+
# Type of registration to be created in `country`.
|
123
|
+
attr_accessor :type
|
124
|
+
|
125
|
+
def initialize(type: nil)
|
126
|
+
@type = type
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
class By < Stripe::RequestParams
|
131
|
+
# Type of registration to be created in `country`.
|
132
|
+
attr_accessor :type
|
133
|
+
|
134
|
+
def initialize(type: nil)
|
135
|
+
@type = type
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
class Ca < Stripe::RequestParams
|
140
|
+
class ProvinceStandard < Stripe::RequestParams
|
141
|
+
# Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
142
|
+
attr_accessor :province
|
143
|
+
|
144
|
+
def initialize(province: nil)
|
145
|
+
@province = province
|
146
|
+
end
|
147
|
+
end
|
148
|
+
# Options for the provincial tax registration.
|
149
|
+
attr_accessor :province_standard
|
150
|
+
|
151
|
+
# Type of registration to be created in Canada.
|
152
|
+
attr_accessor :type
|
153
|
+
|
154
|
+
def initialize(province_standard: nil, type: nil)
|
155
|
+
@province_standard = province_standard
|
156
|
+
@type = type
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
class Ch < Stripe::RequestParams
|
161
|
+
# Type of registration to be created in `country`.
|
162
|
+
attr_accessor :type
|
163
|
+
|
164
|
+
def initialize(type: nil)
|
165
|
+
@type = type
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
class Cl < Stripe::RequestParams
|
170
|
+
# Type of registration to be created in `country`.
|
171
|
+
attr_accessor :type
|
172
|
+
|
173
|
+
def initialize(type: nil)
|
174
|
+
@type = type
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
class Co < Stripe::RequestParams
|
179
|
+
# Type of registration to be created in `country`.
|
180
|
+
attr_accessor :type
|
181
|
+
|
182
|
+
def initialize(type: nil)
|
183
|
+
@type = type
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
class Cr < Stripe::RequestParams
|
188
|
+
# Type of registration to be created in `country`.
|
189
|
+
attr_accessor :type
|
190
|
+
|
191
|
+
def initialize(type: nil)
|
192
|
+
@type = type
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class Cy < Stripe::RequestParams
|
197
|
+
class Standard < Stripe::RequestParams
|
198
|
+
# Place of supply scheme used in an EU standard registration.
|
199
|
+
attr_accessor :place_of_supply_scheme
|
200
|
+
|
201
|
+
def initialize(place_of_supply_scheme: nil)
|
202
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
203
|
+
end
|
204
|
+
end
|
205
|
+
# Options for the standard registration.
|
206
|
+
attr_accessor :standard
|
207
|
+
|
208
|
+
# Type of registration to be created in an EU country.
|
209
|
+
attr_accessor :type
|
210
|
+
|
211
|
+
def initialize(standard: nil, type: nil)
|
212
|
+
@standard = standard
|
213
|
+
@type = type
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
class Cz < Stripe::RequestParams
|
218
|
+
class Standard < Stripe::RequestParams
|
219
|
+
# Place of supply scheme used in an EU standard registration.
|
220
|
+
attr_accessor :place_of_supply_scheme
|
221
|
+
|
222
|
+
def initialize(place_of_supply_scheme: nil)
|
223
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
224
|
+
end
|
225
|
+
end
|
226
|
+
# Options for the standard registration.
|
227
|
+
attr_accessor :standard
|
228
|
+
|
229
|
+
# Type of registration to be created in an EU country.
|
230
|
+
attr_accessor :type
|
231
|
+
|
232
|
+
def initialize(standard: nil, type: nil)
|
233
|
+
@standard = standard
|
234
|
+
@type = type
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class De < Stripe::RequestParams
|
239
|
+
class Standard < Stripe::RequestParams
|
240
|
+
# Place of supply scheme used in an EU standard registration.
|
241
|
+
attr_accessor :place_of_supply_scheme
|
242
|
+
|
243
|
+
def initialize(place_of_supply_scheme: nil)
|
244
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
245
|
+
end
|
246
|
+
end
|
247
|
+
# Options for the standard registration.
|
248
|
+
attr_accessor :standard
|
249
|
+
|
250
|
+
# Type of registration to be created in an EU country.
|
251
|
+
attr_accessor :type
|
252
|
+
|
253
|
+
def initialize(standard: nil, type: nil)
|
254
|
+
@standard = standard
|
255
|
+
@type = type
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
class Dk < Stripe::RequestParams
|
260
|
+
class Standard < Stripe::RequestParams
|
261
|
+
# Place of supply scheme used in an EU standard registration.
|
262
|
+
attr_accessor :place_of_supply_scheme
|
263
|
+
|
264
|
+
def initialize(place_of_supply_scheme: nil)
|
265
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
266
|
+
end
|
267
|
+
end
|
268
|
+
# Options for the standard registration.
|
269
|
+
attr_accessor :standard
|
270
|
+
|
271
|
+
# Type of registration to be created in an EU country.
|
272
|
+
attr_accessor :type
|
273
|
+
|
274
|
+
def initialize(standard: nil, type: nil)
|
275
|
+
@standard = standard
|
276
|
+
@type = type
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class Ec < Stripe::RequestParams
|
281
|
+
# Type of registration to be created in `country`.
|
282
|
+
attr_accessor :type
|
283
|
+
|
284
|
+
def initialize(type: nil)
|
285
|
+
@type = type
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
class Ee < Stripe::RequestParams
|
290
|
+
class Standard < Stripe::RequestParams
|
291
|
+
# Place of supply scheme used in an EU standard registration.
|
292
|
+
attr_accessor :place_of_supply_scheme
|
293
|
+
|
294
|
+
def initialize(place_of_supply_scheme: nil)
|
295
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
296
|
+
end
|
297
|
+
end
|
298
|
+
# Options for the standard registration.
|
299
|
+
attr_accessor :standard
|
300
|
+
|
301
|
+
# Type of registration to be created in an EU country.
|
302
|
+
attr_accessor :type
|
303
|
+
|
304
|
+
def initialize(standard: nil, type: nil)
|
305
|
+
@standard = standard
|
306
|
+
@type = type
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
class Eg < Stripe::RequestParams
|
311
|
+
# Type of registration to be created in `country`.
|
312
|
+
attr_accessor :type
|
313
|
+
|
314
|
+
def initialize(type: nil)
|
315
|
+
@type = type
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
class Es < Stripe::RequestParams
|
320
|
+
class Standard < Stripe::RequestParams
|
321
|
+
# Place of supply scheme used in an EU standard registration.
|
322
|
+
attr_accessor :place_of_supply_scheme
|
323
|
+
|
324
|
+
def initialize(place_of_supply_scheme: nil)
|
325
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
326
|
+
end
|
327
|
+
end
|
328
|
+
# Options for the standard registration.
|
329
|
+
attr_accessor :standard
|
330
|
+
|
331
|
+
# Type of registration to be created in an EU country.
|
332
|
+
attr_accessor :type
|
333
|
+
|
334
|
+
def initialize(standard: nil, type: nil)
|
335
|
+
@standard = standard
|
336
|
+
@type = type
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
class Fi < Stripe::RequestParams
|
341
|
+
class Standard < Stripe::RequestParams
|
342
|
+
# Place of supply scheme used in an EU standard registration.
|
343
|
+
attr_accessor :place_of_supply_scheme
|
344
|
+
|
345
|
+
def initialize(place_of_supply_scheme: nil)
|
346
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
347
|
+
end
|
348
|
+
end
|
349
|
+
# Options for the standard registration.
|
350
|
+
attr_accessor :standard
|
351
|
+
|
352
|
+
# Type of registration to be created in an EU country.
|
353
|
+
attr_accessor :type
|
354
|
+
|
355
|
+
def initialize(standard: nil, type: nil)
|
356
|
+
@standard = standard
|
357
|
+
@type = type
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
class Fr < Stripe::RequestParams
|
362
|
+
class Standard < Stripe::RequestParams
|
363
|
+
# Place of supply scheme used in an EU standard registration.
|
364
|
+
attr_accessor :place_of_supply_scheme
|
365
|
+
|
366
|
+
def initialize(place_of_supply_scheme: nil)
|
367
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
368
|
+
end
|
369
|
+
end
|
370
|
+
# Options for the standard registration.
|
371
|
+
attr_accessor :standard
|
372
|
+
|
373
|
+
# Type of registration to be created in an EU country.
|
374
|
+
attr_accessor :type
|
375
|
+
|
376
|
+
def initialize(standard: nil, type: nil)
|
377
|
+
@standard = standard
|
378
|
+
@type = type
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
class Gb < Stripe::RequestParams
|
383
|
+
# Type of registration to be created in `country`.
|
384
|
+
attr_accessor :type
|
385
|
+
|
386
|
+
def initialize(type: nil)
|
387
|
+
@type = type
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
class Ge < Stripe::RequestParams
|
392
|
+
# Type of registration to be created in `country`.
|
393
|
+
attr_accessor :type
|
394
|
+
|
395
|
+
def initialize(type: nil)
|
396
|
+
@type = type
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class Gr < Stripe::RequestParams
|
401
|
+
class Standard < Stripe::RequestParams
|
402
|
+
# Place of supply scheme used in an EU standard registration.
|
403
|
+
attr_accessor :place_of_supply_scheme
|
404
|
+
|
405
|
+
def initialize(place_of_supply_scheme: nil)
|
406
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
407
|
+
end
|
408
|
+
end
|
409
|
+
# Options for the standard registration.
|
410
|
+
attr_accessor :standard
|
411
|
+
|
412
|
+
# Type of registration to be created in an EU country.
|
413
|
+
attr_accessor :type
|
414
|
+
|
415
|
+
def initialize(standard: nil, type: nil)
|
416
|
+
@standard = standard
|
417
|
+
@type = type
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
class Hr < Stripe::RequestParams
|
422
|
+
class Standard < Stripe::RequestParams
|
423
|
+
# Place of supply scheme used in an EU standard registration.
|
424
|
+
attr_accessor :place_of_supply_scheme
|
425
|
+
|
426
|
+
def initialize(place_of_supply_scheme: nil)
|
427
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
428
|
+
end
|
429
|
+
end
|
430
|
+
# Options for the standard registration.
|
431
|
+
attr_accessor :standard
|
432
|
+
|
433
|
+
# Type of registration to be created in an EU country.
|
434
|
+
attr_accessor :type
|
435
|
+
|
436
|
+
def initialize(standard: nil, type: nil)
|
437
|
+
@standard = standard
|
438
|
+
@type = type
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
442
|
+
class Hu < Stripe::RequestParams
|
443
|
+
class Standard < Stripe::RequestParams
|
444
|
+
# Place of supply scheme used in an EU standard registration.
|
445
|
+
attr_accessor :place_of_supply_scheme
|
446
|
+
|
447
|
+
def initialize(place_of_supply_scheme: nil)
|
448
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
449
|
+
end
|
450
|
+
end
|
451
|
+
# Options for the standard registration.
|
452
|
+
attr_accessor :standard
|
453
|
+
|
454
|
+
# Type of registration to be created in an EU country.
|
455
|
+
attr_accessor :type
|
456
|
+
|
457
|
+
def initialize(standard: nil, type: nil)
|
458
|
+
@standard = standard
|
459
|
+
@type = type
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
class Id < Stripe::RequestParams
|
464
|
+
# Type of registration to be created in `country`.
|
465
|
+
attr_accessor :type
|
466
|
+
|
467
|
+
def initialize(type: nil)
|
468
|
+
@type = type
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
class Ie < Stripe::RequestParams
|
473
|
+
class Standard < Stripe::RequestParams
|
474
|
+
# Place of supply scheme used in an EU standard registration.
|
475
|
+
attr_accessor :place_of_supply_scheme
|
476
|
+
|
477
|
+
def initialize(place_of_supply_scheme: nil)
|
478
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
479
|
+
end
|
480
|
+
end
|
481
|
+
# Options for the standard registration.
|
482
|
+
attr_accessor :standard
|
483
|
+
|
484
|
+
# Type of registration to be created in an EU country.
|
485
|
+
attr_accessor :type
|
486
|
+
|
487
|
+
def initialize(standard: nil, type: nil)
|
488
|
+
@standard = standard
|
489
|
+
@type = type
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
class Is < Stripe::RequestParams
|
494
|
+
# Type of registration to be created in `country`.
|
495
|
+
attr_accessor :type
|
496
|
+
|
497
|
+
def initialize(type: nil)
|
498
|
+
@type = type
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
class It < Stripe::RequestParams
|
503
|
+
class Standard < Stripe::RequestParams
|
504
|
+
# Place of supply scheme used in an EU standard registration.
|
505
|
+
attr_accessor :place_of_supply_scheme
|
506
|
+
|
507
|
+
def initialize(place_of_supply_scheme: nil)
|
508
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
509
|
+
end
|
510
|
+
end
|
511
|
+
# Options for the standard registration.
|
512
|
+
attr_accessor :standard
|
513
|
+
|
514
|
+
# Type of registration to be created in an EU country.
|
515
|
+
attr_accessor :type
|
516
|
+
|
517
|
+
def initialize(standard: nil, type: nil)
|
518
|
+
@standard = standard
|
519
|
+
@type = type
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
523
|
+
class Jp < Stripe::RequestParams
|
524
|
+
# Type of registration to be created in `country`.
|
525
|
+
attr_accessor :type
|
526
|
+
|
527
|
+
def initialize(type: nil)
|
528
|
+
@type = type
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
class Ke < Stripe::RequestParams
|
533
|
+
# Type of registration to be created in `country`.
|
534
|
+
attr_accessor :type
|
535
|
+
|
536
|
+
def initialize(type: nil)
|
537
|
+
@type = type
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
541
|
+
class Kr < Stripe::RequestParams
|
542
|
+
# Type of registration to be created in `country`.
|
543
|
+
attr_accessor :type
|
544
|
+
|
545
|
+
def initialize(type: nil)
|
546
|
+
@type = type
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
class Kz < Stripe::RequestParams
|
551
|
+
# Type of registration to be created in `country`.
|
552
|
+
attr_accessor :type
|
553
|
+
|
554
|
+
def initialize(type: nil)
|
555
|
+
@type = type
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
559
|
+
class Lt < Stripe::RequestParams
|
560
|
+
class Standard < Stripe::RequestParams
|
561
|
+
# Place of supply scheme used in an EU standard registration.
|
562
|
+
attr_accessor :place_of_supply_scheme
|
563
|
+
|
564
|
+
def initialize(place_of_supply_scheme: nil)
|
565
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
566
|
+
end
|
567
|
+
end
|
568
|
+
# Options for the standard registration.
|
569
|
+
attr_accessor :standard
|
570
|
+
|
571
|
+
# Type of registration to be created in an EU country.
|
572
|
+
attr_accessor :type
|
573
|
+
|
574
|
+
def initialize(standard: nil, type: nil)
|
575
|
+
@standard = standard
|
576
|
+
@type = type
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
class Lu < Stripe::RequestParams
|
581
|
+
class Standard < Stripe::RequestParams
|
582
|
+
# Place of supply scheme used in an EU standard registration.
|
583
|
+
attr_accessor :place_of_supply_scheme
|
584
|
+
|
585
|
+
def initialize(place_of_supply_scheme: nil)
|
586
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
587
|
+
end
|
588
|
+
end
|
589
|
+
# Options for the standard registration.
|
590
|
+
attr_accessor :standard
|
591
|
+
|
592
|
+
# Type of registration to be created in an EU country.
|
593
|
+
attr_accessor :type
|
594
|
+
|
595
|
+
def initialize(standard: nil, type: nil)
|
596
|
+
@standard = standard
|
597
|
+
@type = type
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
601
|
+
class Lv < Stripe::RequestParams
|
602
|
+
class Standard < Stripe::RequestParams
|
603
|
+
# Place of supply scheme used in an EU standard registration.
|
604
|
+
attr_accessor :place_of_supply_scheme
|
605
|
+
|
606
|
+
def initialize(place_of_supply_scheme: nil)
|
607
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
608
|
+
end
|
609
|
+
end
|
610
|
+
# Options for the standard registration.
|
611
|
+
attr_accessor :standard
|
612
|
+
|
613
|
+
# Type of registration to be created in an EU country.
|
614
|
+
attr_accessor :type
|
615
|
+
|
616
|
+
def initialize(standard: nil, type: nil)
|
617
|
+
@standard = standard
|
618
|
+
@type = type
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
class Ma < Stripe::RequestParams
|
623
|
+
# Type of registration to be created in `country`.
|
624
|
+
attr_accessor :type
|
625
|
+
|
626
|
+
def initialize(type: nil)
|
627
|
+
@type = type
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
class Md < Stripe::RequestParams
|
632
|
+
# Type of registration to be created in `country`.
|
633
|
+
attr_accessor :type
|
634
|
+
|
635
|
+
def initialize(type: nil)
|
636
|
+
@type = type
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
class Mt < Stripe::RequestParams
|
641
|
+
class Standard < Stripe::RequestParams
|
642
|
+
# Place of supply scheme used in an EU standard registration.
|
643
|
+
attr_accessor :place_of_supply_scheme
|
644
|
+
|
645
|
+
def initialize(place_of_supply_scheme: nil)
|
646
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
647
|
+
end
|
648
|
+
end
|
649
|
+
# Options for the standard registration.
|
650
|
+
attr_accessor :standard
|
651
|
+
|
652
|
+
# Type of registration to be created in an EU country.
|
653
|
+
attr_accessor :type
|
654
|
+
|
655
|
+
def initialize(standard: nil, type: nil)
|
656
|
+
@standard = standard
|
657
|
+
@type = type
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
class Mx < Stripe::RequestParams
|
662
|
+
# Type of registration to be created in `country`.
|
663
|
+
attr_accessor :type
|
664
|
+
|
665
|
+
def initialize(type: nil)
|
666
|
+
@type = type
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
670
|
+
class My < Stripe::RequestParams
|
671
|
+
# Type of registration to be created in `country`.
|
672
|
+
attr_accessor :type
|
673
|
+
|
674
|
+
def initialize(type: nil)
|
675
|
+
@type = type
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
class Ng < Stripe::RequestParams
|
680
|
+
# Type of registration to be created in `country`.
|
681
|
+
attr_accessor :type
|
682
|
+
|
683
|
+
def initialize(type: nil)
|
684
|
+
@type = type
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
class Nl < Stripe::RequestParams
|
689
|
+
class Standard < Stripe::RequestParams
|
690
|
+
# Place of supply scheme used in an EU standard registration.
|
691
|
+
attr_accessor :place_of_supply_scheme
|
692
|
+
|
693
|
+
def initialize(place_of_supply_scheme: nil)
|
694
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
695
|
+
end
|
696
|
+
end
|
697
|
+
# Options for the standard registration.
|
698
|
+
attr_accessor :standard
|
699
|
+
|
700
|
+
# Type of registration to be created in an EU country.
|
701
|
+
attr_accessor :type
|
702
|
+
|
703
|
+
def initialize(standard: nil, type: nil)
|
704
|
+
@standard = standard
|
705
|
+
@type = type
|
706
|
+
end
|
707
|
+
end
|
708
|
+
|
709
|
+
class No < Stripe::RequestParams
|
710
|
+
# Type of registration to be created in `country`.
|
711
|
+
attr_accessor :type
|
712
|
+
|
713
|
+
def initialize(type: nil)
|
714
|
+
@type = type
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
718
|
+
class Nz < Stripe::RequestParams
|
719
|
+
# Type of registration to be created in `country`.
|
720
|
+
attr_accessor :type
|
721
|
+
|
722
|
+
def initialize(type: nil)
|
723
|
+
@type = type
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
class Om < Stripe::RequestParams
|
728
|
+
# Type of registration to be created in `country`.
|
729
|
+
attr_accessor :type
|
730
|
+
|
731
|
+
def initialize(type: nil)
|
732
|
+
@type = type
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
class Pl < Stripe::RequestParams
|
737
|
+
class Standard < Stripe::RequestParams
|
738
|
+
# Place of supply scheme used in an EU standard registration.
|
739
|
+
attr_accessor :place_of_supply_scheme
|
740
|
+
|
741
|
+
def initialize(place_of_supply_scheme: nil)
|
742
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
743
|
+
end
|
744
|
+
end
|
745
|
+
# Options for the standard registration.
|
746
|
+
attr_accessor :standard
|
747
|
+
|
748
|
+
# Type of registration to be created in an EU country.
|
749
|
+
attr_accessor :type
|
750
|
+
|
751
|
+
def initialize(standard: nil, type: nil)
|
752
|
+
@standard = standard
|
753
|
+
@type = type
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
class Pt < Stripe::RequestParams
|
758
|
+
class Standard < Stripe::RequestParams
|
759
|
+
# Place of supply scheme used in an EU standard registration.
|
760
|
+
attr_accessor :place_of_supply_scheme
|
761
|
+
|
762
|
+
def initialize(place_of_supply_scheme: nil)
|
763
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
764
|
+
end
|
765
|
+
end
|
766
|
+
# Options for the standard registration.
|
767
|
+
attr_accessor :standard
|
768
|
+
|
769
|
+
# Type of registration to be created in an EU country.
|
770
|
+
attr_accessor :type
|
771
|
+
|
772
|
+
def initialize(standard: nil, type: nil)
|
773
|
+
@standard = standard
|
774
|
+
@type = type
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
class Ro < Stripe::RequestParams
|
779
|
+
class Standard < Stripe::RequestParams
|
780
|
+
# Place of supply scheme used in an EU standard registration.
|
781
|
+
attr_accessor :place_of_supply_scheme
|
782
|
+
|
783
|
+
def initialize(place_of_supply_scheme: nil)
|
784
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
785
|
+
end
|
786
|
+
end
|
787
|
+
# Options for the standard registration.
|
788
|
+
attr_accessor :standard
|
789
|
+
|
790
|
+
# Type of registration to be created in an EU country.
|
791
|
+
attr_accessor :type
|
792
|
+
|
793
|
+
def initialize(standard: nil, type: nil)
|
794
|
+
@standard = standard
|
795
|
+
@type = type
|
796
|
+
end
|
797
|
+
end
|
798
|
+
|
799
|
+
class Rs < Stripe::RequestParams
|
800
|
+
# Type of registration to be created in `country`.
|
801
|
+
attr_accessor :type
|
802
|
+
|
803
|
+
def initialize(type: nil)
|
804
|
+
@type = type
|
805
|
+
end
|
806
|
+
end
|
807
|
+
|
808
|
+
class Ru < Stripe::RequestParams
|
809
|
+
# Type of registration to be created in `country`.
|
810
|
+
attr_accessor :type
|
811
|
+
|
812
|
+
def initialize(type: nil)
|
813
|
+
@type = type
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
class Sa < Stripe::RequestParams
|
818
|
+
# Type of registration to be created in `country`.
|
819
|
+
attr_accessor :type
|
820
|
+
|
821
|
+
def initialize(type: nil)
|
822
|
+
@type = type
|
823
|
+
end
|
824
|
+
end
|
825
|
+
|
826
|
+
class Se < Stripe::RequestParams
|
827
|
+
class Standard < Stripe::RequestParams
|
828
|
+
# Place of supply scheme used in an EU standard registration.
|
829
|
+
attr_accessor :place_of_supply_scheme
|
830
|
+
|
831
|
+
def initialize(place_of_supply_scheme: nil)
|
832
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
833
|
+
end
|
834
|
+
end
|
835
|
+
# Options for the standard registration.
|
836
|
+
attr_accessor :standard
|
837
|
+
|
838
|
+
# Type of registration to be created in an EU country.
|
839
|
+
attr_accessor :type
|
840
|
+
|
841
|
+
def initialize(standard: nil, type: nil)
|
842
|
+
@standard = standard
|
843
|
+
@type = type
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
847
|
+
class Sg < Stripe::RequestParams
|
848
|
+
# Type of registration to be created in `country`.
|
849
|
+
attr_accessor :type
|
850
|
+
|
851
|
+
def initialize(type: nil)
|
852
|
+
@type = type
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
856
|
+
class Si < Stripe::RequestParams
|
857
|
+
class Standard < Stripe::RequestParams
|
858
|
+
# Place of supply scheme used in an EU standard registration.
|
859
|
+
attr_accessor :place_of_supply_scheme
|
860
|
+
|
861
|
+
def initialize(place_of_supply_scheme: nil)
|
862
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
863
|
+
end
|
864
|
+
end
|
865
|
+
# Options for the standard registration.
|
866
|
+
attr_accessor :standard
|
867
|
+
|
868
|
+
# Type of registration to be created in an EU country.
|
869
|
+
attr_accessor :type
|
870
|
+
|
871
|
+
def initialize(standard: nil, type: nil)
|
872
|
+
@standard = standard
|
873
|
+
@type = type
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
class Sk < Stripe::RequestParams
|
878
|
+
class Standard < Stripe::RequestParams
|
879
|
+
# Place of supply scheme used in an EU standard registration.
|
880
|
+
attr_accessor :place_of_supply_scheme
|
881
|
+
|
882
|
+
def initialize(place_of_supply_scheme: nil)
|
883
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
884
|
+
end
|
885
|
+
end
|
886
|
+
# Options for the standard registration.
|
887
|
+
attr_accessor :standard
|
888
|
+
|
889
|
+
# Type of registration to be created in an EU country.
|
890
|
+
attr_accessor :type
|
891
|
+
|
892
|
+
def initialize(standard: nil, type: nil)
|
893
|
+
@standard = standard
|
894
|
+
@type = type
|
895
|
+
end
|
896
|
+
end
|
897
|
+
|
898
|
+
class Th < Stripe::RequestParams
|
899
|
+
# Type of registration to be created in `country`.
|
900
|
+
attr_accessor :type
|
901
|
+
|
902
|
+
def initialize(type: nil)
|
903
|
+
@type = type
|
904
|
+
end
|
905
|
+
end
|
906
|
+
|
907
|
+
class Tr < Stripe::RequestParams
|
908
|
+
# Type of registration to be created in `country`.
|
909
|
+
attr_accessor :type
|
910
|
+
|
911
|
+
def initialize(type: nil)
|
912
|
+
@type = type
|
913
|
+
end
|
914
|
+
end
|
915
|
+
|
916
|
+
class Tz < Stripe::RequestParams
|
917
|
+
# Type of registration to be created in `country`.
|
918
|
+
attr_accessor :type
|
919
|
+
|
920
|
+
def initialize(type: nil)
|
921
|
+
@type = type
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
925
|
+
class Us < Stripe::RequestParams
|
926
|
+
class LocalAmusementTax < Stripe::RequestParams
|
927
|
+
# 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), and `68081` (Schiller Park).
|
928
|
+
attr_accessor :jurisdiction
|
929
|
+
|
930
|
+
def initialize(jurisdiction: nil)
|
931
|
+
@jurisdiction = jurisdiction
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
935
|
+
class LocalLeaseTax < Stripe::RequestParams
|
936
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago).
|
937
|
+
attr_accessor :jurisdiction
|
938
|
+
|
939
|
+
def initialize(jurisdiction: nil)
|
940
|
+
@jurisdiction = jurisdiction
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
944
|
+
class StateSalesTax < Stripe::RequestParams
|
945
|
+
class Election < Stripe::RequestParams
|
946
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `003` (Allegheny County) and `60000` (Philadelphia City).
|
947
|
+
attr_accessor :jurisdiction
|
948
|
+
|
949
|
+
# The type of the election for the state sales tax registration.
|
950
|
+
attr_accessor :type
|
951
|
+
|
952
|
+
def initialize(jurisdiction: nil, type: nil)
|
953
|
+
@jurisdiction = jurisdiction
|
954
|
+
@type = type
|
955
|
+
end
|
956
|
+
end
|
957
|
+
# Elections for the state sales tax registration.
|
958
|
+
attr_accessor :elections
|
959
|
+
|
960
|
+
def initialize(elections: nil)
|
961
|
+
@elections = elections
|
962
|
+
end
|
963
|
+
end
|
964
|
+
# Options for the local amusement tax registration.
|
965
|
+
attr_accessor :local_amusement_tax
|
966
|
+
|
967
|
+
# Options for the local lease tax registration.
|
968
|
+
attr_accessor :local_lease_tax
|
969
|
+
|
970
|
+
# Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
971
|
+
attr_accessor :state
|
972
|
+
|
973
|
+
# Options for the state sales tax registration.
|
974
|
+
attr_accessor :state_sales_tax
|
975
|
+
|
976
|
+
# Type of registration to be created in the US.
|
977
|
+
attr_accessor :type
|
978
|
+
|
979
|
+
def initialize(
|
980
|
+
local_amusement_tax: nil,
|
981
|
+
local_lease_tax: nil,
|
982
|
+
state: nil,
|
983
|
+
state_sales_tax: nil,
|
984
|
+
type: nil
|
985
|
+
)
|
986
|
+
@local_amusement_tax = local_amusement_tax
|
987
|
+
@local_lease_tax = local_lease_tax
|
988
|
+
@state = state
|
989
|
+
@state_sales_tax = state_sales_tax
|
990
|
+
@type = type
|
991
|
+
end
|
992
|
+
end
|
993
|
+
|
994
|
+
class Uz < Stripe::RequestParams
|
995
|
+
# Type of registration to be created in `country`.
|
996
|
+
attr_accessor :type
|
997
|
+
|
998
|
+
def initialize(type: nil)
|
999
|
+
@type = type
|
1000
|
+
end
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
class Vn < Stripe::RequestParams
|
1004
|
+
# Type of registration to be created in `country`.
|
1005
|
+
attr_accessor :type
|
1006
|
+
|
1007
|
+
def initialize(type: nil)
|
1008
|
+
@type = type
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
class Za < Stripe::RequestParams
|
1013
|
+
# Type of registration to be created in `country`.
|
1014
|
+
attr_accessor :type
|
1015
|
+
|
1016
|
+
def initialize(type: nil)
|
1017
|
+
@type = type
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
# Options for the registration in AE.
|
1021
|
+
attr_accessor :ae
|
1022
|
+
|
1023
|
+
# Options for the registration in AT.
|
1024
|
+
attr_accessor :at
|
1025
|
+
|
1026
|
+
# Options for the registration in AU.
|
1027
|
+
attr_accessor :au
|
1028
|
+
|
1029
|
+
# Options for the registration in BE.
|
1030
|
+
attr_accessor :be
|
1031
|
+
|
1032
|
+
# Options for the registration in BG.
|
1033
|
+
attr_accessor :bg
|
1034
|
+
|
1035
|
+
# Options for the registration in BH.
|
1036
|
+
attr_accessor :bh
|
1037
|
+
|
1038
|
+
# Options for the registration in BY.
|
1039
|
+
attr_accessor :by
|
1040
|
+
|
1041
|
+
# Options for the registration in CA.
|
1042
|
+
attr_accessor :ca
|
1043
|
+
|
1044
|
+
# Options for the registration in CH.
|
1045
|
+
attr_accessor :ch
|
1046
|
+
|
1047
|
+
# Options for the registration in CL.
|
1048
|
+
attr_accessor :cl
|
1049
|
+
|
1050
|
+
# Options for the registration in CO.
|
1051
|
+
attr_accessor :co
|
1052
|
+
|
1053
|
+
# Options for the registration in CR.
|
1054
|
+
attr_accessor :cr
|
1055
|
+
|
1056
|
+
# Options for the registration in CY.
|
1057
|
+
attr_accessor :cy
|
1058
|
+
|
1059
|
+
# Options for the registration in CZ.
|
1060
|
+
attr_accessor :cz
|
1061
|
+
|
1062
|
+
# Options for the registration in DE.
|
1063
|
+
attr_accessor :de
|
1064
|
+
|
1065
|
+
# Options for the registration in DK.
|
1066
|
+
attr_accessor :dk
|
1067
|
+
|
1068
|
+
# Options for the registration in EC.
|
1069
|
+
attr_accessor :ec
|
1070
|
+
|
1071
|
+
# Options for the registration in EE.
|
1072
|
+
attr_accessor :ee
|
1073
|
+
|
1074
|
+
# Options for the registration in EG.
|
1075
|
+
attr_accessor :eg
|
1076
|
+
|
1077
|
+
# Options for the registration in ES.
|
1078
|
+
attr_accessor :es
|
1079
|
+
|
1080
|
+
# Options for the registration in FI.
|
1081
|
+
attr_accessor :fi
|
1082
|
+
|
1083
|
+
# Options for the registration in FR.
|
1084
|
+
attr_accessor :fr
|
1085
|
+
|
1086
|
+
# Options for the registration in GB.
|
1087
|
+
attr_accessor :gb
|
1088
|
+
|
1089
|
+
# Options for the registration in GE.
|
1090
|
+
attr_accessor :ge
|
1091
|
+
|
1092
|
+
# Options for the registration in GR.
|
1093
|
+
attr_accessor :gr
|
1094
|
+
|
1095
|
+
# Options for the registration in HR.
|
1096
|
+
attr_accessor :hr
|
1097
|
+
|
1098
|
+
# Options for the registration in HU.
|
1099
|
+
attr_accessor :hu
|
1100
|
+
|
1101
|
+
# Options for the registration in ID.
|
1102
|
+
attr_accessor :id
|
1103
|
+
|
1104
|
+
# Options for the registration in IE.
|
1105
|
+
attr_accessor :ie
|
1106
|
+
|
1107
|
+
# Options for the registration in IS.
|
1108
|
+
attr_accessor :is
|
1109
|
+
|
1110
|
+
# Options for the registration in IT.
|
1111
|
+
attr_accessor :it
|
1112
|
+
|
1113
|
+
# Options for the registration in JP.
|
1114
|
+
attr_accessor :jp
|
1115
|
+
|
1116
|
+
# Options for the registration in KE.
|
1117
|
+
attr_accessor :ke
|
1118
|
+
|
1119
|
+
# Options for the registration in KR.
|
1120
|
+
attr_accessor :kr
|
1121
|
+
|
1122
|
+
# Options for the registration in KZ.
|
1123
|
+
attr_accessor :kz
|
1124
|
+
|
1125
|
+
# Options for the registration in LT.
|
1126
|
+
attr_accessor :lt
|
1127
|
+
|
1128
|
+
# Options for the registration in LU.
|
1129
|
+
attr_accessor :lu
|
1130
|
+
|
1131
|
+
# Options for the registration in LV.
|
1132
|
+
attr_accessor :lv
|
1133
|
+
|
1134
|
+
# Options for the registration in MA.
|
1135
|
+
attr_accessor :ma
|
1136
|
+
|
1137
|
+
# Options for the registration in MD.
|
1138
|
+
attr_accessor :md
|
1139
|
+
|
1140
|
+
# Options for the registration in MT.
|
1141
|
+
attr_accessor :mt
|
1142
|
+
|
1143
|
+
# Options for the registration in MX.
|
1144
|
+
attr_accessor :mx
|
1145
|
+
|
1146
|
+
# Options for the registration in MY.
|
1147
|
+
attr_accessor :my
|
1148
|
+
|
1149
|
+
# Options for the registration in NG.
|
1150
|
+
attr_accessor :ng
|
1151
|
+
|
1152
|
+
# Options for the registration in NL.
|
1153
|
+
attr_accessor :nl
|
1154
|
+
|
1155
|
+
# Options for the registration in NO.
|
1156
|
+
attr_accessor :no
|
1157
|
+
|
1158
|
+
# Options for the registration in NZ.
|
1159
|
+
attr_accessor :nz
|
1160
|
+
|
1161
|
+
# Options for the registration in OM.
|
1162
|
+
attr_accessor :om
|
1163
|
+
|
1164
|
+
# Options for the registration in PL.
|
1165
|
+
attr_accessor :pl
|
1166
|
+
|
1167
|
+
# Options for the registration in PT.
|
1168
|
+
attr_accessor :pt
|
1169
|
+
|
1170
|
+
# Options for the registration in RO.
|
1171
|
+
attr_accessor :ro
|
1172
|
+
|
1173
|
+
# Options for the registration in RS.
|
1174
|
+
attr_accessor :rs
|
1175
|
+
|
1176
|
+
# Options for the registration in RU.
|
1177
|
+
attr_accessor :ru
|
1178
|
+
|
1179
|
+
# Options for the registration in SA.
|
1180
|
+
attr_accessor :sa
|
1181
|
+
|
1182
|
+
# Options for the registration in SE.
|
1183
|
+
attr_accessor :se
|
1184
|
+
|
1185
|
+
# Options for the registration in SG.
|
1186
|
+
attr_accessor :sg
|
1187
|
+
|
1188
|
+
# Options for the registration in SI.
|
1189
|
+
attr_accessor :si
|
1190
|
+
|
1191
|
+
# Options for the registration in SK.
|
1192
|
+
attr_accessor :sk
|
1193
|
+
|
1194
|
+
# Options for the registration in TH.
|
1195
|
+
attr_accessor :th
|
1196
|
+
|
1197
|
+
# Options for the registration in TR.
|
1198
|
+
attr_accessor :tr
|
1199
|
+
|
1200
|
+
# Options for the registration in TZ.
|
1201
|
+
attr_accessor :tz
|
1202
|
+
|
1203
|
+
# Options for the registration in US.
|
1204
|
+
attr_accessor :us
|
1205
|
+
|
1206
|
+
# Options for the registration in UZ.
|
1207
|
+
attr_accessor :uz
|
1208
|
+
|
1209
|
+
# Options for the registration in VN.
|
1210
|
+
attr_accessor :vn
|
1211
|
+
|
1212
|
+
# Options for the registration in ZA.
|
1213
|
+
attr_accessor :za
|
1214
|
+
|
1215
|
+
def initialize(
|
1216
|
+
ae: nil,
|
1217
|
+
at: nil,
|
1218
|
+
au: nil,
|
1219
|
+
be: nil,
|
1220
|
+
bg: nil,
|
1221
|
+
bh: nil,
|
1222
|
+
by: nil,
|
1223
|
+
ca: nil,
|
1224
|
+
ch: nil,
|
1225
|
+
cl: nil,
|
1226
|
+
co: nil,
|
1227
|
+
cr: nil,
|
1228
|
+
cy: nil,
|
1229
|
+
cz: nil,
|
1230
|
+
de: nil,
|
1231
|
+
dk: nil,
|
1232
|
+
ec: nil,
|
1233
|
+
ee: nil,
|
1234
|
+
eg: nil,
|
1235
|
+
es: nil,
|
1236
|
+
fi: nil,
|
1237
|
+
fr: nil,
|
1238
|
+
gb: nil,
|
1239
|
+
ge: nil,
|
1240
|
+
gr: nil,
|
1241
|
+
hr: nil,
|
1242
|
+
hu: nil,
|
1243
|
+
id: nil,
|
1244
|
+
ie: nil,
|
1245
|
+
is: nil,
|
1246
|
+
it: nil,
|
1247
|
+
jp: nil,
|
1248
|
+
ke: nil,
|
1249
|
+
kr: nil,
|
1250
|
+
kz: nil,
|
1251
|
+
lt: nil,
|
1252
|
+
lu: nil,
|
1253
|
+
lv: nil,
|
1254
|
+
ma: nil,
|
1255
|
+
md: nil,
|
1256
|
+
mt: nil,
|
1257
|
+
mx: nil,
|
1258
|
+
my: nil,
|
1259
|
+
ng: nil,
|
1260
|
+
nl: nil,
|
1261
|
+
no: nil,
|
1262
|
+
nz: nil,
|
1263
|
+
om: nil,
|
1264
|
+
pl: nil,
|
1265
|
+
pt: nil,
|
1266
|
+
ro: nil,
|
1267
|
+
rs: nil,
|
1268
|
+
ru: nil,
|
1269
|
+
sa: nil,
|
1270
|
+
se: nil,
|
1271
|
+
sg: nil,
|
1272
|
+
si: nil,
|
1273
|
+
sk: nil,
|
1274
|
+
th: nil,
|
1275
|
+
tr: nil,
|
1276
|
+
tz: nil,
|
1277
|
+
us: nil,
|
1278
|
+
uz: nil,
|
1279
|
+
vn: nil,
|
1280
|
+
za: nil
|
1281
|
+
)
|
1282
|
+
@ae = ae
|
1283
|
+
@at = at
|
1284
|
+
@au = au
|
1285
|
+
@be = be
|
1286
|
+
@bg = bg
|
1287
|
+
@bh = bh
|
1288
|
+
@by = by
|
1289
|
+
@ca = ca
|
1290
|
+
@ch = ch
|
1291
|
+
@cl = cl
|
1292
|
+
@co = co
|
1293
|
+
@cr = cr
|
1294
|
+
@cy = cy
|
1295
|
+
@cz = cz
|
1296
|
+
@de = de
|
1297
|
+
@dk = dk
|
1298
|
+
@ec = ec
|
1299
|
+
@ee = ee
|
1300
|
+
@eg = eg
|
1301
|
+
@es = es
|
1302
|
+
@fi = fi
|
1303
|
+
@fr = fr
|
1304
|
+
@gb = gb
|
1305
|
+
@ge = ge
|
1306
|
+
@gr = gr
|
1307
|
+
@hr = hr
|
1308
|
+
@hu = hu
|
1309
|
+
@id = id
|
1310
|
+
@ie = ie
|
1311
|
+
@is = is
|
1312
|
+
@it = it
|
1313
|
+
@jp = jp
|
1314
|
+
@ke = ke
|
1315
|
+
@kr = kr
|
1316
|
+
@kz = kz
|
1317
|
+
@lt = lt
|
1318
|
+
@lu = lu
|
1319
|
+
@lv = lv
|
1320
|
+
@ma = ma
|
1321
|
+
@md = md
|
1322
|
+
@mt = mt
|
1323
|
+
@mx = mx
|
1324
|
+
@my = my
|
1325
|
+
@ng = ng
|
1326
|
+
@nl = nl
|
1327
|
+
@no = no
|
1328
|
+
@nz = nz
|
1329
|
+
@om = om
|
1330
|
+
@pl = pl
|
1331
|
+
@pt = pt
|
1332
|
+
@ro = ro
|
1333
|
+
@rs = rs
|
1334
|
+
@ru = ru
|
1335
|
+
@sa = sa
|
1336
|
+
@se = se
|
1337
|
+
@sg = sg
|
1338
|
+
@si = si
|
1339
|
+
@sk = sk
|
1340
|
+
@th = th
|
1341
|
+
@tr = tr
|
1342
|
+
@tz = tz
|
1343
|
+
@us = us
|
1344
|
+
@uz = uz
|
1345
|
+
@vn = vn
|
1346
|
+
@za = za
|
1347
|
+
end
|
1348
|
+
end
|
1349
|
+
# Time at which the Tax Registration becomes active. It can be either `now` to indicate the current time, or a future timestamp measured in seconds since the Unix epoch.
|
1350
|
+
attr_accessor :active_from
|
1351
|
+
|
1352
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1353
|
+
attr_accessor :country
|
1354
|
+
|
1355
|
+
# Specific options for a registration in the specified `country`.
|
1356
|
+
attr_accessor :country_options
|
1357
|
+
|
1358
|
+
# Specifies which fields in the response should be expanded.
|
1359
|
+
attr_accessor :expand
|
1360
|
+
|
1361
|
+
# If set, the Tax Registration stops being active at this time. If not set, the Tax Registration will be active indefinitely. Timestamp measured in seconds since the Unix epoch.
|
1362
|
+
attr_accessor :expires_at
|
1363
|
+
|
1364
|
+
def initialize(
|
1365
|
+
active_from: nil,
|
1366
|
+
country: nil,
|
1367
|
+
country_options: nil,
|
1368
|
+
expand: nil,
|
1369
|
+
expires_at: nil
|
1370
|
+
)
|
1371
|
+
@active_from = active_from
|
1372
|
+
@country = country
|
1373
|
+
@country_options = country_options
|
1374
|
+
@expand = expand
|
1375
|
+
@expires_at = expires_at
|
1376
|
+
end
|
1377
|
+
end
|
1378
|
+
|
1379
|
+
class RetrieveParams < Stripe::RequestParams
|
1380
|
+
# Specifies which fields in the response should be expanded.
|
1381
|
+
attr_accessor :expand
|
1382
|
+
|
1383
|
+
def initialize(expand: nil)
|
1384
|
+
@expand = expand
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
class UpdateParams < Stripe::RequestParams
|
1389
|
+
# Time at which the registration becomes active. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch.
|
1390
|
+
attr_accessor :active_from
|
1391
|
+
|
1392
|
+
# Specifies which fields in the response should be expanded.
|
1393
|
+
attr_accessor :expand
|
1394
|
+
|
1395
|
+
# If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be either `now` to indicate the current time, or a timestamp measured in seconds since the Unix epoch.
|
1396
|
+
attr_accessor :expires_at
|
1397
|
+
|
1398
|
+
def initialize(active_from: nil, expand: nil, expires_at: nil)
|
1399
|
+
@active_from = active_from
|
1400
|
+
@expand = expand
|
1401
|
+
@expires_at = expires_at
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
|
7
1405
|
# Creates a new Tax Registration object.
|
8
1406
|
def create(params = {}, opts = {})
|
9
1407
|
request(
|