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
@@ -18,6 +18,2388 @@ module Stripe
|
|
18
18
|
"tax.registration"
|
19
19
|
end
|
20
20
|
|
21
|
+
class CountryOptions < Stripe::StripeObject
|
22
|
+
class Ae < Stripe::StripeObject
|
23
|
+
# Type of registration in `country`.
|
24
|
+
attr_reader :type
|
25
|
+
end
|
26
|
+
|
27
|
+
class Al < Stripe::StripeObject
|
28
|
+
# Type of registration in `country`.
|
29
|
+
attr_reader :type
|
30
|
+
end
|
31
|
+
|
32
|
+
class Am < Stripe::StripeObject
|
33
|
+
# Type of registration in `country`.
|
34
|
+
attr_reader :type
|
35
|
+
end
|
36
|
+
|
37
|
+
class Ao < Stripe::StripeObject
|
38
|
+
# Type of registration in `country`.
|
39
|
+
attr_reader :type
|
40
|
+
end
|
41
|
+
|
42
|
+
class At < Stripe::StripeObject
|
43
|
+
class Standard < Stripe::StripeObject
|
44
|
+
# Place of supply scheme used in an EU standard registration.
|
45
|
+
attr_reader :place_of_supply_scheme
|
46
|
+
end
|
47
|
+
# Attribute for field standard
|
48
|
+
attr_reader :standard
|
49
|
+
# Type of registration in an EU country.
|
50
|
+
attr_reader :type
|
51
|
+
end
|
52
|
+
|
53
|
+
class Au < Stripe::StripeObject
|
54
|
+
# Type of registration in `country`.
|
55
|
+
attr_reader :type
|
56
|
+
end
|
57
|
+
|
58
|
+
class Ba < Stripe::StripeObject
|
59
|
+
# Type of registration in `country`.
|
60
|
+
attr_reader :type
|
61
|
+
end
|
62
|
+
|
63
|
+
class Bb < Stripe::StripeObject
|
64
|
+
# Type of registration in `country`.
|
65
|
+
attr_reader :type
|
66
|
+
end
|
67
|
+
|
68
|
+
class Be < Stripe::StripeObject
|
69
|
+
class Standard < Stripe::StripeObject
|
70
|
+
# Place of supply scheme used in an EU standard registration.
|
71
|
+
attr_reader :place_of_supply_scheme
|
72
|
+
end
|
73
|
+
# Attribute for field standard
|
74
|
+
attr_reader :standard
|
75
|
+
# Type of registration in an EU country.
|
76
|
+
attr_reader :type
|
77
|
+
end
|
78
|
+
|
79
|
+
class Bg < Stripe::StripeObject
|
80
|
+
class Standard < Stripe::StripeObject
|
81
|
+
# Place of supply scheme used in an EU standard registration.
|
82
|
+
attr_reader :place_of_supply_scheme
|
83
|
+
end
|
84
|
+
# Attribute for field standard
|
85
|
+
attr_reader :standard
|
86
|
+
# Type of registration in an EU country.
|
87
|
+
attr_reader :type
|
88
|
+
end
|
89
|
+
|
90
|
+
class Bh < Stripe::StripeObject
|
91
|
+
# Type of registration in `country`.
|
92
|
+
attr_reader :type
|
93
|
+
end
|
94
|
+
|
95
|
+
class Bs < Stripe::StripeObject
|
96
|
+
# Type of registration in `country`.
|
97
|
+
attr_reader :type
|
98
|
+
end
|
99
|
+
|
100
|
+
class By < Stripe::StripeObject
|
101
|
+
# Type of registration in `country`.
|
102
|
+
attr_reader :type
|
103
|
+
end
|
104
|
+
|
105
|
+
class Ca < Stripe::StripeObject
|
106
|
+
class ProvinceStandard < Stripe::StripeObject
|
107
|
+
# Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
108
|
+
attr_reader :province
|
109
|
+
end
|
110
|
+
# Attribute for field province_standard
|
111
|
+
attr_reader :province_standard
|
112
|
+
# Type of registration in Canada.
|
113
|
+
attr_reader :type
|
114
|
+
end
|
115
|
+
|
116
|
+
class Cd < Stripe::StripeObject
|
117
|
+
# Type of registration in `country`.
|
118
|
+
attr_reader :type
|
119
|
+
end
|
120
|
+
|
121
|
+
class Ch < Stripe::StripeObject
|
122
|
+
# Type of registration in `country`.
|
123
|
+
attr_reader :type
|
124
|
+
end
|
125
|
+
|
126
|
+
class Cl < Stripe::StripeObject
|
127
|
+
# Type of registration in `country`.
|
128
|
+
attr_reader :type
|
129
|
+
end
|
130
|
+
|
131
|
+
class Co < Stripe::StripeObject
|
132
|
+
# Type of registration in `country`.
|
133
|
+
attr_reader :type
|
134
|
+
end
|
135
|
+
|
136
|
+
class Cr < Stripe::StripeObject
|
137
|
+
# Type of registration in `country`.
|
138
|
+
attr_reader :type
|
139
|
+
end
|
140
|
+
|
141
|
+
class Cy < Stripe::StripeObject
|
142
|
+
class Standard < Stripe::StripeObject
|
143
|
+
# Place of supply scheme used in an EU standard registration.
|
144
|
+
attr_reader :place_of_supply_scheme
|
145
|
+
end
|
146
|
+
# Attribute for field standard
|
147
|
+
attr_reader :standard
|
148
|
+
# Type of registration in an EU country.
|
149
|
+
attr_reader :type
|
150
|
+
end
|
151
|
+
|
152
|
+
class Cz < Stripe::StripeObject
|
153
|
+
class Standard < Stripe::StripeObject
|
154
|
+
# Place of supply scheme used in an EU standard registration.
|
155
|
+
attr_reader :place_of_supply_scheme
|
156
|
+
end
|
157
|
+
# Attribute for field standard
|
158
|
+
attr_reader :standard
|
159
|
+
# Type of registration in an EU country.
|
160
|
+
attr_reader :type
|
161
|
+
end
|
162
|
+
|
163
|
+
class De < Stripe::StripeObject
|
164
|
+
class Standard < Stripe::StripeObject
|
165
|
+
# Place of supply scheme used in an EU standard registration.
|
166
|
+
attr_reader :place_of_supply_scheme
|
167
|
+
end
|
168
|
+
# Attribute for field standard
|
169
|
+
attr_reader :standard
|
170
|
+
# Type of registration in an EU country.
|
171
|
+
attr_reader :type
|
172
|
+
end
|
173
|
+
|
174
|
+
class Dk < Stripe::StripeObject
|
175
|
+
class Standard < Stripe::StripeObject
|
176
|
+
# Place of supply scheme used in an EU standard registration.
|
177
|
+
attr_reader :place_of_supply_scheme
|
178
|
+
end
|
179
|
+
# Attribute for field standard
|
180
|
+
attr_reader :standard
|
181
|
+
# Type of registration in an EU country.
|
182
|
+
attr_reader :type
|
183
|
+
end
|
184
|
+
|
185
|
+
class Ec < Stripe::StripeObject
|
186
|
+
# Type of registration in `country`.
|
187
|
+
attr_reader :type
|
188
|
+
end
|
189
|
+
|
190
|
+
class Ee < Stripe::StripeObject
|
191
|
+
class Standard < Stripe::StripeObject
|
192
|
+
# Place of supply scheme used in an EU standard registration.
|
193
|
+
attr_reader :place_of_supply_scheme
|
194
|
+
end
|
195
|
+
# Attribute for field standard
|
196
|
+
attr_reader :standard
|
197
|
+
# Type of registration in an EU country.
|
198
|
+
attr_reader :type
|
199
|
+
end
|
200
|
+
|
201
|
+
class Eg < Stripe::StripeObject
|
202
|
+
# Type of registration in `country`.
|
203
|
+
attr_reader :type
|
204
|
+
end
|
205
|
+
|
206
|
+
class Es < Stripe::StripeObject
|
207
|
+
class Standard < Stripe::StripeObject
|
208
|
+
# Place of supply scheme used in an EU standard registration.
|
209
|
+
attr_reader :place_of_supply_scheme
|
210
|
+
end
|
211
|
+
# Attribute for field standard
|
212
|
+
attr_reader :standard
|
213
|
+
# Type of registration in an EU country.
|
214
|
+
attr_reader :type
|
215
|
+
end
|
216
|
+
|
217
|
+
class Fi < Stripe::StripeObject
|
218
|
+
class Standard < Stripe::StripeObject
|
219
|
+
# Place of supply scheme used in an EU standard registration.
|
220
|
+
attr_reader :place_of_supply_scheme
|
221
|
+
end
|
222
|
+
# Attribute for field standard
|
223
|
+
attr_reader :standard
|
224
|
+
# Type of registration in an EU country.
|
225
|
+
attr_reader :type
|
226
|
+
end
|
227
|
+
|
228
|
+
class Fr < Stripe::StripeObject
|
229
|
+
class Standard < Stripe::StripeObject
|
230
|
+
# Place of supply scheme used in an EU standard registration.
|
231
|
+
attr_reader :place_of_supply_scheme
|
232
|
+
end
|
233
|
+
# Attribute for field standard
|
234
|
+
attr_reader :standard
|
235
|
+
# Type of registration in an EU country.
|
236
|
+
attr_reader :type
|
237
|
+
end
|
238
|
+
|
239
|
+
class Gb < Stripe::StripeObject
|
240
|
+
# Type of registration in `country`.
|
241
|
+
attr_reader :type
|
242
|
+
end
|
243
|
+
|
244
|
+
class Ge < Stripe::StripeObject
|
245
|
+
# Type of registration in `country`.
|
246
|
+
attr_reader :type
|
247
|
+
end
|
248
|
+
|
249
|
+
class Gn < Stripe::StripeObject
|
250
|
+
# Type of registration in `country`.
|
251
|
+
attr_reader :type
|
252
|
+
end
|
253
|
+
|
254
|
+
class Gr < Stripe::StripeObject
|
255
|
+
class Standard < Stripe::StripeObject
|
256
|
+
# Place of supply scheme used in an EU standard registration.
|
257
|
+
attr_reader :place_of_supply_scheme
|
258
|
+
end
|
259
|
+
# Attribute for field standard
|
260
|
+
attr_reader :standard
|
261
|
+
# Type of registration in an EU country.
|
262
|
+
attr_reader :type
|
263
|
+
end
|
264
|
+
|
265
|
+
class Hr < Stripe::StripeObject
|
266
|
+
class Standard < Stripe::StripeObject
|
267
|
+
# Place of supply scheme used in an EU standard registration.
|
268
|
+
attr_reader :place_of_supply_scheme
|
269
|
+
end
|
270
|
+
# Attribute for field standard
|
271
|
+
attr_reader :standard
|
272
|
+
# Type of registration in an EU country.
|
273
|
+
attr_reader :type
|
274
|
+
end
|
275
|
+
|
276
|
+
class Hu < Stripe::StripeObject
|
277
|
+
class Standard < Stripe::StripeObject
|
278
|
+
# Place of supply scheme used in an EU standard registration.
|
279
|
+
attr_reader :place_of_supply_scheme
|
280
|
+
end
|
281
|
+
# Attribute for field standard
|
282
|
+
attr_reader :standard
|
283
|
+
# Type of registration in an EU country.
|
284
|
+
attr_reader :type
|
285
|
+
end
|
286
|
+
|
287
|
+
class Id < Stripe::StripeObject
|
288
|
+
# Type of registration in `country`.
|
289
|
+
attr_reader :type
|
290
|
+
end
|
291
|
+
|
292
|
+
class Ie < Stripe::StripeObject
|
293
|
+
class Standard < Stripe::StripeObject
|
294
|
+
# Place of supply scheme used in an EU standard registration.
|
295
|
+
attr_reader :place_of_supply_scheme
|
296
|
+
end
|
297
|
+
# Attribute for field standard
|
298
|
+
attr_reader :standard
|
299
|
+
# Type of registration in an EU country.
|
300
|
+
attr_reader :type
|
301
|
+
end
|
302
|
+
|
303
|
+
class Is < Stripe::StripeObject
|
304
|
+
# Type of registration in `country`.
|
305
|
+
attr_reader :type
|
306
|
+
end
|
307
|
+
|
308
|
+
class It < Stripe::StripeObject
|
309
|
+
class Standard < Stripe::StripeObject
|
310
|
+
# Place of supply scheme used in an EU standard registration.
|
311
|
+
attr_reader :place_of_supply_scheme
|
312
|
+
end
|
313
|
+
# Attribute for field standard
|
314
|
+
attr_reader :standard
|
315
|
+
# Type of registration in an EU country.
|
316
|
+
attr_reader :type
|
317
|
+
end
|
318
|
+
|
319
|
+
class Jp < Stripe::StripeObject
|
320
|
+
# Type of registration in `country`.
|
321
|
+
attr_reader :type
|
322
|
+
end
|
323
|
+
|
324
|
+
class Ke < Stripe::StripeObject
|
325
|
+
# Type of registration in `country`.
|
326
|
+
attr_reader :type
|
327
|
+
end
|
328
|
+
|
329
|
+
class Kh < Stripe::StripeObject
|
330
|
+
# Type of registration in `country`.
|
331
|
+
attr_reader :type
|
332
|
+
end
|
333
|
+
|
334
|
+
class Kr < Stripe::StripeObject
|
335
|
+
# Type of registration in `country`.
|
336
|
+
attr_reader :type
|
337
|
+
end
|
338
|
+
|
339
|
+
class Kz < Stripe::StripeObject
|
340
|
+
# Type of registration in `country`.
|
341
|
+
attr_reader :type
|
342
|
+
end
|
343
|
+
|
344
|
+
class Lt < Stripe::StripeObject
|
345
|
+
class Standard < Stripe::StripeObject
|
346
|
+
# Place of supply scheme used in an EU standard registration.
|
347
|
+
attr_reader :place_of_supply_scheme
|
348
|
+
end
|
349
|
+
# Attribute for field standard
|
350
|
+
attr_reader :standard
|
351
|
+
# Type of registration in an EU country.
|
352
|
+
attr_reader :type
|
353
|
+
end
|
354
|
+
|
355
|
+
class Lu < Stripe::StripeObject
|
356
|
+
class Standard < Stripe::StripeObject
|
357
|
+
# Place of supply scheme used in an EU standard registration.
|
358
|
+
attr_reader :place_of_supply_scheme
|
359
|
+
end
|
360
|
+
# Attribute for field standard
|
361
|
+
attr_reader :standard
|
362
|
+
# Type of registration in an EU country.
|
363
|
+
attr_reader :type
|
364
|
+
end
|
365
|
+
|
366
|
+
class Lv < Stripe::StripeObject
|
367
|
+
class Standard < Stripe::StripeObject
|
368
|
+
# Place of supply scheme used in an EU standard registration.
|
369
|
+
attr_reader :place_of_supply_scheme
|
370
|
+
end
|
371
|
+
# Attribute for field standard
|
372
|
+
attr_reader :standard
|
373
|
+
# Type of registration in an EU country.
|
374
|
+
attr_reader :type
|
375
|
+
end
|
376
|
+
|
377
|
+
class Ma < Stripe::StripeObject
|
378
|
+
# Type of registration in `country`.
|
379
|
+
attr_reader :type
|
380
|
+
end
|
381
|
+
|
382
|
+
class Md < Stripe::StripeObject
|
383
|
+
# Type of registration in `country`.
|
384
|
+
attr_reader :type
|
385
|
+
end
|
386
|
+
|
387
|
+
class Me < Stripe::StripeObject
|
388
|
+
# Type of registration in `country`.
|
389
|
+
attr_reader :type
|
390
|
+
end
|
391
|
+
|
392
|
+
class Mk < Stripe::StripeObject
|
393
|
+
# Type of registration in `country`.
|
394
|
+
attr_reader :type
|
395
|
+
end
|
396
|
+
|
397
|
+
class Mr < Stripe::StripeObject
|
398
|
+
# Type of registration in `country`.
|
399
|
+
attr_reader :type
|
400
|
+
end
|
401
|
+
|
402
|
+
class Mt < Stripe::StripeObject
|
403
|
+
class Standard < Stripe::StripeObject
|
404
|
+
# Place of supply scheme used in an EU standard registration.
|
405
|
+
attr_reader :place_of_supply_scheme
|
406
|
+
end
|
407
|
+
# Attribute for field standard
|
408
|
+
attr_reader :standard
|
409
|
+
# Type of registration in an EU country.
|
410
|
+
attr_reader :type
|
411
|
+
end
|
412
|
+
|
413
|
+
class Mx < Stripe::StripeObject
|
414
|
+
# Type of registration in `country`.
|
415
|
+
attr_reader :type
|
416
|
+
end
|
417
|
+
|
418
|
+
class My < Stripe::StripeObject
|
419
|
+
# Type of registration in `country`.
|
420
|
+
attr_reader :type
|
421
|
+
end
|
422
|
+
|
423
|
+
class Ng < Stripe::StripeObject
|
424
|
+
# Type of registration in `country`.
|
425
|
+
attr_reader :type
|
426
|
+
end
|
427
|
+
|
428
|
+
class Nl < Stripe::StripeObject
|
429
|
+
class Standard < Stripe::StripeObject
|
430
|
+
# Place of supply scheme used in an EU standard registration.
|
431
|
+
attr_reader :place_of_supply_scheme
|
432
|
+
end
|
433
|
+
# Attribute for field standard
|
434
|
+
attr_reader :standard
|
435
|
+
# Type of registration in an EU country.
|
436
|
+
attr_reader :type
|
437
|
+
end
|
438
|
+
|
439
|
+
class No < Stripe::StripeObject
|
440
|
+
# Type of registration in `country`.
|
441
|
+
attr_reader :type
|
442
|
+
end
|
443
|
+
|
444
|
+
class Np < Stripe::StripeObject
|
445
|
+
# Type of registration in `country`.
|
446
|
+
attr_reader :type
|
447
|
+
end
|
448
|
+
|
449
|
+
class Nz < Stripe::StripeObject
|
450
|
+
# Type of registration in `country`.
|
451
|
+
attr_reader :type
|
452
|
+
end
|
453
|
+
|
454
|
+
class Om < Stripe::StripeObject
|
455
|
+
# Type of registration in `country`.
|
456
|
+
attr_reader :type
|
457
|
+
end
|
458
|
+
|
459
|
+
class Pe < Stripe::StripeObject
|
460
|
+
# Type of registration in `country`.
|
461
|
+
attr_reader :type
|
462
|
+
end
|
463
|
+
|
464
|
+
class Pl < Stripe::StripeObject
|
465
|
+
class Standard < Stripe::StripeObject
|
466
|
+
# Place of supply scheme used in an EU standard registration.
|
467
|
+
attr_reader :place_of_supply_scheme
|
468
|
+
end
|
469
|
+
# Attribute for field standard
|
470
|
+
attr_reader :standard
|
471
|
+
# Type of registration in an EU country.
|
472
|
+
attr_reader :type
|
473
|
+
end
|
474
|
+
|
475
|
+
class Pt < Stripe::StripeObject
|
476
|
+
class Standard < Stripe::StripeObject
|
477
|
+
# Place of supply scheme used in an EU standard registration.
|
478
|
+
attr_reader :place_of_supply_scheme
|
479
|
+
end
|
480
|
+
# Attribute for field standard
|
481
|
+
attr_reader :standard
|
482
|
+
# Type of registration in an EU country.
|
483
|
+
attr_reader :type
|
484
|
+
end
|
485
|
+
|
486
|
+
class Ro < Stripe::StripeObject
|
487
|
+
class Standard < Stripe::StripeObject
|
488
|
+
# Place of supply scheme used in an EU standard registration.
|
489
|
+
attr_reader :place_of_supply_scheme
|
490
|
+
end
|
491
|
+
# Attribute for field standard
|
492
|
+
attr_reader :standard
|
493
|
+
# Type of registration in an EU country.
|
494
|
+
attr_reader :type
|
495
|
+
end
|
496
|
+
|
497
|
+
class Rs < Stripe::StripeObject
|
498
|
+
# Type of registration in `country`.
|
499
|
+
attr_reader :type
|
500
|
+
end
|
501
|
+
|
502
|
+
class Ru < Stripe::StripeObject
|
503
|
+
# Type of registration in `country`.
|
504
|
+
attr_reader :type
|
505
|
+
end
|
506
|
+
|
507
|
+
class Sa < Stripe::StripeObject
|
508
|
+
# Type of registration in `country`.
|
509
|
+
attr_reader :type
|
510
|
+
end
|
511
|
+
|
512
|
+
class Se < Stripe::StripeObject
|
513
|
+
class Standard < Stripe::StripeObject
|
514
|
+
# Place of supply scheme used in an EU standard registration.
|
515
|
+
attr_reader :place_of_supply_scheme
|
516
|
+
end
|
517
|
+
# Attribute for field standard
|
518
|
+
attr_reader :standard
|
519
|
+
# Type of registration in an EU country.
|
520
|
+
attr_reader :type
|
521
|
+
end
|
522
|
+
|
523
|
+
class Sg < Stripe::StripeObject
|
524
|
+
# Type of registration in `country`.
|
525
|
+
attr_reader :type
|
526
|
+
end
|
527
|
+
|
528
|
+
class Si < Stripe::StripeObject
|
529
|
+
class Standard < Stripe::StripeObject
|
530
|
+
# Place of supply scheme used in an EU standard registration.
|
531
|
+
attr_reader :place_of_supply_scheme
|
532
|
+
end
|
533
|
+
# Attribute for field standard
|
534
|
+
attr_reader :standard
|
535
|
+
# Type of registration in an EU country.
|
536
|
+
attr_reader :type
|
537
|
+
end
|
538
|
+
|
539
|
+
class Sk < Stripe::StripeObject
|
540
|
+
class Standard < Stripe::StripeObject
|
541
|
+
# Place of supply scheme used in an EU standard registration.
|
542
|
+
attr_reader :place_of_supply_scheme
|
543
|
+
end
|
544
|
+
# Attribute for field standard
|
545
|
+
attr_reader :standard
|
546
|
+
# Type of registration in an EU country.
|
547
|
+
attr_reader :type
|
548
|
+
end
|
549
|
+
|
550
|
+
class Sn < Stripe::StripeObject
|
551
|
+
# Type of registration in `country`.
|
552
|
+
attr_reader :type
|
553
|
+
end
|
554
|
+
|
555
|
+
class Sr < Stripe::StripeObject
|
556
|
+
# Type of registration in `country`.
|
557
|
+
attr_reader :type
|
558
|
+
end
|
559
|
+
|
560
|
+
class Th < Stripe::StripeObject
|
561
|
+
# Type of registration in `country`.
|
562
|
+
attr_reader :type
|
563
|
+
end
|
564
|
+
|
565
|
+
class Tj < Stripe::StripeObject
|
566
|
+
# Type of registration in `country`.
|
567
|
+
attr_reader :type
|
568
|
+
end
|
569
|
+
|
570
|
+
class Tr < Stripe::StripeObject
|
571
|
+
# Type of registration in `country`.
|
572
|
+
attr_reader :type
|
573
|
+
end
|
574
|
+
|
575
|
+
class Tz < Stripe::StripeObject
|
576
|
+
# Type of registration in `country`.
|
577
|
+
attr_reader :type
|
578
|
+
end
|
579
|
+
|
580
|
+
class Ug < Stripe::StripeObject
|
581
|
+
# Type of registration in `country`.
|
582
|
+
attr_reader :type
|
583
|
+
end
|
584
|
+
|
585
|
+
class Us < Stripe::StripeObject
|
586
|
+
class LocalAmusementTax < Stripe::StripeObject
|
587
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
|
588
|
+
attr_reader :jurisdiction
|
589
|
+
end
|
590
|
+
|
591
|
+
class LocalLeaseTax < Stripe::StripeObject
|
592
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
|
593
|
+
attr_reader :jurisdiction
|
594
|
+
end
|
595
|
+
|
596
|
+
class StateSalesTax < Stripe::StripeObject
|
597
|
+
class Election < Stripe::StripeObject
|
598
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
|
599
|
+
attr_reader :jurisdiction
|
600
|
+
# The type of the election for the state sales tax registration.
|
601
|
+
attr_reader :type
|
602
|
+
end
|
603
|
+
# Elections for the state sales tax registration.
|
604
|
+
attr_reader :elections
|
605
|
+
end
|
606
|
+
# Attribute for field local_amusement_tax
|
607
|
+
attr_reader :local_amusement_tax
|
608
|
+
# Attribute for field local_lease_tax
|
609
|
+
attr_reader :local_lease_tax
|
610
|
+
# Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
611
|
+
attr_reader :state
|
612
|
+
# Attribute for field state_sales_tax
|
613
|
+
attr_reader :state_sales_tax
|
614
|
+
# Type of registration in the US.
|
615
|
+
attr_reader :type
|
616
|
+
end
|
617
|
+
|
618
|
+
class Uy < Stripe::StripeObject
|
619
|
+
# Type of registration in `country`.
|
620
|
+
attr_reader :type
|
621
|
+
end
|
622
|
+
|
623
|
+
class Uz < Stripe::StripeObject
|
624
|
+
# Type of registration in `country`.
|
625
|
+
attr_reader :type
|
626
|
+
end
|
627
|
+
|
628
|
+
class Vn < Stripe::StripeObject
|
629
|
+
# Type of registration in `country`.
|
630
|
+
attr_reader :type
|
631
|
+
end
|
632
|
+
|
633
|
+
class Za < Stripe::StripeObject
|
634
|
+
# Type of registration in `country`.
|
635
|
+
attr_reader :type
|
636
|
+
end
|
637
|
+
|
638
|
+
class Zm < Stripe::StripeObject
|
639
|
+
# Type of registration in `country`.
|
640
|
+
attr_reader :type
|
641
|
+
end
|
642
|
+
|
643
|
+
class Zw < Stripe::StripeObject
|
644
|
+
# Type of registration in `country`.
|
645
|
+
attr_reader :type
|
646
|
+
end
|
647
|
+
# Attribute for field ae
|
648
|
+
attr_reader :ae
|
649
|
+
# Attribute for field al
|
650
|
+
attr_reader :al
|
651
|
+
# Attribute for field am
|
652
|
+
attr_reader :am
|
653
|
+
# Attribute for field ao
|
654
|
+
attr_reader :ao
|
655
|
+
# Attribute for field at
|
656
|
+
attr_reader :at
|
657
|
+
# Attribute for field au
|
658
|
+
attr_reader :au
|
659
|
+
# Attribute for field ba
|
660
|
+
attr_reader :ba
|
661
|
+
# Attribute for field bb
|
662
|
+
attr_reader :bb
|
663
|
+
# Attribute for field be
|
664
|
+
attr_reader :be
|
665
|
+
# Attribute for field bg
|
666
|
+
attr_reader :bg
|
667
|
+
# Attribute for field bh
|
668
|
+
attr_reader :bh
|
669
|
+
# Attribute for field bs
|
670
|
+
attr_reader :bs
|
671
|
+
# Attribute for field by
|
672
|
+
attr_reader :by
|
673
|
+
# Attribute for field ca
|
674
|
+
attr_reader :ca
|
675
|
+
# Attribute for field cd
|
676
|
+
attr_reader :cd
|
677
|
+
# Attribute for field ch
|
678
|
+
attr_reader :ch
|
679
|
+
# Attribute for field cl
|
680
|
+
attr_reader :cl
|
681
|
+
# Attribute for field co
|
682
|
+
attr_reader :co
|
683
|
+
# Attribute for field cr
|
684
|
+
attr_reader :cr
|
685
|
+
# Attribute for field cy
|
686
|
+
attr_reader :cy
|
687
|
+
# Attribute for field cz
|
688
|
+
attr_reader :cz
|
689
|
+
# Attribute for field de
|
690
|
+
attr_reader :de
|
691
|
+
# Attribute for field dk
|
692
|
+
attr_reader :dk
|
693
|
+
# Attribute for field ec
|
694
|
+
attr_reader :ec
|
695
|
+
# Attribute for field ee
|
696
|
+
attr_reader :ee
|
697
|
+
# Attribute for field eg
|
698
|
+
attr_reader :eg
|
699
|
+
# Attribute for field es
|
700
|
+
attr_reader :es
|
701
|
+
# Attribute for field fi
|
702
|
+
attr_reader :fi
|
703
|
+
# Attribute for field fr
|
704
|
+
attr_reader :fr
|
705
|
+
# Attribute for field gb
|
706
|
+
attr_reader :gb
|
707
|
+
# Attribute for field ge
|
708
|
+
attr_reader :ge
|
709
|
+
# Attribute for field gn
|
710
|
+
attr_reader :gn
|
711
|
+
# Attribute for field gr
|
712
|
+
attr_reader :gr
|
713
|
+
# Attribute for field hr
|
714
|
+
attr_reader :hr
|
715
|
+
# Attribute for field hu
|
716
|
+
attr_reader :hu
|
717
|
+
# Attribute for field id
|
718
|
+
attr_reader :id
|
719
|
+
# Attribute for field ie
|
720
|
+
attr_reader :ie
|
721
|
+
# Attribute for field is
|
722
|
+
attr_reader :is
|
723
|
+
# Attribute for field it
|
724
|
+
attr_reader :it
|
725
|
+
# Attribute for field jp
|
726
|
+
attr_reader :jp
|
727
|
+
# Attribute for field ke
|
728
|
+
attr_reader :ke
|
729
|
+
# Attribute for field kh
|
730
|
+
attr_reader :kh
|
731
|
+
# Attribute for field kr
|
732
|
+
attr_reader :kr
|
733
|
+
# Attribute for field kz
|
734
|
+
attr_reader :kz
|
735
|
+
# Attribute for field lt
|
736
|
+
attr_reader :lt
|
737
|
+
# Attribute for field lu
|
738
|
+
attr_reader :lu
|
739
|
+
# Attribute for field lv
|
740
|
+
attr_reader :lv
|
741
|
+
# Attribute for field ma
|
742
|
+
attr_reader :ma
|
743
|
+
# Attribute for field md
|
744
|
+
attr_reader :md
|
745
|
+
# Attribute for field me
|
746
|
+
attr_reader :me
|
747
|
+
# Attribute for field mk
|
748
|
+
attr_reader :mk
|
749
|
+
# Attribute for field mr
|
750
|
+
attr_reader :mr
|
751
|
+
# Attribute for field mt
|
752
|
+
attr_reader :mt
|
753
|
+
# Attribute for field mx
|
754
|
+
attr_reader :mx
|
755
|
+
# Attribute for field my
|
756
|
+
attr_reader :my
|
757
|
+
# Attribute for field ng
|
758
|
+
attr_reader :ng
|
759
|
+
# Attribute for field nl
|
760
|
+
attr_reader :nl
|
761
|
+
# Attribute for field no
|
762
|
+
attr_reader :no
|
763
|
+
# Attribute for field np
|
764
|
+
attr_reader :np
|
765
|
+
# Attribute for field nz
|
766
|
+
attr_reader :nz
|
767
|
+
# Attribute for field om
|
768
|
+
attr_reader :om
|
769
|
+
# Attribute for field pe
|
770
|
+
attr_reader :pe
|
771
|
+
# Attribute for field pl
|
772
|
+
attr_reader :pl
|
773
|
+
# Attribute for field pt
|
774
|
+
attr_reader :pt
|
775
|
+
# Attribute for field ro
|
776
|
+
attr_reader :ro
|
777
|
+
# Attribute for field rs
|
778
|
+
attr_reader :rs
|
779
|
+
# Attribute for field ru
|
780
|
+
attr_reader :ru
|
781
|
+
# Attribute for field sa
|
782
|
+
attr_reader :sa
|
783
|
+
# Attribute for field se
|
784
|
+
attr_reader :se
|
785
|
+
# Attribute for field sg
|
786
|
+
attr_reader :sg
|
787
|
+
# Attribute for field si
|
788
|
+
attr_reader :si
|
789
|
+
# Attribute for field sk
|
790
|
+
attr_reader :sk
|
791
|
+
# Attribute for field sn
|
792
|
+
attr_reader :sn
|
793
|
+
# Attribute for field sr
|
794
|
+
attr_reader :sr
|
795
|
+
# Attribute for field th
|
796
|
+
attr_reader :th
|
797
|
+
# Attribute for field tj
|
798
|
+
attr_reader :tj
|
799
|
+
# Attribute for field tr
|
800
|
+
attr_reader :tr
|
801
|
+
# Attribute for field tz
|
802
|
+
attr_reader :tz
|
803
|
+
# Attribute for field ug
|
804
|
+
attr_reader :ug
|
805
|
+
# Attribute for field us
|
806
|
+
attr_reader :us
|
807
|
+
# Attribute for field uy
|
808
|
+
attr_reader :uy
|
809
|
+
# Attribute for field uz
|
810
|
+
attr_reader :uz
|
811
|
+
# Attribute for field vn
|
812
|
+
attr_reader :vn
|
813
|
+
# Attribute for field za
|
814
|
+
attr_reader :za
|
815
|
+
# Attribute for field zm
|
816
|
+
attr_reader :zm
|
817
|
+
# Attribute for field zw
|
818
|
+
attr_reader :zw
|
819
|
+
end
|
820
|
+
|
821
|
+
class ListParams < Stripe::RequestParams
|
822
|
+
# 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.
|
823
|
+
attr_accessor :ending_before
|
824
|
+
# Specifies which fields in the response should be expanded.
|
825
|
+
attr_accessor :expand
|
826
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
827
|
+
attr_accessor :limit
|
828
|
+
# 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.
|
829
|
+
attr_accessor :starting_after
|
830
|
+
# The status of the Tax Registration.
|
831
|
+
attr_accessor :status
|
832
|
+
|
833
|
+
def initialize(
|
834
|
+
ending_before: nil,
|
835
|
+
expand: nil,
|
836
|
+
limit: nil,
|
837
|
+
starting_after: nil,
|
838
|
+
status: nil
|
839
|
+
)
|
840
|
+
@ending_before = ending_before
|
841
|
+
@expand = expand
|
842
|
+
@limit = limit
|
843
|
+
@starting_after = starting_after
|
844
|
+
@status = status
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
848
|
+
class CreateParams < Stripe::RequestParams
|
849
|
+
class CountryOptions < Stripe::RequestParams
|
850
|
+
class Ae < Stripe::RequestParams
|
851
|
+
# Type of registration to be created in `country`.
|
852
|
+
attr_accessor :type
|
853
|
+
|
854
|
+
def initialize(type: nil)
|
855
|
+
@type = type
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
class Al < Stripe::RequestParams
|
860
|
+
# Type of registration to be created in `country`.
|
861
|
+
attr_accessor :type
|
862
|
+
|
863
|
+
def initialize(type: nil)
|
864
|
+
@type = type
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
class Am < Stripe::RequestParams
|
869
|
+
# Type of registration to be created in `country`.
|
870
|
+
attr_accessor :type
|
871
|
+
|
872
|
+
def initialize(type: nil)
|
873
|
+
@type = type
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
class Ao < Stripe::RequestParams
|
878
|
+
# Type of registration to be created in `country`.
|
879
|
+
attr_accessor :type
|
880
|
+
|
881
|
+
def initialize(type: nil)
|
882
|
+
@type = type
|
883
|
+
end
|
884
|
+
end
|
885
|
+
|
886
|
+
class At < Stripe::RequestParams
|
887
|
+
class Standard < Stripe::RequestParams
|
888
|
+
# Place of supply scheme used in an EU standard registration.
|
889
|
+
attr_accessor :place_of_supply_scheme
|
890
|
+
|
891
|
+
def initialize(place_of_supply_scheme: nil)
|
892
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
893
|
+
end
|
894
|
+
end
|
895
|
+
# Options for the standard registration.
|
896
|
+
attr_accessor :standard
|
897
|
+
# Type of registration to be created in an EU country.
|
898
|
+
attr_accessor :type
|
899
|
+
|
900
|
+
def initialize(standard: nil, type: nil)
|
901
|
+
@standard = standard
|
902
|
+
@type = type
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
class Au < Stripe::RequestParams
|
907
|
+
# Type of registration to be created in `country`.
|
908
|
+
attr_accessor :type
|
909
|
+
|
910
|
+
def initialize(type: nil)
|
911
|
+
@type = type
|
912
|
+
end
|
913
|
+
end
|
914
|
+
|
915
|
+
class Ba < Stripe::RequestParams
|
916
|
+
# Type of registration to be created in `country`.
|
917
|
+
attr_accessor :type
|
918
|
+
|
919
|
+
def initialize(type: nil)
|
920
|
+
@type = type
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
924
|
+
class Bb < Stripe::RequestParams
|
925
|
+
# Type of registration to be created in `country`.
|
926
|
+
attr_accessor :type
|
927
|
+
|
928
|
+
def initialize(type: nil)
|
929
|
+
@type = type
|
930
|
+
end
|
931
|
+
end
|
932
|
+
|
933
|
+
class Be < Stripe::RequestParams
|
934
|
+
class Standard < Stripe::RequestParams
|
935
|
+
# Place of supply scheme used in an EU standard registration.
|
936
|
+
attr_accessor :place_of_supply_scheme
|
937
|
+
|
938
|
+
def initialize(place_of_supply_scheme: nil)
|
939
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
940
|
+
end
|
941
|
+
end
|
942
|
+
# Options for the standard registration.
|
943
|
+
attr_accessor :standard
|
944
|
+
# Type of registration to be created in an EU country.
|
945
|
+
attr_accessor :type
|
946
|
+
|
947
|
+
def initialize(standard: nil, type: nil)
|
948
|
+
@standard = standard
|
949
|
+
@type = type
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
953
|
+
class Bg < Stripe::RequestParams
|
954
|
+
class Standard < Stripe::RequestParams
|
955
|
+
# Place of supply scheme used in an EU standard registration.
|
956
|
+
attr_accessor :place_of_supply_scheme
|
957
|
+
|
958
|
+
def initialize(place_of_supply_scheme: nil)
|
959
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
960
|
+
end
|
961
|
+
end
|
962
|
+
# Options for the standard registration.
|
963
|
+
attr_accessor :standard
|
964
|
+
# Type of registration to be created in an EU country.
|
965
|
+
attr_accessor :type
|
966
|
+
|
967
|
+
def initialize(standard: nil, type: nil)
|
968
|
+
@standard = standard
|
969
|
+
@type = type
|
970
|
+
end
|
971
|
+
end
|
972
|
+
|
973
|
+
class Bh < Stripe::RequestParams
|
974
|
+
# Type of registration to be created in `country`.
|
975
|
+
attr_accessor :type
|
976
|
+
|
977
|
+
def initialize(type: nil)
|
978
|
+
@type = type
|
979
|
+
end
|
980
|
+
end
|
981
|
+
|
982
|
+
class Bs < Stripe::RequestParams
|
983
|
+
# Type of registration to be created in `country`.
|
984
|
+
attr_accessor :type
|
985
|
+
|
986
|
+
def initialize(type: nil)
|
987
|
+
@type = type
|
988
|
+
end
|
989
|
+
end
|
990
|
+
|
991
|
+
class By < Stripe::RequestParams
|
992
|
+
# Type of registration to be created in `country`.
|
993
|
+
attr_accessor :type
|
994
|
+
|
995
|
+
def initialize(type: nil)
|
996
|
+
@type = type
|
997
|
+
end
|
998
|
+
end
|
999
|
+
|
1000
|
+
class Ca < Stripe::RequestParams
|
1001
|
+
class ProvinceStandard < Stripe::RequestParams
|
1002
|
+
# Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
1003
|
+
attr_accessor :province
|
1004
|
+
|
1005
|
+
def initialize(province: nil)
|
1006
|
+
@province = province
|
1007
|
+
end
|
1008
|
+
end
|
1009
|
+
# Options for the provincial tax registration.
|
1010
|
+
attr_accessor :province_standard
|
1011
|
+
# Type of registration to be created in Canada.
|
1012
|
+
attr_accessor :type
|
1013
|
+
|
1014
|
+
def initialize(province_standard: nil, type: nil)
|
1015
|
+
@province_standard = province_standard
|
1016
|
+
@type = type
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
class Cd < Stripe::RequestParams
|
1021
|
+
# Type of registration to be created in `country`.
|
1022
|
+
attr_accessor :type
|
1023
|
+
|
1024
|
+
def initialize(type: nil)
|
1025
|
+
@type = type
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
class Ch < Stripe::RequestParams
|
1030
|
+
# Type of registration to be created in `country`.
|
1031
|
+
attr_accessor :type
|
1032
|
+
|
1033
|
+
def initialize(type: nil)
|
1034
|
+
@type = type
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
class Cl < Stripe::RequestParams
|
1039
|
+
# Type of registration to be created in `country`.
|
1040
|
+
attr_accessor :type
|
1041
|
+
|
1042
|
+
def initialize(type: nil)
|
1043
|
+
@type = type
|
1044
|
+
end
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
class Co < Stripe::RequestParams
|
1048
|
+
# Type of registration to be created in `country`.
|
1049
|
+
attr_accessor :type
|
1050
|
+
|
1051
|
+
def initialize(type: nil)
|
1052
|
+
@type = type
|
1053
|
+
end
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
class Cr < Stripe::RequestParams
|
1057
|
+
# Type of registration to be created in `country`.
|
1058
|
+
attr_accessor :type
|
1059
|
+
|
1060
|
+
def initialize(type: nil)
|
1061
|
+
@type = type
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
class Cy < Stripe::RequestParams
|
1066
|
+
class Standard < Stripe::RequestParams
|
1067
|
+
# Place of supply scheme used in an EU standard registration.
|
1068
|
+
attr_accessor :place_of_supply_scheme
|
1069
|
+
|
1070
|
+
def initialize(place_of_supply_scheme: nil)
|
1071
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
# Options for the standard registration.
|
1075
|
+
attr_accessor :standard
|
1076
|
+
# Type of registration to be created in an EU country.
|
1077
|
+
attr_accessor :type
|
1078
|
+
|
1079
|
+
def initialize(standard: nil, type: nil)
|
1080
|
+
@standard = standard
|
1081
|
+
@type = type
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
class Cz < Stripe::RequestParams
|
1086
|
+
class Standard < Stripe::RequestParams
|
1087
|
+
# Place of supply scheme used in an EU standard registration.
|
1088
|
+
attr_accessor :place_of_supply_scheme
|
1089
|
+
|
1090
|
+
def initialize(place_of_supply_scheme: nil)
|
1091
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
# Options for the standard registration.
|
1095
|
+
attr_accessor :standard
|
1096
|
+
# Type of registration to be created in an EU country.
|
1097
|
+
attr_accessor :type
|
1098
|
+
|
1099
|
+
def initialize(standard: nil, type: nil)
|
1100
|
+
@standard = standard
|
1101
|
+
@type = type
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
class De < Stripe::RequestParams
|
1106
|
+
class Standard < Stripe::RequestParams
|
1107
|
+
# Place of supply scheme used in an EU standard registration.
|
1108
|
+
attr_accessor :place_of_supply_scheme
|
1109
|
+
|
1110
|
+
def initialize(place_of_supply_scheme: nil)
|
1111
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1112
|
+
end
|
1113
|
+
end
|
1114
|
+
# Options for the standard registration.
|
1115
|
+
attr_accessor :standard
|
1116
|
+
# Type of registration to be created in an EU country.
|
1117
|
+
attr_accessor :type
|
1118
|
+
|
1119
|
+
def initialize(standard: nil, type: nil)
|
1120
|
+
@standard = standard
|
1121
|
+
@type = type
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
class Dk < Stripe::RequestParams
|
1126
|
+
class Standard < Stripe::RequestParams
|
1127
|
+
# Place of supply scheme used in an EU standard registration.
|
1128
|
+
attr_accessor :place_of_supply_scheme
|
1129
|
+
|
1130
|
+
def initialize(place_of_supply_scheme: nil)
|
1131
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
# Options for the standard registration.
|
1135
|
+
attr_accessor :standard
|
1136
|
+
# Type of registration to be created in an EU country.
|
1137
|
+
attr_accessor :type
|
1138
|
+
|
1139
|
+
def initialize(standard: nil, type: nil)
|
1140
|
+
@standard = standard
|
1141
|
+
@type = type
|
1142
|
+
end
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
class Ec < Stripe::RequestParams
|
1146
|
+
# Type of registration to be created in `country`.
|
1147
|
+
attr_accessor :type
|
1148
|
+
|
1149
|
+
def initialize(type: nil)
|
1150
|
+
@type = type
|
1151
|
+
end
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
class Ee < Stripe::RequestParams
|
1155
|
+
class Standard < Stripe::RequestParams
|
1156
|
+
# Place of supply scheme used in an EU standard registration.
|
1157
|
+
attr_accessor :place_of_supply_scheme
|
1158
|
+
|
1159
|
+
def initialize(place_of_supply_scheme: nil)
|
1160
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1161
|
+
end
|
1162
|
+
end
|
1163
|
+
# Options for the standard registration.
|
1164
|
+
attr_accessor :standard
|
1165
|
+
# Type of registration to be created in an EU country.
|
1166
|
+
attr_accessor :type
|
1167
|
+
|
1168
|
+
def initialize(standard: nil, type: nil)
|
1169
|
+
@standard = standard
|
1170
|
+
@type = type
|
1171
|
+
end
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
class Eg < Stripe::RequestParams
|
1175
|
+
# Type of registration to be created in `country`.
|
1176
|
+
attr_accessor :type
|
1177
|
+
|
1178
|
+
def initialize(type: nil)
|
1179
|
+
@type = type
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
class Es < Stripe::RequestParams
|
1184
|
+
class Standard < Stripe::RequestParams
|
1185
|
+
# Place of supply scheme used in an EU standard registration.
|
1186
|
+
attr_accessor :place_of_supply_scheme
|
1187
|
+
|
1188
|
+
def initialize(place_of_supply_scheme: nil)
|
1189
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1190
|
+
end
|
1191
|
+
end
|
1192
|
+
# Options for the standard registration.
|
1193
|
+
attr_accessor :standard
|
1194
|
+
# Type of registration to be created in an EU country.
|
1195
|
+
attr_accessor :type
|
1196
|
+
|
1197
|
+
def initialize(standard: nil, type: nil)
|
1198
|
+
@standard = standard
|
1199
|
+
@type = type
|
1200
|
+
end
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
class Fi < Stripe::RequestParams
|
1204
|
+
class Standard < Stripe::RequestParams
|
1205
|
+
# Place of supply scheme used in an EU standard registration.
|
1206
|
+
attr_accessor :place_of_supply_scheme
|
1207
|
+
|
1208
|
+
def initialize(place_of_supply_scheme: nil)
|
1209
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1210
|
+
end
|
1211
|
+
end
|
1212
|
+
# Options for the standard registration.
|
1213
|
+
attr_accessor :standard
|
1214
|
+
# Type of registration to be created in an EU country.
|
1215
|
+
attr_accessor :type
|
1216
|
+
|
1217
|
+
def initialize(standard: nil, type: nil)
|
1218
|
+
@standard = standard
|
1219
|
+
@type = type
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
class Fr < Stripe::RequestParams
|
1224
|
+
class Standard < Stripe::RequestParams
|
1225
|
+
# Place of supply scheme used in an EU standard registration.
|
1226
|
+
attr_accessor :place_of_supply_scheme
|
1227
|
+
|
1228
|
+
def initialize(place_of_supply_scheme: nil)
|
1229
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1230
|
+
end
|
1231
|
+
end
|
1232
|
+
# Options for the standard registration.
|
1233
|
+
attr_accessor :standard
|
1234
|
+
# Type of registration to be created in an EU country.
|
1235
|
+
attr_accessor :type
|
1236
|
+
|
1237
|
+
def initialize(standard: nil, type: nil)
|
1238
|
+
@standard = standard
|
1239
|
+
@type = type
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
class Gb < Stripe::RequestParams
|
1244
|
+
# Type of registration to be created in `country`.
|
1245
|
+
attr_accessor :type
|
1246
|
+
|
1247
|
+
def initialize(type: nil)
|
1248
|
+
@type = type
|
1249
|
+
end
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
class Ge < Stripe::RequestParams
|
1253
|
+
# Type of registration to be created in `country`.
|
1254
|
+
attr_accessor :type
|
1255
|
+
|
1256
|
+
def initialize(type: nil)
|
1257
|
+
@type = type
|
1258
|
+
end
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
class Gn < Stripe::RequestParams
|
1262
|
+
# Type of registration to be created in `country`.
|
1263
|
+
attr_accessor :type
|
1264
|
+
|
1265
|
+
def initialize(type: nil)
|
1266
|
+
@type = type
|
1267
|
+
end
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
class Gr < Stripe::RequestParams
|
1271
|
+
class Standard < Stripe::RequestParams
|
1272
|
+
# Place of supply scheme used in an EU standard registration.
|
1273
|
+
attr_accessor :place_of_supply_scheme
|
1274
|
+
|
1275
|
+
def initialize(place_of_supply_scheme: nil)
|
1276
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1277
|
+
end
|
1278
|
+
end
|
1279
|
+
# Options for the standard registration.
|
1280
|
+
attr_accessor :standard
|
1281
|
+
# Type of registration to be created in an EU country.
|
1282
|
+
attr_accessor :type
|
1283
|
+
|
1284
|
+
def initialize(standard: nil, type: nil)
|
1285
|
+
@standard = standard
|
1286
|
+
@type = type
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
class Hr < Stripe::RequestParams
|
1291
|
+
class Standard < Stripe::RequestParams
|
1292
|
+
# Place of supply scheme used in an EU standard registration.
|
1293
|
+
attr_accessor :place_of_supply_scheme
|
1294
|
+
|
1295
|
+
def initialize(place_of_supply_scheme: nil)
|
1296
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1297
|
+
end
|
1298
|
+
end
|
1299
|
+
# Options for the standard registration.
|
1300
|
+
attr_accessor :standard
|
1301
|
+
# Type of registration to be created in an EU country.
|
1302
|
+
attr_accessor :type
|
1303
|
+
|
1304
|
+
def initialize(standard: nil, type: nil)
|
1305
|
+
@standard = standard
|
1306
|
+
@type = type
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
class Hu < Stripe::RequestParams
|
1311
|
+
class Standard < Stripe::RequestParams
|
1312
|
+
# Place of supply scheme used in an EU standard registration.
|
1313
|
+
attr_accessor :place_of_supply_scheme
|
1314
|
+
|
1315
|
+
def initialize(place_of_supply_scheme: nil)
|
1316
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1317
|
+
end
|
1318
|
+
end
|
1319
|
+
# Options for the standard registration.
|
1320
|
+
attr_accessor :standard
|
1321
|
+
# Type of registration to be created in an EU country.
|
1322
|
+
attr_accessor :type
|
1323
|
+
|
1324
|
+
def initialize(standard: nil, type: nil)
|
1325
|
+
@standard = standard
|
1326
|
+
@type = type
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
class Id < Stripe::RequestParams
|
1331
|
+
# Type of registration to be created in `country`.
|
1332
|
+
attr_accessor :type
|
1333
|
+
|
1334
|
+
def initialize(type: nil)
|
1335
|
+
@type = type
|
1336
|
+
end
|
1337
|
+
end
|
1338
|
+
|
1339
|
+
class Ie < Stripe::RequestParams
|
1340
|
+
class Standard < Stripe::RequestParams
|
1341
|
+
# Place of supply scheme used in an EU standard registration.
|
1342
|
+
attr_accessor :place_of_supply_scheme
|
1343
|
+
|
1344
|
+
def initialize(place_of_supply_scheme: nil)
|
1345
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1346
|
+
end
|
1347
|
+
end
|
1348
|
+
# Options for the standard registration.
|
1349
|
+
attr_accessor :standard
|
1350
|
+
# Type of registration to be created in an EU country.
|
1351
|
+
attr_accessor :type
|
1352
|
+
|
1353
|
+
def initialize(standard: nil, type: nil)
|
1354
|
+
@standard = standard
|
1355
|
+
@type = type
|
1356
|
+
end
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
class Is < Stripe::RequestParams
|
1360
|
+
# Type of registration to be created in `country`.
|
1361
|
+
attr_accessor :type
|
1362
|
+
|
1363
|
+
def initialize(type: nil)
|
1364
|
+
@type = type
|
1365
|
+
end
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
class It < Stripe::RequestParams
|
1369
|
+
class Standard < Stripe::RequestParams
|
1370
|
+
# Place of supply scheme used in an EU standard registration.
|
1371
|
+
attr_accessor :place_of_supply_scheme
|
1372
|
+
|
1373
|
+
def initialize(place_of_supply_scheme: nil)
|
1374
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
# Options for the standard registration.
|
1378
|
+
attr_accessor :standard
|
1379
|
+
# Type of registration to be created in an EU country.
|
1380
|
+
attr_accessor :type
|
1381
|
+
|
1382
|
+
def initialize(standard: nil, type: nil)
|
1383
|
+
@standard = standard
|
1384
|
+
@type = type
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
class Jp < Stripe::RequestParams
|
1389
|
+
# Type of registration to be created in `country`.
|
1390
|
+
attr_accessor :type
|
1391
|
+
|
1392
|
+
def initialize(type: nil)
|
1393
|
+
@type = type
|
1394
|
+
end
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
class Ke < Stripe::RequestParams
|
1398
|
+
# Type of registration to be created in `country`.
|
1399
|
+
attr_accessor :type
|
1400
|
+
|
1401
|
+
def initialize(type: nil)
|
1402
|
+
@type = type
|
1403
|
+
end
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
class Kh < Stripe::RequestParams
|
1407
|
+
# Type of registration to be created in `country`.
|
1408
|
+
attr_accessor :type
|
1409
|
+
|
1410
|
+
def initialize(type: nil)
|
1411
|
+
@type = type
|
1412
|
+
end
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
class Kr < Stripe::RequestParams
|
1416
|
+
# Type of registration to be created in `country`.
|
1417
|
+
attr_accessor :type
|
1418
|
+
|
1419
|
+
def initialize(type: nil)
|
1420
|
+
@type = type
|
1421
|
+
end
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
class Kz < Stripe::RequestParams
|
1425
|
+
# Type of registration to be created in `country`.
|
1426
|
+
attr_accessor :type
|
1427
|
+
|
1428
|
+
def initialize(type: nil)
|
1429
|
+
@type = type
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
class Lt < Stripe::RequestParams
|
1434
|
+
class Standard < Stripe::RequestParams
|
1435
|
+
# Place of supply scheme used in an EU standard registration.
|
1436
|
+
attr_accessor :place_of_supply_scheme
|
1437
|
+
|
1438
|
+
def initialize(place_of_supply_scheme: nil)
|
1439
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1440
|
+
end
|
1441
|
+
end
|
1442
|
+
# Options for the standard registration.
|
1443
|
+
attr_accessor :standard
|
1444
|
+
# Type of registration to be created in an EU country.
|
1445
|
+
attr_accessor :type
|
1446
|
+
|
1447
|
+
def initialize(standard: nil, type: nil)
|
1448
|
+
@standard = standard
|
1449
|
+
@type = type
|
1450
|
+
end
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
class Lu < Stripe::RequestParams
|
1454
|
+
class Standard < Stripe::RequestParams
|
1455
|
+
# Place of supply scheme used in an EU standard registration.
|
1456
|
+
attr_accessor :place_of_supply_scheme
|
1457
|
+
|
1458
|
+
def initialize(place_of_supply_scheme: nil)
|
1459
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1460
|
+
end
|
1461
|
+
end
|
1462
|
+
# Options for the standard registration.
|
1463
|
+
attr_accessor :standard
|
1464
|
+
# Type of registration to be created in an EU country.
|
1465
|
+
attr_accessor :type
|
1466
|
+
|
1467
|
+
def initialize(standard: nil, type: nil)
|
1468
|
+
@standard = standard
|
1469
|
+
@type = type
|
1470
|
+
end
|
1471
|
+
end
|
1472
|
+
|
1473
|
+
class Lv < Stripe::RequestParams
|
1474
|
+
class Standard < Stripe::RequestParams
|
1475
|
+
# Place of supply scheme used in an EU standard registration.
|
1476
|
+
attr_accessor :place_of_supply_scheme
|
1477
|
+
|
1478
|
+
def initialize(place_of_supply_scheme: nil)
|
1479
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1480
|
+
end
|
1481
|
+
end
|
1482
|
+
# Options for the standard registration.
|
1483
|
+
attr_accessor :standard
|
1484
|
+
# Type of registration to be created in an EU country.
|
1485
|
+
attr_accessor :type
|
1486
|
+
|
1487
|
+
def initialize(standard: nil, type: nil)
|
1488
|
+
@standard = standard
|
1489
|
+
@type = type
|
1490
|
+
end
|
1491
|
+
end
|
1492
|
+
|
1493
|
+
class Ma < Stripe::RequestParams
|
1494
|
+
# Type of registration to be created in `country`.
|
1495
|
+
attr_accessor :type
|
1496
|
+
|
1497
|
+
def initialize(type: nil)
|
1498
|
+
@type = type
|
1499
|
+
end
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
class Md < Stripe::RequestParams
|
1503
|
+
# Type of registration to be created in `country`.
|
1504
|
+
attr_accessor :type
|
1505
|
+
|
1506
|
+
def initialize(type: nil)
|
1507
|
+
@type = type
|
1508
|
+
end
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
class Me < Stripe::RequestParams
|
1512
|
+
# Type of registration to be created in `country`.
|
1513
|
+
attr_accessor :type
|
1514
|
+
|
1515
|
+
def initialize(type: nil)
|
1516
|
+
@type = type
|
1517
|
+
end
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
class Mk < Stripe::RequestParams
|
1521
|
+
# Type of registration to be created in `country`.
|
1522
|
+
attr_accessor :type
|
1523
|
+
|
1524
|
+
def initialize(type: nil)
|
1525
|
+
@type = type
|
1526
|
+
end
|
1527
|
+
end
|
1528
|
+
|
1529
|
+
class Mr < Stripe::RequestParams
|
1530
|
+
# Type of registration to be created in `country`.
|
1531
|
+
attr_accessor :type
|
1532
|
+
|
1533
|
+
def initialize(type: nil)
|
1534
|
+
@type = type
|
1535
|
+
end
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
class Mt < Stripe::RequestParams
|
1539
|
+
class Standard < Stripe::RequestParams
|
1540
|
+
# Place of supply scheme used in an EU standard registration.
|
1541
|
+
attr_accessor :place_of_supply_scheme
|
1542
|
+
|
1543
|
+
def initialize(place_of_supply_scheme: nil)
|
1544
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1545
|
+
end
|
1546
|
+
end
|
1547
|
+
# Options for the standard registration.
|
1548
|
+
attr_accessor :standard
|
1549
|
+
# Type of registration to be created in an EU country.
|
1550
|
+
attr_accessor :type
|
1551
|
+
|
1552
|
+
def initialize(standard: nil, type: nil)
|
1553
|
+
@standard = standard
|
1554
|
+
@type = type
|
1555
|
+
end
|
1556
|
+
end
|
1557
|
+
|
1558
|
+
class Mx < Stripe::RequestParams
|
1559
|
+
# Type of registration to be created in `country`.
|
1560
|
+
attr_accessor :type
|
1561
|
+
|
1562
|
+
def initialize(type: nil)
|
1563
|
+
@type = type
|
1564
|
+
end
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
class My < Stripe::RequestParams
|
1568
|
+
# Type of registration to be created in `country`.
|
1569
|
+
attr_accessor :type
|
1570
|
+
|
1571
|
+
def initialize(type: nil)
|
1572
|
+
@type = type
|
1573
|
+
end
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
class Ng < Stripe::RequestParams
|
1577
|
+
# Type of registration to be created in `country`.
|
1578
|
+
attr_accessor :type
|
1579
|
+
|
1580
|
+
def initialize(type: nil)
|
1581
|
+
@type = type
|
1582
|
+
end
|
1583
|
+
end
|
1584
|
+
|
1585
|
+
class Nl < Stripe::RequestParams
|
1586
|
+
class Standard < Stripe::RequestParams
|
1587
|
+
# Place of supply scheme used in an EU standard registration.
|
1588
|
+
attr_accessor :place_of_supply_scheme
|
1589
|
+
|
1590
|
+
def initialize(place_of_supply_scheme: nil)
|
1591
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1592
|
+
end
|
1593
|
+
end
|
1594
|
+
# Options for the standard registration.
|
1595
|
+
attr_accessor :standard
|
1596
|
+
# Type of registration to be created in an EU country.
|
1597
|
+
attr_accessor :type
|
1598
|
+
|
1599
|
+
def initialize(standard: nil, type: nil)
|
1600
|
+
@standard = standard
|
1601
|
+
@type = type
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
class No < Stripe::RequestParams
|
1606
|
+
# Type of registration to be created in `country`.
|
1607
|
+
attr_accessor :type
|
1608
|
+
|
1609
|
+
def initialize(type: nil)
|
1610
|
+
@type = type
|
1611
|
+
end
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
class Np < Stripe::RequestParams
|
1615
|
+
# Type of registration to be created in `country`.
|
1616
|
+
attr_accessor :type
|
1617
|
+
|
1618
|
+
def initialize(type: nil)
|
1619
|
+
@type = type
|
1620
|
+
end
|
1621
|
+
end
|
1622
|
+
|
1623
|
+
class Nz < Stripe::RequestParams
|
1624
|
+
# Type of registration to be created in `country`.
|
1625
|
+
attr_accessor :type
|
1626
|
+
|
1627
|
+
def initialize(type: nil)
|
1628
|
+
@type = type
|
1629
|
+
end
|
1630
|
+
end
|
1631
|
+
|
1632
|
+
class Om < Stripe::RequestParams
|
1633
|
+
# Type of registration to be created in `country`.
|
1634
|
+
attr_accessor :type
|
1635
|
+
|
1636
|
+
def initialize(type: nil)
|
1637
|
+
@type = type
|
1638
|
+
end
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
class Pe < Stripe::RequestParams
|
1642
|
+
# Type of registration to be created in `country`.
|
1643
|
+
attr_accessor :type
|
1644
|
+
|
1645
|
+
def initialize(type: nil)
|
1646
|
+
@type = type
|
1647
|
+
end
|
1648
|
+
end
|
1649
|
+
|
1650
|
+
class Pl < Stripe::RequestParams
|
1651
|
+
class Standard < Stripe::RequestParams
|
1652
|
+
# Place of supply scheme used in an EU standard registration.
|
1653
|
+
attr_accessor :place_of_supply_scheme
|
1654
|
+
|
1655
|
+
def initialize(place_of_supply_scheme: nil)
|
1656
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1657
|
+
end
|
1658
|
+
end
|
1659
|
+
# Options for the standard registration.
|
1660
|
+
attr_accessor :standard
|
1661
|
+
# Type of registration to be created in an EU country.
|
1662
|
+
attr_accessor :type
|
1663
|
+
|
1664
|
+
def initialize(standard: nil, type: nil)
|
1665
|
+
@standard = standard
|
1666
|
+
@type = type
|
1667
|
+
end
|
1668
|
+
end
|
1669
|
+
|
1670
|
+
class Pt < Stripe::RequestParams
|
1671
|
+
class Standard < Stripe::RequestParams
|
1672
|
+
# Place of supply scheme used in an EU standard registration.
|
1673
|
+
attr_accessor :place_of_supply_scheme
|
1674
|
+
|
1675
|
+
def initialize(place_of_supply_scheme: nil)
|
1676
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1677
|
+
end
|
1678
|
+
end
|
1679
|
+
# Options for the standard registration.
|
1680
|
+
attr_accessor :standard
|
1681
|
+
# Type of registration to be created in an EU country.
|
1682
|
+
attr_accessor :type
|
1683
|
+
|
1684
|
+
def initialize(standard: nil, type: nil)
|
1685
|
+
@standard = standard
|
1686
|
+
@type = type
|
1687
|
+
end
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
class Ro < Stripe::RequestParams
|
1691
|
+
class Standard < Stripe::RequestParams
|
1692
|
+
# Place of supply scheme used in an EU standard registration.
|
1693
|
+
attr_accessor :place_of_supply_scheme
|
1694
|
+
|
1695
|
+
def initialize(place_of_supply_scheme: nil)
|
1696
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1697
|
+
end
|
1698
|
+
end
|
1699
|
+
# Options for the standard registration.
|
1700
|
+
attr_accessor :standard
|
1701
|
+
# Type of registration to be created in an EU country.
|
1702
|
+
attr_accessor :type
|
1703
|
+
|
1704
|
+
def initialize(standard: nil, type: nil)
|
1705
|
+
@standard = standard
|
1706
|
+
@type = type
|
1707
|
+
end
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
class Rs < Stripe::RequestParams
|
1711
|
+
# Type of registration to be created in `country`.
|
1712
|
+
attr_accessor :type
|
1713
|
+
|
1714
|
+
def initialize(type: nil)
|
1715
|
+
@type = type
|
1716
|
+
end
|
1717
|
+
end
|
1718
|
+
|
1719
|
+
class Ru < Stripe::RequestParams
|
1720
|
+
# Type of registration to be created in `country`.
|
1721
|
+
attr_accessor :type
|
1722
|
+
|
1723
|
+
def initialize(type: nil)
|
1724
|
+
@type = type
|
1725
|
+
end
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
class Sa < Stripe::RequestParams
|
1729
|
+
# Type of registration to be created in `country`.
|
1730
|
+
attr_accessor :type
|
1731
|
+
|
1732
|
+
def initialize(type: nil)
|
1733
|
+
@type = type
|
1734
|
+
end
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
class Se < Stripe::RequestParams
|
1738
|
+
class Standard < Stripe::RequestParams
|
1739
|
+
# Place of supply scheme used in an EU standard registration.
|
1740
|
+
attr_accessor :place_of_supply_scheme
|
1741
|
+
|
1742
|
+
def initialize(place_of_supply_scheme: nil)
|
1743
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
# Options for the standard registration.
|
1747
|
+
attr_accessor :standard
|
1748
|
+
# Type of registration to be created in an EU country.
|
1749
|
+
attr_accessor :type
|
1750
|
+
|
1751
|
+
def initialize(standard: nil, type: nil)
|
1752
|
+
@standard = standard
|
1753
|
+
@type = type
|
1754
|
+
end
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
class Sg < Stripe::RequestParams
|
1758
|
+
# Type of registration to be created in `country`.
|
1759
|
+
attr_accessor :type
|
1760
|
+
|
1761
|
+
def initialize(type: nil)
|
1762
|
+
@type = type
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
class Si < Stripe::RequestParams
|
1767
|
+
class Standard < Stripe::RequestParams
|
1768
|
+
# Place of supply scheme used in an EU standard registration.
|
1769
|
+
attr_accessor :place_of_supply_scheme
|
1770
|
+
|
1771
|
+
def initialize(place_of_supply_scheme: nil)
|
1772
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1773
|
+
end
|
1774
|
+
end
|
1775
|
+
# Options for the standard registration.
|
1776
|
+
attr_accessor :standard
|
1777
|
+
# Type of registration to be created in an EU country.
|
1778
|
+
attr_accessor :type
|
1779
|
+
|
1780
|
+
def initialize(standard: nil, type: nil)
|
1781
|
+
@standard = standard
|
1782
|
+
@type = type
|
1783
|
+
end
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
class Sk < Stripe::RequestParams
|
1787
|
+
class Standard < Stripe::RequestParams
|
1788
|
+
# Place of supply scheme used in an EU standard registration.
|
1789
|
+
attr_accessor :place_of_supply_scheme
|
1790
|
+
|
1791
|
+
def initialize(place_of_supply_scheme: nil)
|
1792
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1793
|
+
end
|
1794
|
+
end
|
1795
|
+
# Options for the standard registration.
|
1796
|
+
attr_accessor :standard
|
1797
|
+
# Type of registration to be created in an EU country.
|
1798
|
+
attr_accessor :type
|
1799
|
+
|
1800
|
+
def initialize(standard: nil, type: nil)
|
1801
|
+
@standard = standard
|
1802
|
+
@type = type
|
1803
|
+
end
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
class Sn < Stripe::RequestParams
|
1807
|
+
# Type of registration to be created in `country`.
|
1808
|
+
attr_accessor :type
|
1809
|
+
|
1810
|
+
def initialize(type: nil)
|
1811
|
+
@type = type
|
1812
|
+
end
|
1813
|
+
end
|
1814
|
+
|
1815
|
+
class Sr < Stripe::RequestParams
|
1816
|
+
# Type of registration to be created in `country`.
|
1817
|
+
attr_accessor :type
|
1818
|
+
|
1819
|
+
def initialize(type: nil)
|
1820
|
+
@type = type
|
1821
|
+
end
|
1822
|
+
end
|
1823
|
+
|
1824
|
+
class Th < Stripe::RequestParams
|
1825
|
+
# Type of registration to be created in `country`.
|
1826
|
+
attr_accessor :type
|
1827
|
+
|
1828
|
+
def initialize(type: nil)
|
1829
|
+
@type = type
|
1830
|
+
end
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
class Tj < Stripe::RequestParams
|
1834
|
+
# Type of registration to be created in `country`.
|
1835
|
+
attr_accessor :type
|
1836
|
+
|
1837
|
+
def initialize(type: nil)
|
1838
|
+
@type = type
|
1839
|
+
end
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
class Tr < Stripe::RequestParams
|
1843
|
+
# Type of registration to be created in `country`.
|
1844
|
+
attr_accessor :type
|
1845
|
+
|
1846
|
+
def initialize(type: nil)
|
1847
|
+
@type = type
|
1848
|
+
end
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
class Tz < Stripe::RequestParams
|
1852
|
+
# Type of registration to be created in `country`.
|
1853
|
+
attr_accessor :type
|
1854
|
+
|
1855
|
+
def initialize(type: nil)
|
1856
|
+
@type = type
|
1857
|
+
end
|
1858
|
+
end
|
1859
|
+
|
1860
|
+
class Ug < Stripe::RequestParams
|
1861
|
+
# Type of registration to be created in `country`.
|
1862
|
+
attr_accessor :type
|
1863
|
+
|
1864
|
+
def initialize(type: nil)
|
1865
|
+
@type = type
|
1866
|
+
end
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
class Us < Stripe::RequestParams
|
1870
|
+
class LocalAmusementTax < Stripe::RequestParams
|
1871
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), and `68081` (Schiller Park).
|
1872
|
+
attr_accessor :jurisdiction
|
1873
|
+
|
1874
|
+
def initialize(jurisdiction: nil)
|
1875
|
+
@jurisdiction = jurisdiction
|
1876
|
+
end
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
class LocalLeaseTax < Stripe::RequestParams
|
1880
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago).
|
1881
|
+
attr_accessor :jurisdiction
|
1882
|
+
|
1883
|
+
def initialize(jurisdiction: nil)
|
1884
|
+
@jurisdiction = jurisdiction
|
1885
|
+
end
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
class StateSalesTax < Stripe::RequestParams
|
1889
|
+
class Election < Stripe::RequestParams
|
1890
|
+
# 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).
|
1891
|
+
attr_accessor :jurisdiction
|
1892
|
+
# The type of the election for the state sales tax registration.
|
1893
|
+
attr_accessor :type
|
1894
|
+
|
1895
|
+
def initialize(jurisdiction: nil, type: nil)
|
1896
|
+
@jurisdiction = jurisdiction
|
1897
|
+
@type = type
|
1898
|
+
end
|
1899
|
+
end
|
1900
|
+
# Elections for the state sales tax registration.
|
1901
|
+
attr_accessor :elections
|
1902
|
+
|
1903
|
+
def initialize(elections: nil)
|
1904
|
+
@elections = elections
|
1905
|
+
end
|
1906
|
+
end
|
1907
|
+
# Options for the local amusement tax registration.
|
1908
|
+
attr_accessor :local_amusement_tax
|
1909
|
+
# Options for the local lease tax registration.
|
1910
|
+
attr_accessor :local_lease_tax
|
1911
|
+
# Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
1912
|
+
attr_accessor :state
|
1913
|
+
# Options for the state sales tax registration.
|
1914
|
+
attr_accessor :state_sales_tax
|
1915
|
+
# Type of registration to be created in the US.
|
1916
|
+
attr_accessor :type
|
1917
|
+
|
1918
|
+
def initialize(
|
1919
|
+
local_amusement_tax: nil,
|
1920
|
+
local_lease_tax: nil,
|
1921
|
+
state: nil,
|
1922
|
+
state_sales_tax: nil,
|
1923
|
+
type: nil
|
1924
|
+
)
|
1925
|
+
@local_amusement_tax = local_amusement_tax
|
1926
|
+
@local_lease_tax = local_lease_tax
|
1927
|
+
@state = state
|
1928
|
+
@state_sales_tax = state_sales_tax
|
1929
|
+
@type = type
|
1930
|
+
end
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
class Uy < Stripe::RequestParams
|
1934
|
+
# Type of registration to be created in `country`.
|
1935
|
+
attr_accessor :type
|
1936
|
+
|
1937
|
+
def initialize(type: nil)
|
1938
|
+
@type = type
|
1939
|
+
end
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
class Uz < Stripe::RequestParams
|
1943
|
+
# Type of registration to be created in `country`.
|
1944
|
+
attr_accessor :type
|
1945
|
+
|
1946
|
+
def initialize(type: nil)
|
1947
|
+
@type = type
|
1948
|
+
end
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
class Vn < Stripe::RequestParams
|
1952
|
+
# Type of registration to be created in `country`.
|
1953
|
+
attr_accessor :type
|
1954
|
+
|
1955
|
+
def initialize(type: nil)
|
1956
|
+
@type = type
|
1957
|
+
end
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
class Za < Stripe::RequestParams
|
1961
|
+
# Type of registration to be created in `country`.
|
1962
|
+
attr_accessor :type
|
1963
|
+
|
1964
|
+
def initialize(type: nil)
|
1965
|
+
@type = type
|
1966
|
+
end
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
class Zm < Stripe::RequestParams
|
1970
|
+
# Type of registration to be created in `country`.
|
1971
|
+
attr_accessor :type
|
1972
|
+
|
1973
|
+
def initialize(type: nil)
|
1974
|
+
@type = type
|
1975
|
+
end
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
class Zw < Stripe::RequestParams
|
1979
|
+
# Type of registration to be created in `country`.
|
1980
|
+
attr_accessor :type
|
1981
|
+
|
1982
|
+
def initialize(type: nil)
|
1983
|
+
@type = type
|
1984
|
+
end
|
1985
|
+
end
|
1986
|
+
# Options for the registration in AE.
|
1987
|
+
attr_accessor :ae
|
1988
|
+
# Options for the registration in AL.
|
1989
|
+
attr_accessor :al
|
1990
|
+
# Options for the registration in AM.
|
1991
|
+
attr_accessor :am
|
1992
|
+
# Options for the registration in AO.
|
1993
|
+
attr_accessor :ao
|
1994
|
+
# Options for the registration in AT.
|
1995
|
+
attr_accessor :at
|
1996
|
+
# Options for the registration in AU.
|
1997
|
+
attr_accessor :au
|
1998
|
+
# Options for the registration in BA.
|
1999
|
+
attr_accessor :ba
|
2000
|
+
# Options for the registration in BB.
|
2001
|
+
attr_accessor :bb
|
2002
|
+
# Options for the registration in BE.
|
2003
|
+
attr_accessor :be
|
2004
|
+
# Options for the registration in BG.
|
2005
|
+
attr_accessor :bg
|
2006
|
+
# Options for the registration in BH.
|
2007
|
+
attr_accessor :bh
|
2008
|
+
# Options for the registration in BS.
|
2009
|
+
attr_accessor :bs
|
2010
|
+
# Options for the registration in BY.
|
2011
|
+
attr_accessor :by
|
2012
|
+
# Options for the registration in CA.
|
2013
|
+
attr_accessor :ca
|
2014
|
+
# Options for the registration in CD.
|
2015
|
+
attr_accessor :cd
|
2016
|
+
# Options for the registration in CH.
|
2017
|
+
attr_accessor :ch
|
2018
|
+
# Options for the registration in CL.
|
2019
|
+
attr_accessor :cl
|
2020
|
+
# Options for the registration in CO.
|
2021
|
+
attr_accessor :co
|
2022
|
+
# Options for the registration in CR.
|
2023
|
+
attr_accessor :cr
|
2024
|
+
# Options for the registration in CY.
|
2025
|
+
attr_accessor :cy
|
2026
|
+
# Options for the registration in CZ.
|
2027
|
+
attr_accessor :cz
|
2028
|
+
# Options for the registration in DE.
|
2029
|
+
attr_accessor :de
|
2030
|
+
# Options for the registration in DK.
|
2031
|
+
attr_accessor :dk
|
2032
|
+
# Options for the registration in EC.
|
2033
|
+
attr_accessor :ec
|
2034
|
+
# Options for the registration in EE.
|
2035
|
+
attr_accessor :ee
|
2036
|
+
# Options for the registration in EG.
|
2037
|
+
attr_accessor :eg
|
2038
|
+
# Options for the registration in ES.
|
2039
|
+
attr_accessor :es
|
2040
|
+
# Options for the registration in FI.
|
2041
|
+
attr_accessor :fi
|
2042
|
+
# Options for the registration in FR.
|
2043
|
+
attr_accessor :fr
|
2044
|
+
# Options for the registration in GB.
|
2045
|
+
attr_accessor :gb
|
2046
|
+
# Options for the registration in GE.
|
2047
|
+
attr_accessor :ge
|
2048
|
+
# Options for the registration in GN.
|
2049
|
+
attr_accessor :gn
|
2050
|
+
# Options for the registration in GR.
|
2051
|
+
attr_accessor :gr
|
2052
|
+
# Options for the registration in HR.
|
2053
|
+
attr_accessor :hr
|
2054
|
+
# Options for the registration in HU.
|
2055
|
+
attr_accessor :hu
|
2056
|
+
# Options for the registration in ID.
|
2057
|
+
attr_accessor :id
|
2058
|
+
# Options for the registration in IE.
|
2059
|
+
attr_accessor :ie
|
2060
|
+
# Options for the registration in IS.
|
2061
|
+
attr_accessor :is
|
2062
|
+
# Options for the registration in IT.
|
2063
|
+
attr_accessor :it
|
2064
|
+
# Options for the registration in JP.
|
2065
|
+
attr_accessor :jp
|
2066
|
+
# Options for the registration in KE.
|
2067
|
+
attr_accessor :ke
|
2068
|
+
# Options for the registration in KH.
|
2069
|
+
attr_accessor :kh
|
2070
|
+
# Options for the registration in KR.
|
2071
|
+
attr_accessor :kr
|
2072
|
+
# Options for the registration in KZ.
|
2073
|
+
attr_accessor :kz
|
2074
|
+
# Options for the registration in LT.
|
2075
|
+
attr_accessor :lt
|
2076
|
+
# Options for the registration in LU.
|
2077
|
+
attr_accessor :lu
|
2078
|
+
# Options for the registration in LV.
|
2079
|
+
attr_accessor :lv
|
2080
|
+
# Options for the registration in MA.
|
2081
|
+
attr_accessor :ma
|
2082
|
+
# Options for the registration in MD.
|
2083
|
+
attr_accessor :md
|
2084
|
+
# Options for the registration in ME.
|
2085
|
+
attr_accessor :me
|
2086
|
+
# Options for the registration in MK.
|
2087
|
+
attr_accessor :mk
|
2088
|
+
# Options for the registration in MR.
|
2089
|
+
attr_accessor :mr
|
2090
|
+
# Options for the registration in MT.
|
2091
|
+
attr_accessor :mt
|
2092
|
+
# Options for the registration in MX.
|
2093
|
+
attr_accessor :mx
|
2094
|
+
# Options for the registration in MY.
|
2095
|
+
attr_accessor :my
|
2096
|
+
# Options for the registration in NG.
|
2097
|
+
attr_accessor :ng
|
2098
|
+
# Options for the registration in NL.
|
2099
|
+
attr_accessor :nl
|
2100
|
+
# Options for the registration in NO.
|
2101
|
+
attr_accessor :no
|
2102
|
+
# Options for the registration in NP.
|
2103
|
+
attr_accessor :np
|
2104
|
+
# Options for the registration in NZ.
|
2105
|
+
attr_accessor :nz
|
2106
|
+
# Options for the registration in OM.
|
2107
|
+
attr_accessor :om
|
2108
|
+
# Options for the registration in PE.
|
2109
|
+
attr_accessor :pe
|
2110
|
+
# Options for the registration in PL.
|
2111
|
+
attr_accessor :pl
|
2112
|
+
# Options for the registration in PT.
|
2113
|
+
attr_accessor :pt
|
2114
|
+
# Options for the registration in RO.
|
2115
|
+
attr_accessor :ro
|
2116
|
+
# Options for the registration in RS.
|
2117
|
+
attr_accessor :rs
|
2118
|
+
# Options for the registration in RU.
|
2119
|
+
attr_accessor :ru
|
2120
|
+
# Options for the registration in SA.
|
2121
|
+
attr_accessor :sa
|
2122
|
+
# Options for the registration in SE.
|
2123
|
+
attr_accessor :se
|
2124
|
+
# Options for the registration in SG.
|
2125
|
+
attr_accessor :sg
|
2126
|
+
# Options for the registration in SI.
|
2127
|
+
attr_accessor :si
|
2128
|
+
# Options for the registration in SK.
|
2129
|
+
attr_accessor :sk
|
2130
|
+
# Options for the registration in SN.
|
2131
|
+
attr_accessor :sn
|
2132
|
+
# Options for the registration in SR.
|
2133
|
+
attr_accessor :sr
|
2134
|
+
# Options for the registration in TH.
|
2135
|
+
attr_accessor :th
|
2136
|
+
# Options for the registration in TJ.
|
2137
|
+
attr_accessor :tj
|
2138
|
+
# Options for the registration in TR.
|
2139
|
+
attr_accessor :tr
|
2140
|
+
# Options for the registration in TZ.
|
2141
|
+
attr_accessor :tz
|
2142
|
+
# Options for the registration in UG.
|
2143
|
+
attr_accessor :ug
|
2144
|
+
# Options for the registration in US.
|
2145
|
+
attr_accessor :us
|
2146
|
+
# Options for the registration in UY.
|
2147
|
+
attr_accessor :uy
|
2148
|
+
# Options for the registration in UZ.
|
2149
|
+
attr_accessor :uz
|
2150
|
+
# Options for the registration in VN.
|
2151
|
+
attr_accessor :vn
|
2152
|
+
# Options for the registration in ZA.
|
2153
|
+
attr_accessor :za
|
2154
|
+
# Options for the registration in ZM.
|
2155
|
+
attr_accessor :zm
|
2156
|
+
# Options for the registration in ZW.
|
2157
|
+
attr_accessor :zw
|
2158
|
+
|
2159
|
+
def initialize(
|
2160
|
+
ae: nil,
|
2161
|
+
al: nil,
|
2162
|
+
am: nil,
|
2163
|
+
ao: nil,
|
2164
|
+
at: nil,
|
2165
|
+
au: nil,
|
2166
|
+
ba: nil,
|
2167
|
+
bb: nil,
|
2168
|
+
be: nil,
|
2169
|
+
bg: nil,
|
2170
|
+
bh: nil,
|
2171
|
+
bs: nil,
|
2172
|
+
by: nil,
|
2173
|
+
ca: nil,
|
2174
|
+
cd: nil,
|
2175
|
+
ch: nil,
|
2176
|
+
cl: nil,
|
2177
|
+
co: nil,
|
2178
|
+
cr: nil,
|
2179
|
+
cy: nil,
|
2180
|
+
cz: nil,
|
2181
|
+
de: nil,
|
2182
|
+
dk: nil,
|
2183
|
+
ec: nil,
|
2184
|
+
ee: nil,
|
2185
|
+
eg: nil,
|
2186
|
+
es: nil,
|
2187
|
+
fi: nil,
|
2188
|
+
fr: nil,
|
2189
|
+
gb: nil,
|
2190
|
+
ge: nil,
|
2191
|
+
gn: nil,
|
2192
|
+
gr: nil,
|
2193
|
+
hr: nil,
|
2194
|
+
hu: nil,
|
2195
|
+
id: nil,
|
2196
|
+
ie: nil,
|
2197
|
+
is: nil,
|
2198
|
+
it: nil,
|
2199
|
+
jp: nil,
|
2200
|
+
ke: nil,
|
2201
|
+
kh: nil,
|
2202
|
+
kr: nil,
|
2203
|
+
kz: nil,
|
2204
|
+
lt: nil,
|
2205
|
+
lu: nil,
|
2206
|
+
lv: nil,
|
2207
|
+
ma: nil,
|
2208
|
+
md: nil,
|
2209
|
+
me: nil,
|
2210
|
+
mk: nil,
|
2211
|
+
mr: nil,
|
2212
|
+
mt: nil,
|
2213
|
+
mx: nil,
|
2214
|
+
my: nil,
|
2215
|
+
ng: nil,
|
2216
|
+
nl: nil,
|
2217
|
+
no: nil,
|
2218
|
+
np: nil,
|
2219
|
+
nz: nil,
|
2220
|
+
om: nil,
|
2221
|
+
pe: nil,
|
2222
|
+
pl: nil,
|
2223
|
+
pt: nil,
|
2224
|
+
ro: nil,
|
2225
|
+
rs: nil,
|
2226
|
+
ru: nil,
|
2227
|
+
sa: nil,
|
2228
|
+
se: nil,
|
2229
|
+
sg: nil,
|
2230
|
+
si: nil,
|
2231
|
+
sk: nil,
|
2232
|
+
sn: nil,
|
2233
|
+
sr: nil,
|
2234
|
+
th: nil,
|
2235
|
+
tj: nil,
|
2236
|
+
tr: nil,
|
2237
|
+
tz: nil,
|
2238
|
+
ug: nil,
|
2239
|
+
us: nil,
|
2240
|
+
uy: nil,
|
2241
|
+
uz: nil,
|
2242
|
+
vn: nil,
|
2243
|
+
za: nil,
|
2244
|
+
zm: nil,
|
2245
|
+
zw: nil
|
2246
|
+
)
|
2247
|
+
@ae = ae
|
2248
|
+
@al = al
|
2249
|
+
@am = am
|
2250
|
+
@ao = ao
|
2251
|
+
@at = at
|
2252
|
+
@au = au
|
2253
|
+
@ba = ba
|
2254
|
+
@bb = bb
|
2255
|
+
@be = be
|
2256
|
+
@bg = bg
|
2257
|
+
@bh = bh
|
2258
|
+
@bs = bs
|
2259
|
+
@by = by
|
2260
|
+
@ca = ca
|
2261
|
+
@cd = cd
|
2262
|
+
@ch = ch
|
2263
|
+
@cl = cl
|
2264
|
+
@co = co
|
2265
|
+
@cr = cr
|
2266
|
+
@cy = cy
|
2267
|
+
@cz = cz
|
2268
|
+
@de = de
|
2269
|
+
@dk = dk
|
2270
|
+
@ec = ec
|
2271
|
+
@ee = ee
|
2272
|
+
@eg = eg
|
2273
|
+
@es = es
|
2274
|
+
@fi = fi
|
2275
|
+
@fr = fr
|
2276
|
+
@gb = gb
|
2277
|
+
@ge = ge
|
2278
|
+
@gn = gn
|
2279
|
+
@gr = gr
|
2280
|
+
@hr = hr
|
2281
|
+
@hu = hu
|
2282
|
+
@id = id
|
2283
|
+
@ie = ie
|
2284
|
+
@is = is
|
2285
|
+
@it = it
|
2286
|
+
@jp = jp
|
2287
|
+
@ke = ke
|
2288
|
+
@kh = kh
|
2289
|
+
@kr = kr
|
2290
|
+
@kz = kz
|
2291
|
+
@lt = lt
|
2292
|
+
@lu = lu
|
2293
|
+
@lv = lv
|
2294
|
+
@ma = ma
|
2295
|
+
@md = md
|
2296
|
+
@me = me
|
2297
|
+
@mk = mk
|
2298
|
+
@mr = mr
|
2299
|
+
@mt = mt
|
2300
|
+
@mx = mx
|
2301
|
+
@my = my
|
2302
|
+
@ng = ng
|
2303
|
+
@nl = nl
|
2304
|
+
@no = no
|
2305
|
+
@np = np
|
2306
|
+
@nz = nz
|
2307
|
+
@om = om
|
2308
|
+
@pe = pe
|
2309
|
+
@pl = pl
|
2310
|
+
@pt = pt
|
2311
|
+
@ro = ro
|
2312
|
+
@rs = rs
|
2313
|
+
@ru = ru
|
2314
|
+
@sa = sa
|
2315
|
+
@se = se
|
2316
|
+
@sg = sg
|
2317
|
+
@si = si
|
2318
|
+
@sk = sk
|
2319
|
+
@sn = sn
|
2320
|
+
@sr = sr
|
2321
|
+
@th = th
|
2322
|
+
@tj = tj
|
2323
|
+
@tr = tr
|
2324
|
+
@tz = tz
|
2325
|
+
@ug = ug
|
2326
|
+
@us = us
|
2327
|
+
@uy = uy
|
2328
|
+
@uz = uz
|
2329
|
+
@vn = vn
|
2330
|
+
@za = za
|
2331
|
+
@zm = zm
|
2332
|
+
@zw = zw
|
2333
|
+
end
|
2334
|
+
end
|
2335
|
+
# 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.
|
2336
|
+
attr_accessor :active_from
|
2337
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2338
|
+
attr_accessor :country
|
2339
|
+
# Specific options for a registration in the specified `country`.
|
2340
|
+
attr_accessor :country_options
|
2341
|
+
# Specifies which fields in the response should be expanded.
|
2342
|
+
attr_accessor :expand
|
2343
|
+
# 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.
|
2344
|
+
attr_accessor :expires_at
|
2345
|
+
|
2346
|
+
def initialize(
|
2347
|
+
active_from: nil,
|
2348
|
+
country: nil,
|
2349
|
+
country_options: nil,
|
2350
|
+
expand: nil,
|
2351
|
+
expires_at: nil
|
2352
|
+
)
|
2353
|
+
@active_from = active_from
|
2354
|
+
@country = country
|
2355
|
+
@country_options = country_options
|
2356
|
+
@expand = expand
|
2357
|
+
@expires_at = expires_at
|
2358
|
+
end
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
class RetrieveParams < Stripe::RequestParams
|
2362
|
+
# Specifies which fields in the response should be expanded.
|
2363
|
+
attr_accessor :expand
|
2364
|
+
|
2365
|
+
def initialize(expand: nil)
|
2366
|
+
@expand = expand
|
2367
|
+
end
|
2368
|
+
end
|
2369
|
+
|
2370
|
+
class UpdateParams < Stripe::RequestParams
|
2371
|
+
# 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.
|
2372
|
+
attr_accessor :active_from
|
2373
|
+
# Specifies which fields in the response should be expanded.
|
2374
|
+
attr_accessor :expand
|
2375
|
+
# 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.
|
2376
|
+
attr_accessor :expires_at
|
2377
|
+
|
2378
|
+
def initialize(active_from: nil, expand: nil, expires_at: nil)
|
2379
|
+
@active_from = active_from
|
2380
|
+
@expand = expand
|
2381
|
+
@expires_at = expires_at
|
2382
|
+
end
|
2383
|
+
end
|
2384
|
+
# Time at which the registration becomes active. Measured in seconds since the Unix epoch.
|
2385
|
+
attr_reader :active_from
|
2386
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2387
|
+
attr_reader :country
|
2388
|
+
# Attribute for field country_options
|
2389
|
+
attr_reader :country_options
|
2390
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
2391
|
+
attr_reader :created
|
2392
|
+
# If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. Measured in seconds since the Unix epoch.
|
2393
|
+
attr_reader :expires_at
|
2394
|
+
# Unique identifier for the object.
|
2395
|
+
attr_reader :id
|
2396
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2397
|
+
attr_reader :livemode
|
2398
|
+
# String representing the object's type. Objects of the same type share the same value.
|
2399
|
+
attr_reader :object
|
2400
|
+
# The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.
|
2401
|
+
attr_reader :status
|
2402
|
+
|
21
2403
|
# Creates a new Tax Registration object.
|
22
2404
|
def self.create(params = {}, opts = {})
|
23
2405
|
request_stripe_object(
|