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