stripe 5.55.0 → 18.2.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/{bin → exe}/stripe-console +1 -1
- data/lib/data/ca-certificates.crt +1805 -2337
- data/lib/stripe/api_operations/create.rb +6 -2
- data/lib/stripe/api_operations/delete.rb +12 -7
- data/lib/stripe/api_operations/list.rb +6 -9
- data/lib/stripe/api_operations/nested_resource.rb +59 -31
- data/lib/stripe/api_operations/request.rb +30 -65
- data/lib/stripe/api_operations/save.rb +20 -10
- data/lib/stripe/api_operations/search.rb +11 -9
- data/lib/stripe/api_operations/singleton_save.rb +90 -0
- data/lib/stripe/api_requestor.rb +1173 -0
- data/lib/stripe/api_resource.rb +51 -18
- data/lib/stripe/api_resource_test_helpers.rb +9 -3
- data/lib/stripe/{resources/usage_record.rb → api_version.rb} +2 -2
- data/lib/stripe/connection_manager.rb +6 -10
- data/lib/stripe/errors.rb +74 -20
- data/lib/stripe/event_types.rb +242 -0
- data/lib/stripe/events/unknown_event_notification.rb +19 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +123 -0
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +100 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/instrumentation.rb +37 -15
- data/lib/stripe/list_object.rb +5 -3
- data/lib/stripe/multipart_encoder.rb +7 -7
- data/lib/stripe/oauth.rb +14 -21
- data/lib/stripe/object_types.rb +220 -103
- data/lib/stripe/params/account_capability_list_params.rb +13 -0
- data/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_capability_update_params.rb +18 -0
- data/lib/stripe/params/account_create_params.rb +2440 -0
- data/lib/stripe/params/account_delete_params.rb +6 -0
- data/lib/stripe/params/account_external_account_create_params.rb +134 -0
- data/lib/stripe/params/account_external_account_delete_params.rb +6 -0
- data/lib/stripe/params/account_external_account_list_params.rb +25 -0
- data/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_external_account_update_params.rb +91 -0
- data/lib/stripe/params/account_link_create_params.rb +52 -0
- data/lib/stripe/params/account_list_params.rb +42 -0
- data/lib/stripe/params/account_login_link_create_params.rb +13 -0
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_person_create_params.rb +435 -0
- data/lib/stripe/params/account_person_delete_params.rb +6 -0
- data/lib/stripe/params/account_person_list_params.rb +61 -0
- data/lib/stripe/params/account_person_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_person_update_params.rb +435 -0
- data/lib/stripe/params/account_persons_params.rb +61 -0
- data/lib/stripe/params/account_reject_params.rb +16 -0
- data/lib/stripe/params/account_retrieve_current_params.rb +13 -0
- data/lib/stripe/params/account_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_session_create_params.rb +823 -0
- data/lib/stripe/params/account_update_params.rb +2350 -0
- data/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
- data/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
- data/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
- data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
- data/lib/stripe/params/application_fee_list_params.rb +52 -0
- data/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
- data/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
- data/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
- data/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
- data/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
- data/lib/stripe/params/apps/secret_create_params.rb +38 -0
- data/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
- data/lib/stripe/params/apps/secret_find_params.rb +32 -0
- data/lib/stripe/params/apps/secret_list_params.rb +38 -0
- data/lib/stripe/params/balance_retrieve_params.rb +13 -0
- data/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
- data/lib/stripe/params/balance_settings_update_params.rb +67 -0
- data/lib/stripe/params/balance_transaction_list_params.rb +64 -0
- data/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/billing/alert_activate_params.rb +15 -0
- data/lib/stripe/params/billing/alert_archive_params.rb +15 -0
- data/lib/stripe/params/billing/alert_create_params.rb +52 -0
- data/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
- data/lib/stripe/params/billing/alert_list_params.rb +37 -0
- data/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +57 -0
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +41 -0
- data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +107 -0
- data/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_list_params.rb +37 -0
- data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
- data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
- data/lib/stripe/params/billing/meter_create_params.rb +70 -0
- data/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
- data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
- data/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
- data/lib/stripe/params/billing/meter_list_params.rb +27 -0
- data/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
- data/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing/meter_update_params.rb +18 -0
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +232 -0
- data/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
- data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +238 -0
- data/lib/stripe/params/billing_portal/session_create_params.rb +183 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1705 -0
- data/lib/stripe/params/charge_create_params.rb +172 -0
- data/lib/stripe/params/charge_list_params.rb +60 -0
- data/lib/stripe/params/charge_retrieve_params.rb +13 -0
- data/lib/stripe/params/charge_search_params.rb +22 -0
- data/lib/stripe/params/charge_update_params.rb +1750 -0
- data/lib/stripe/params/checkout/session_create_params.rb +2654 -0
- data/lib/stripe/params/checkout/session_expire_params.rb +15 -0
- data/lib/stripe/params/checkout/session_line_item_list_params.rb +24 -0
- data/lib/stripe/params/checkout/session_list_line_items_params.rb +24 -0
- data/lib/stripe/params/checkout/session_list_params.rb +87 -0
- data/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
- data/lib/stripe/params/checkout/session_update_params.rb +466 -0
- data/lib/stripe/params/climate/order_cancel_params.rb +15 -0
- data/lib/stripe/params/climate/order_create_params.rb +49 -0
- data/lib/stripe/params/climate/order_list_params.rb +24 -0
- data/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
- data/lib/stripe/params/climate/order_update_params.rb +29 -0
- data/lib/stripe/params/climate/product_list_params.rb +24 -0
- data/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
- data/lib/stripe/params/climate/supplier_list_params.rb +24 -0
- data/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
- data/lib/stripe/params/confirmation_token_create_params.rb +747 -0
- data/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
- data/lib/stripe/params/country_spec_list_params.rb +22 -0
- data/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
- data/lib/stripe/params/coupon_create_params.rb +96 -0
- data/lib/stripe/params/coupon_delete_params.rb +6 -0
- data/lib/stripe/params/coupon_list_params.rb +42 -0
- data/lib/stripe/params/coupon_retrieve_params.rb +13 -0
- data/lib/stripe/params/coupon_update_params.rb +30 -0
- data/lib/stripe/params/credit_note_create_params.rb +161 -0
- data/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
- data/lib/stripe/params/credit_note_list_params.rb +60 -0
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +173 -0
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +173 -0
- data/lib/stripe/params/credit_note_preview_params.rb +161 -0
- data/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
- data/lib/stripe/params/credit_note_update_params.rb +19 -0
- data/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +52 -0
- data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
- data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
- data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
- data/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
- data/lib/stripe/params/customer_create_params.rb +259 -0
- data/lib/stripe/params/customer_delete_discount_params.rb +6 -0
- data/lib/stripe/params/customer_delete_params.rb +6 -0
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
- data/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
- data/lib/stripe/params/customer_list_params.rb +56 -0
- data/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
- data/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
- data/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
- data/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
- data/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
- data/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
- data/lib/stripe/params/customer_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
- data/lib/stripe/params/customer_search_params.rb +22 -0
- data/lib/stripe/params/customer_session_create_params.rb +219 -0
- data/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
- data/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
- data/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
- data/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
- data/lib/stripe/params/customer_update_params.rb +243 -0
- data/lib/stripe/params/dispute_close_params.rb +13 -0
- data/lib/stripe/params/dispute_list_params.rb +56 -0
- data/lib/stripe/params/dispute_retrieve_params.rb +13 -0
- data/lib/stripe/params/dispute_update_params.rb +317 -0
- data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
- data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
- data/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
- data/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
- data/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
- data/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
- data/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
- data/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
- data/lib/stripe/params/event_list_params.rb +60 -0
- data/lib/stripe/params/event_retrieve_params.rb +13 -0
- data/lib/stripe/params/exchange_rate_list_params.rb +22 -0
- data/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/file_create_params.rb +36 -0
- data/lib/stripe/params/file_link_create_params.rb +22 -0
- data/lib/stripe/params/file_link_list_params.rb +56 -0
- data/lib/stripe/params/file_link_retrieve_params.rb +13 -0
- data/lib/stripe/params/file_link_update_params.rb +19 -0
- data/lib/stripe/params/file_list_params.rb +52 -0
- data/lib/stripe/params/file_retrieve_params.rb +13 -0
- data/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
- data/lib/stripe/params/financial_connections/account_list_params.rb +51 -0
- data/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
- data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
- data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +97 -0
- data/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
- data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/forwarding/request_create_params.rb +59 -0
- data/lib/stripe/params/forwarding/request_list_params.rb +44 -0
- data/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
- data/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +111 -0
- data/lib/stripe/params/identity/verification_session_list_params.rb +66 -0
- data/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +263 -0
- data/lib/stripe/params/invoice_attach_payment_params.rb +61 -0
- data/lib/stripe/params/invoice_create_params.rb +723 -0
- data/lib/stripe/params/invoice_create_preview_params.rb +1810 -0
- data/lib/stripe/params/invoice_delete_params.rb +6 -0
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +181 -0
- data/lib/stripe/params/invoice_item_delete_params.rb +6 -0
- data/lib/stripe/params/invoice_item_list_params.rb +64 -0
- data/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_item_update_params.rb +161 -0
- data/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
- data/lib/stripe/params/invoice_line_item_update_params.rb +249 -0
- data/lib/stripe/params/invoice_list_params.rb +90 -0
- data/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
- data/lib/stripe/params/invoice_pay_params.rb +41 -0
- data/lib/stripe/params/invoice_payment_list_params.rb +75 -0
- data/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
- data/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
- data/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
- data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
- data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
- data/lib/stripe/params/invoice_retrieve_params.rb +13 -0
- data/lib/stripe/params/invoice_search_params.rb +22 -0
- data/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +263 -0
- data/lib/stripe/params/invoice_update_params.rb +687 -0
- data/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
- data/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
- data/lib/stripe/params/issuing/authorization_capture_params.rb +265 -0
- data/lib/stripe/params/issuing/authorization_create_params.rb +372 -0
- data/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +143 -0
- data/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
- data/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
- data/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
- data/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
- data/lib/stripe/params/issuing/card_create_params.rb +213 -0
- data/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_list_params.rb +78 -0
- data/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
- data/lib/stripe/params/issuing/card_update_params.rb +181 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +239 -0
- data/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
- data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/cardholder_update_params.rb +230 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
- data/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
- data/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
- data/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
- data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
- data/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
- data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
- data/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
- data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/token_list_params.rb +58 -0
- data/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/token_update_params.rb +18 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +316 -0
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +316 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +66 -0
- data/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
- data/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/mandate_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +2061 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2065 -0
- data/lib/stripe/params/payment_attempt_record_list_params.rb +22 -0
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
- data/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1906 -0
- data/lib/stripe/params/payment_intent_confirm_params.rb +5647 -0
- data/lib/stripe/params/payment_intent_create_params.rb +5756 -0
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +295 -0
- data/lib/stripe/params/payment_intent_list_params.rb +56 -0
- data/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
- data/lib/stripe/params/payment_intent_search_params.rb +22 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +5660 -0
- data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
- data/lib/stripe/params/payment_link_create_params.rb +815 -0
- data/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
- data/lib/stripe/params/payment_link_list_params.rb +25 -0
- data/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_link_update_params.rb +603 -0
- data/lib/stripe/params/payment_method_attach_params.rb +19 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +1303 -0
- data/lib/stripe/params/payment_method_configuration_list_params.rb +31 -0
- data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +1303 -0
- data/lib/stripe/params/payment_method_create_params.rb +694 -0
- data/lib/stripe/params/payment_method_detach_params.rb +13 -0
- data/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
- data/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
- data/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
- data/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
- data/lib/stripe/params/payment_method_list_params.rb +43 -0
- data/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_method_update_params.rb +139 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
- data/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
- data/lib/stripe/params/payment_record_report_refund_params.rb +79 -0
- data/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_cancel_params.rb +13 -0
- data/lib/stripe/params/payout_create_params.rb +51 -0
- data/lib/stripe/params/payout_list_params.rb +78 -0
- data/lib/stripe/params/payout_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_reverse_params.rb +16 -0
- data/lib/stripe/params/payout_update_params.rb +16 -0
- data/lib/stripe/params/plan_create_params.rb +158 -0
- data/lib/stripe/params/plan_delete_params.rb +6 -0
- data/lib/stripe/params/plan_list_params.rb +56 -0
- data/lib/stripe/params/plan_retrieve_params.rb +13 -0
- data/lib/stripe/params/plan_update_params.rb +35 -0
- data/lib/stripe/params/price_create_params.rb +278 -0
- data/lib/stripe/params/price_list_params.rb +87 -0
- data/lib/stripe/params/price_retrieve_params.rb +13 -0
- data/lib/stripe/params/price_search_params.rb +22 -0
- data/lib/stripe/params/price_update_params.rb +132 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/product_create_params.rb +243 -0
- data/lib/stripe/params/product_delete_params.rb +6 -0
- data/lib/stripe/params/product_feature_create_params.rb +16 -0
- data/lib/stripe/params/product_feature_delete_params.rb +6 -0
- data/lib/stripe/params/product_feature_list_params.rb +22 -0
- data/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
- data/lib/stripe/params/product_list_params.rb +68 -0
- data/lib/stripe/params/product_retrieve_params.rb +13 -0
- data/lib/stripe/params/product_search_params.rb +22 -0
- data/lib/stripe/params/product_update_params.rb +96 -0
- data/lib/stripe/params/promotion_code_create_params.rb +95 -0
- data/lib/stripe/params/promotion_code_list_params.rb +68 -0
- data/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
- data/lib/stripe/params/promotion_code_update_params.rb +38 -0
- data/lib/stripe/params/quote_accept_params.rb +13 -0
- data/lib/stripe/params/quote_cancel_params.rb +13 -0
- data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
- data/lib/stripe/params/quote_create_params.rb +1103 -0
- data/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
- data/lib/stripe/params/quote_line_item_list_params.rb +22 -0
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
- data/lib/stripe/params/quote_list_line_items_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +47 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_pdf_params.rb +13 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +1072 -0
- data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
- data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_create_params.rb +27 -0
- data/lib/stripe/{resources/usage_record_summary.rb → params/radar/value_list_delete_params.rb} +2 -2
- data/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
- data/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
- data/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
- data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_list_params.rb +58 -0
- data/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/value_list_update_params.rb +24 -0
- data/lib/stripe/params/refund_cancel_params.rb +13 -0
- data/lib/stripe/params/refund_create_params.rb +59 -0
- data/lib/stripe/params/refund_expire_params.rb +13 -0
- data/lib/stripe/params/refund_list_params.rb +56 -0
- data/lib/stripe/params/refund_retrieve_params.rb +13 -0
- data/lib/stripe/params/refund_update_params.rb +16 -0
- data/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
- data/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
- data/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
- data/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
- data/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/review_approve_params.rb +13 -0
- data/lib/stripe/params/review_list_params.rb +42 -0
- data/lib/stripe/params/review_retrieve_params.rb +13 -0
- data/lib/stripe/params/setup_attempt_list_params.rb +55 -0
- data/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +1272 -0
- data/lib/stripe/params/setup_intent_create_params.rb +1362 -0
- data/lib/stripe/params/setup_intent_list_params.rb +66 -0
- data/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
- data/lib/stripe/params/setup_intent_update_params.rb +1257 -0
- data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
- data/lib/stripe/params/shipping_rate_create_params.rb +103 -0
- data/lib/stripe/params/shipping_rate_list_params.rb +56 -0
- data/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/shipping_rate_update_params.rb +44 -0
- data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
- data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
- data/lib/stripe/params/source_create_params.rb +317 -0
- data/lib/stripe/params/source_detach_params.rb +13 -0
- data/lib/stripe/params/source_retrieve_params.rb +16 -0
- data/lib/stripe/params/source_transaction_list_params.rb +22 -0
- data/lib/stripe/params/source_update_params.rb +259 -0
- data/lib/stripe/params/source_verify_params.rb +16 -0
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_cancel_params.rb +33 -0
- data/lib/stripe/params/subscription_create_params.rb +982 -0
- data/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
- data/lib/stripe/params/subscription_item_create_params.rb +178 -0
- data/lib/stripe/params/subscription_item_delete_params.rb +19 -0
- data/lib/stripe/params/subscription_item_list_params.rb +31 -0
- data/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_item_update_params.rb +162 -0
- data/lib/stripe/params/subscription_list_params.rb +133 -0
- data/lib/stripe/params/subscription_migrate_params.rb +35 -0
- data/lib/stripe/params/subscription_resume_params.rb +27 -0
- data/lib/stripe/params/subscription_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
- data/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +752 -0
- data/lib/stripe/params/subscription_schedule_list_params.rb +126 -0
- data/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
- data/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +720 -0
- data/lib/stripe/params/subscription_search_params.rb +22 -0
- data/lib/stripe/params/subscription_update_params.rb +941 -0
- data/lib/stripe/params/tax/association_find_params.rb +18 -0
- data/lib/stripe/params/tax/calculation_create_params.rb +206 -0
- data/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
- data/lib/stripe/params/tax/calculation_list_line_items_params.rb +24 -0
- data/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_create_params.rb +2031 -0
- data/lib/stripe/params/tax/registration_list_params.rb +27 -0
- data/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/registration_update_params.rb +21 -0
- data/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/settings_update_params.rb +71 -0
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
- data/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
- data/lib/stripe/params/tax/transaction_list_line_items_params.rb +24 -0
- data/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax_code_list_params.rb +22 -0
- data/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_id_create_params.rb +39 -0
- data/lib/stripe/params/tax_id_delete_params.rb +6 -0
- data/lib/stripe/params/tax_id_list_params.rb +42 -0
- data/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_rate_create_params.rb +55 -0
- data/lib/stripe/params/tax_rate_list_params.rb +56 -0
- data/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
- data/lib/stripe/params/tax_rate_update_params.rb +47 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +625 -0
- data/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
- data/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +625 -0
- data/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
- data/lib/stripe/params/terminal/location_create_params.rb +153 -0
- data/lib/stripe/params/terminal/location_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/location_list_params.rb +24 -0
- data/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/location_update_params.rb +153 -0
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
- data/lib/stripe/params/terminal/reader_create_params.rb +27 -0
- data/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
- data/lib/stripe/params/terminal/reader_list_params.rb +45 -0
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
- data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
- data/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
- data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
- data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
- data/lib/stripe/params/terminal/reader_update_params.rb +21 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +749 -0
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +267 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +374 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +145 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
- data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
- data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +318 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +318 -0
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
- data/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
- data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
- data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
- data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +21 -0
- data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
- data/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
- data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +92 -0
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +92 -0
- data/lib/stripe/params/token_create_params.rb +1210 -0
- data/lib/stripe/params/token_retrieve_params.rb +13 -0
- data/lib/stripe/params/topup_cancel_params.rb +13 -0
- data/lib/stripe/params/topup_create_params.rb +43 -0
- data/lib/stripe/params/topup_list_params.rb +74 -0
- data/lib/stripe/params/topup_retrieve_params.rb +13 -0
- data/lib/stripe/params/topup_update_params.rb +19 -0
- data/lib/stripe/params/transfer_create_params.rb +51 -0
- data/lib/stripe/params/transfer_list_params.rb +56 -0
- data/lib/stripe/params/transfer_retrieve_params.rb +13 -0
- data/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
- data/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
- data/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
- data/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
- data/lib/stripe/params/transfer_update_params.rb +19 -0
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
- data/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
- data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
- data/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
- data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +208 -0
- data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +166 -0
- data/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
- data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +166 -0
- data/lib/stripe/params/treasury/financial_account_update_params.rb +223 -0
- data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
- data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
- data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
- data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
- data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
- data/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
- data/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
- data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +105 -0
- data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
- data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
- data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +90 -0
- data/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
- data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/received_debit_create_params.rb +90 -0
- data/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
- data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
- data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
- data/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/{resources/issuing/card_details.rb → params/v2/billing/cadence_cancel_params.rb} +3 -3
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +253 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +75 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
- data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/core/account_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2363 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +23 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1023 -0
- data/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2409 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +497 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +487 -0
- data/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +497 -0
- data/lib/stripe/params/v2/core/event_destination_create_params.rb +79 -0
- data/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
- data/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +45 -0
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +62 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +110 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +79 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +85 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +89 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +34 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
- data/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
- data/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
- data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
- data/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
- data/lib/stripe/params.rb +767 -0
- data/lib/stripe/request_options.rb +138 -0
- data/lib/stripe/request_params.rb +24 -0
- data/lib/stripe/resources/account.rb +1320 -26
- data/lib/stripe/resources/account_link.rb +29 -0
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +764 -0
- data/lib/stripe/resources/alipay_account.rb +1 -1
- data/lib/stripe/resources/apple_pay_domain.rb +59 -0
- data/lib/stripe/resources/application.rb +28 -0
- data/lib/stripe/resources/application_fee.rb +64 -2
- data/lib/stripe/resources/application_fee_refund.rb +34 -2
- data/lib/stripe/resources/apps/secret.rb +96 -0
- data/lib/stripe/resources/balance.rb +332 -0
- data/lib/stripe/resources/balance_settings.rb +92 -0
- data/lib/stripe/resources/balance_transaction.rb +80 -0
- data/lib/stripe/resources/bank_account.rb +177 -6
- data/lib/stripe/resources/billing/alert.rb +142 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +34 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +104 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +177 -0
- data/lib/stripe/resources/billing/credit_grant.rb +200 -0
- data/lib/stripe/resources/billing/meter.rb +178 -0
- data/lib/stripe/resources/billing/meter_event.rb +49 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +59 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +40 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +292 -0
- data/lib/stripe/resources/billing_portal/session.rb +228 -0
- data/lib/stripe/resources/capability.rb +147 -2
- data/lib/stripe/resources/capital/financing_offer.rb +142 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +129 -3
- data/lib/stripe/resources/cash_balance.rb +39 -0
- data/lib/stripe/resources/charge.rb +2516 -3
- data/lib/stripe/resources/checkout/session.rb +2454 -4
- data/lib/stripe/resources/climate/order.rb +173 -0
- data/lib/stripe/resources/climate/product.rb +72 -0
- data/lib/stripe/resources/climate/supplier.rb +69 -0
- data/lib/stripe/resources/confirmation_token.rb +1873 -0
- data/lib/stripe/resources/connect_collection_transfer.rb +32 -0
- data/lib/stripe/resources/country_spec.rb +82 -0
- data/lib/stripe/resources/coupon.rb +143 -0
- data/lib/stripe/resources/credit_note.rb +290 -8
- data/lib/stripe/resources/credit_note_line_item.rb +133 -0
- data/lib/stripe/resources/customer.rb +403 -27
- data/lib/stripe/resources/customer_balance_transaction.rb +48 -1
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +234 -0
- data/lib/stripe/resources/customer_session.rb +264 -0
- data/lib/stripe/resources/discount.rb +58 -0
- data/lib/stripe/resources/dispute.rb +466 -2
- data/lib/stripe/resources/entitlements/active_entitlement.rb +45 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +31 -0
- data/lib/stripe/resources/entitlements/feature.rb +72 -0
- data/lib/stripe/resources/ephemeral_key.rb +44 -0
- data/lib/stripe/resources/event.rb +149 -0
- data/lib/stripe/resources/exchange_rate.rb +59 -0
- data/lib/stripe/resources/file.rb +65 -12
- data/lib/stripe/resources/file_link.rb +53 -0
- data/lib/stripe/resources/financial_connections/account.rb +342 -5
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +29 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +21 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +140 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +73 -0
- data/lib/stripe/resources/forwarding/request.rb +163 -0
- data/lib/stripe/resources/funding_instructions.rb +510 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/verification_report.rb +396 -0
- data/lib/stripe/resources/identity/verification_session.rb +397 -4
- data/lib/stripe/resources/invoice.rb +1393 -20
- data/lib/stripe/resources/invoice_item.rb +214 -0
- data/lib/stripe/resources/invoice_line_item.rb +341 -1
- data/lib/stripe/resources/invoice_payment.rb +92 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +90 -0
- data/lib/stripe/resources/issuing/authorization.rb +650 -4
- data/lib/stripe/resources/issuing/card.rb +410 -4
- data/lib/stripe/resources/issuing/cardholder.rb +278 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute.rb +301 -2
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +206 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +65 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +195 -0
- data/lib/stripe/resources/issuing/transaction.rb +444 -0
- data/lib/stripe/resources/line_item.rb +142 -0
- data/lib/stripe/resources/login_link.rb +20 -0
- data/lib/stripe/resources/mandate.rb +433 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +960 -6
- data/lib/stripe/resources/payment_attempt_record.rb +2165 -0
- data/lib/stripe/resources/payment_intent.rb +3886 -14
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +138 -0
- data/lib/stripe/resources/payment_link.rb +772 -2
- data/lib/stripe/resources/payment_method.rb +1792 -4
- data/lib/stripe/resources/payment_method_configuration.rb +2090 -0
- data/lib/stripe/resources/payment_method_domain.rb +280 -0
- data/lib/stripe/resources/payment_record.rb +2295 -0
- data/lib/stripe/resources/payout.rb +139 -4
- data/lib/stripe/resources/person.rb +475 -1
- data/lib/stripe/resources/plan.rb +137 -0
- data/lib/stripe/resources/price.rb +240 -1
- data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +138 -1
- data/lib/stripe/resources/product_feature.rb +33 -0
- data/lib/stripe/resources/promotion_code.rb +110 -0
- data/lib/stripe/resources/quote.rb +1173 -36
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1182 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +42 -0
- data/lib/stripe/resources/radar/value_list.rb +87 -0
- data/lib/stripe/resources/radar/value_list_item.rb +71 -0
- data/lib/stripe/resources/refund.rb +748 -4
- data/lib/stripe/resources/reporting/report_run.rb +91 -0
- data/lib/stripe/resources/reporting/report_type.rb +48 -1
- data/lib/stripe/resources/reserve/hold.rb +74 -0
- data/lib/stripe/resources/reserve/plan.rb +78 -0
- data/lib/stripe/resources/reserve/release.rb +77 -0
- data/lib/stripe/resources/reserve_transaction.rb +30 -0
- data/lib/stripe/resources/reversal.rb +46 -2
- data/lib/stripe/resources/review.rb +99 -2
- data/lib/stripe/resources/setup_attempt.rb +664 -0
- data/lib/stripe/resources/setup_intent.rb +816 -6
- data/lib/stripe/resources/shipping_rate.rb +132 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +60 -0
- data/lib/stripe/resources/source.rb +973 -10
- data/lib/stripe/resources/source_mandate_notification.rb +98 -0
- data/lib/stripe/resources/source_transaction.rb +146 -0
- data/lib/stripe/resources/subscription.rb +979 -5
- data/lib/stripe/resources/subscription_item.rb +132 -10
- data/lib/stripe/resources/subscription_schedule.rb +780 -4
- data/lib/stripe/resources/tax/association.rb +86 -0
- data/lib/stripe/resources/tax/calculation.rb +321 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +103 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/registration.rb +2259 -0
- data/lib/stripe/resources/tax/settings.rb +131 -0
- data/lib/stripe/resources/tax/transaction.rb +287 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +60 -0
- data/lib/stripe/resources/tax_code.rb +26 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +30 -0
- data/lib/stripe/resources/tax_id.rb +103 -11
- data/lib/stripe/resources/tax_rate.rb +87 -0
- data/lib/stripe/resources/terminal/configuration.rb +724 -0
- data/lib/stripe/resources/terminal/connection_token.rb +31 -0
- data/lib/stripe/resources/terminal/location.rb +168 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/lib/stripe/resources/terminal/reader.rb +752 -10
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +110 -2
- data/lib/stripe/resources/token.rb +66 -0
- data/lib/stripe/resources/topup.rb +80 -2
- data/lib/stripe/resources/transfer.rb +74 -6
- data/lib/stripe/resources/treasury/credit_reversal.rb +86 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +101 -0
- data/lib/stripe/resources/treasury/financial_account.rb +255 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +398 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +308 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +408 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +418 -0
- data/lib/stripe/resources/treasury/received_credit.rb +291 -0
- data/lib/stripe/resources/treasury/received_debit.rb +256 -0
- data/lib/stripe/resources/treasury/transaction.rb +143 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +124 -0
- data/lib/stripe/resources/v2/amount.rb +9 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +609 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +43 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +52 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +37 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/core/account.rb +4115 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/account_person.rb +477 -0
- data/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
- data/lib/stripe/resources/v2/core/account_token.rb +37 -0
- data/lib/stripe/resources/v2/core/event.rb +69 -0
- data/lib/stripe/resources/v2/core/event_destination.rb +119 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +62 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +83 -0
- data/lib/stripe/resources/v2/deleted_object.rb +21 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +44 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +82 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +188 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +197 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +261 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +202 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +240 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +111 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +246 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +152 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +180 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +153 -0
- data/lib/stripe/resources/webhook_endpoint.rb +90 -0
- data/lib/stripe/resources.rb +175 -11
- data/lib/stripe/search_result_object.rb +5 -2
- data/lib/stripe/services/account_capability_service.rb +39 -0
- data/lib/stripe/services/account_external_account_service.rb +68 -0
- data/lib/stripe/services/account_link_service.rb +17 -0
- data/lib/stripe/services/account_login_link_service.rb +19 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/account_person_service.rb +61 -0
- data/lib/stripe/services/account_service.rb +100 -0
- data/lib/stripe/services/account_session_service.rb +17 -0
- data/lib/stripe/services/apple_pay_domain_service.rb +50 -0
- data/lib/stripe/services/application_fee_refund_service.rb +60 -0
- data/lib/stripe/services/application_fee_service.rb +35 -0
- data/lib/stripe/services/apps/secret_service.rb +52 -0
- data/lib/stripe/services/apps_service.rb +13 -0
- data/lib/stripe/services/balance_service.rb +12 -0
- data/lib/stripe/services/balance_settings_service.rb +30 -0
- data/lib/stripe/services/balance_transaction_service.rb +32 -0
- data/lib/stripe/services/billing/alert_service.rb +74 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +19 -0
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +74 -0
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +19 -0
- data/lib/stripe/services/billing/meter_event_service.rb +19 -0
- data/lib/stripe/services/billing/meter_event_summary_service.rb +19 -0
- data/lib/stripe/services/billing/meter_service.rb +81 -0
- data/lib/stripe/services/billing_portal/configuration_service.rb +52 -0
- data/lib/stripe/services/billing_portal/session_service.rb +19 -0
- data/lib/stripe/services/billing_portal_service.rb +14 -0
- data/lib/stripe/services/billing_service.rb +21 -0
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +69 -0
- data/lib/stripe/services/checkout/session_line_item_service.rb +19 -0
- data/lib/stripe/services/checkout/session_service.rb +74 -0
- data/lib/stripe/services/checkout_service.rb +13 -0
- data/lib/stripe/services/climate/order_service.rb +68 -0
- data/lib/stripe/services/climate/product_service.rb +30 -0
- data/lib/stripe/services/climate/supplier_service.rb +30 -0
- data/lib/stripe/services/climate_service.rb +15 -0
- data/lib/stripe/services/confirmation_token_service.rb +17 -0
- data/lib/stripe/services/country_spec_service.rb +28 -0
- data/lib/stripe/services/coupon_service.rb +51 -0
- data/lib/stripe/services/credit_note_line_item_service.rb +17 -0
- data/lib/stripe/services/credit_note_preview_lines_service.rb +17 -0
- data/lib/stripe/services/credit_note_service.rb +92 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +50 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +28 -0
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +28 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +19 -0
- data/lib/stripe/services/customer_payment_method_service.rb +28 -0
- data/lib/stripe/services/customer_payment_source_service.rb +76 -0
- data/lib/stripe/services/customer_service.rb +89 -0
- data/lib/stripe/services/customer_session_service.rb +17 -0
- data/lib/stripe/services/customer_tax_id_service.rb +50 -0
- data/lib/stripe/services/dispute_service.rb +48 -0
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +30 -0
- data/lib/stripe/services/entitlements/feature_service.rb +52 -0
- data/lib/stripe/services/entitlements_service.rb +14 -0
- data/lib/stripe/services/ephemeral_key_service.rb +28 -0
- data/lib/stripe/services/event_service.rb +22 -0
- data/lib/stripe/services/exchange_rate_service.rb +32 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/file_link_service.rb +38 -0
- data/lib/stripe/services/file_service.rb +35 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_owner_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +83 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections/session_service.rb +30 -0
- data/lib/stripe/services/financial_connections/transaction_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +16 -0
- data/lib/stripe/services/forwarding/request_service.rb +41 -0
- data/lib/stripe/services/forwarding_service.rb +13 -0
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/identity/verification_report_service.rb +30 -0
- data/lib/stripe/services/identity/verification_session_service.rb +106 -0
- data/lib/stripe/services/identity_service.rb +14 -0
- data/lib/stripe/services/invoice_item_service.rb +61 -0
- data/lib/stripe/services/invoice_line_item_service.rb +31 -0
- data/lib/stripe/services/invoice_payment_service.rb +28 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +50 -0
- data/lib/stripe/services/invoice_service.rb +206 -0
- data/lib/stripe/services/issuing/authorization_service.rb +65 -0
- data/lib/stripe/services/issuing/card_service.rb +52 -0
- data/lib/stripe/services/issuing/cardholder_service.rb +52 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_service.rb +63 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing/personalization_design_service.rb +52 -0
- data/lib/stripe/services/issuing/physical_bundle_service.rb +30 -0
- data/lib/stripe/services/issuing/token_service.rb +41 -0
- data/lib/stripe/services/issuing/transaction_service.rb +41 -0
- data/lib/stripe/services/issuing_service.rb +24 -0
- data/lib/stripe/services/mandate_service.rb +22 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/oauth_service.rb +63 -0
- data/lib/stripe/services/order_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
- data/lib/stripe/services/payment_intent_service.rb +253 -0
- data/lib/stripe/services/payment_link_line_item_service.rb +17 -0
- data/lib/stripe/services/payment_link_service.rb +57 -0
- data/lib/stripe/services/payment_method_configuration_service.rb +50 -0
- data/lib/stripe/services/payment_method_domain_service.rb +66 -0
- data/lib/stripe/services/payment_method_service.rb +86 -0
- data/lib/stripe/services/payment_record_service.rb +101 -0
- data/lib/stripe/services/payout_service.rb +66 -0
- data/lib/stripe/services/plan_service.rb +49 -0
- data/lib/stripe/services/price_service.rb +52 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_feature_service.rb +50 -0
- data/lib/stripe/services/product_service.rb +70 -0
- data/lib/stripe/services/promotion_code_service.rb +50 -0
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +17 -0
- data/lib/stripe/services/quote_line_item_service.rb +17 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +140 -0
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +32 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +52 -0
- data/lib/stripe/services/radar/value_list_service.rb +63 -0
- data/lib/stripe/services/radar_service.rb +15 -0
- data/lib/stripe/services/refund_service.rb +63 -0
- data/lib/stripe/services/reporting/report_run_service.rb +41 -0
- data/lib/stripe/services/reporting/report_type_service.rb +30 -0
- data/lib/stripe/services/reporting_service.rb +14 -0
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/review_service.rb +33 -0
- data/lib/stripe/services/setup_attempt_service.rb +17 -0
- data/lib/stripe/services/setup_intent_service.rb +105 -0
- data/lib/stripe/services/shipping_rate_service.rb +50 -0
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +30 -0
- data/lib/stripe/services/sigma_service.rb +13 -0
- data/lib/stripe/services/source_service.rb +64 -0
- data/lib/stripe/services/source_transaction_service.rb +17 -0
- data/lib/stripe/services/subscription_item_service.rb +61 -0
- data/lib/stripe/services/subscription_schedule_service.rb +83 -0
- data/lib/stripe/services/subscription_service.rb +149 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/calculation_line_item_service.rb +19 -0
- data/lib/stripe/services/tax/calculation_service.rb +37 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/registration_service.rb +54 -0
- data/lib/stripe/services/tax/settings_service.rb +30 -0
- data/lib/stripe/services/tax/transaction_line_item_service.rb +19 -0
- data/lib/stripe/services/tax/transaction_service.rb +48 -0
- data/lib/stripe/services/tax_code_service.rb +22 -0
- data/lib/stripe/services/tax_id_service.rb +38 -0
- data/lib/stripe/services/tax_rate_service.rb +38 -0
- data/lib/stripe/services/tax_service.rb +18 -0
- data/lib/stripe/services/terminal/configuration_service.rb +63 -0
- data/lib/stripe/services/terminal/connection_token_service.rb +19 -0
- data/lib/stripe/services/terminal/location_service.rb +64 -0
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_service.rb +151 -0
- data/lib/stripe/services/terminal_service.rb +18 -0
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +19 -0
- data/lib/stripe/services/test_helpers/customer_service.rb +19 -0
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +87 -0
- data/lib/stripe/services/test_helpers/issuing/card_service.rb +65 -0
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +43 -0
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +43 -0
- data/lib/stripe/services/test_helpers/issuing_service.rb +19 -0
- data/lib/stripe/services/test_helpers/refund_service.rb +19 -0
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/terminal_service.rb +15 -0
- data/lib/stripe/services/test_helpers/test_clock_service.rb +63 -0
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +43 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +54 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +54 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +21 -0
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +21 -0
- data/lib/stripe/services/test_helpers/treasury_service.rb +19 -0
- data/lib/stripe/services/test_helpers_service.rb +19 -0
- data/lib/stripe/services/token_service.rb +23 -0
- data/lib/stripe/services/topup_service.rb +49 -0
- data/lib/stripe/services/transfer_reversal_service.rb +56 -0
- data/lib/stripe/services/transfer_service.rb +47 -0
- data/lib/stripe/services/treasury/credit_reversal_service.rb +41 -0
- data/lib/stripe/services/treasury/debit_reversal_service.rb +41 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +30 -0
- data/lib/stripe/services/treasury/financial_account_service.rb +70 -0
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +52 -0
- data/lib/stripe/services/treasury/outbound_payment_service.rb +52 -0
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +52 -0
- data/lib/stripe/services/treasury/received_credit_service.rb +30 -0
- data/lib/stripe/services/treasury/received_debit_service.rb +30 -0
- data/lib/stripe/services/treasury/transaction_entry_service.rb +30 -0
- data/lib/stripe/services/treasury/transaction_service.rb +30 -0
- data/lib/stripe/services/treasury_service.rb +22 -0
- data/lib/stripe/services/v1_services.rb +101 -0
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +21 -0
- data/lib/stripe/services/v2/billing/meter_event_service.rb +21 -0
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +21 -0
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +23 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +22 -0
- data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
- data/lib/stripe/services/v2/core/account_service.rb +73 -0
- data/lib/stripe/services/v2/core/account_token_service.rb +32 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +34 -0
- data/lib/stripe/services/v2/core/event_destination_service.rb +98 -0
- data/lib/stripe/services/v2/core/event_service.rb +32 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +20 -0
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +65 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2_services.rb +16 -0
- data/lib/stripe/services/webhook_endpoint_service.rb +61 -0
- data/lib/stripe/services.rb +246 -0
- data/lib/stripe/singleton_api_resource.rb +3 -3
- data/lib/stripe/stripe_client.rb +61 -1023
- data/lib/stripe/stripe_configuration.rb +60 -42
- data/lib/stripe/stripe_context.rb +68 -0
- data/lib/stripe/stripe_event_notification_handler.rb +425 -0
- data/lib/stripe/stripe_object.rb +142 -47
- data/lib/stripe/stripe_response.rb +1 -3
- data/lib/stripe/stripe_service.rb +34 -0
- data/lib/stripe/util.rb +134 -45
- data/lib/stripe/v2_list_object.rb +84 -0
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +3 -2
- data/lib/stripe.rb +98 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
- data/rbi/stripe/stripe_client.rbi +30 -0
- data/rbi/stripe.rbi +219587 -0
- metadata +1210 -28
- data/CHANGELOG.md +0 -1036
- data/CODE_OF_CONDUCT.md +0 -77
- data/CONTRIBUTORS +0 -3
- data/Gemfile +0 -33
- data/History.txt +0 -1
- data/LICENSE +0 -21
- data/Makefile +0 -7
- data/README.md +0 -350
- data/Rakefile +0 -37
- data/VERSION +0 -1
- data/lib/stripe/resources/bitcoin_receiver.rb +0 -24
- data/lib/stripe/resources/bitcoin_transaction.rb +0 -16
- data/lib/stripe/resources/order_return.rb +0 -10
- data/lib/stripe/resources/recipient.rb +0 -14
- data/lib/stripe/resources/sku.rb +0 -13
- data/lib/stripe/resources/three_d_secure.rb +0 -14
- data/stripe.gemspec +0 -41
|
@@ -0,0 +1,2259 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Tax
|
|
6
|
+
# A Tax `Registration` lets us know that your business is registered to collect tax on payments within a region, enabling you to [automatically collect tax](https://docs.stripe.com/tax).
|
|
7
|
+
#
|
|
8
|
+
# Stripe doesn't register on your behalf with the relevant authorities when you create a Tax `Registration` object. For more information on how to register to collect tax, see [our guide](https://docs.stripe.com/tax/registering).
|
|
9
|
+
#
|
|
10
|
+
# Related guide: [Using the Registrations API](https://docs.stripe.com/tax/registrations-api)
|
|
11
|
+
class Registration < APIResource
|
|
12
|
+
extend Stripe::APIOperations::Create
|
|
13
|
+
extend Stripe::APIOperations::List
|
|
14
|
+
include Stripe::APIOperations::Save
|
|
15
|
+
|
|
16
|
+
OBJECT_NAME = "tax.registration"
|
|
17
|
+
def self.object_name
|
|
18
|
+
"tax.registration"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class CountryOptions < ::Stripe::StripeObject
|
|
22
|
+
class Ae < ::Stripe::StripeObject
|
|
23
|
+
class Standard < ::Stripe::StripeObject
|
|
24
|
+
# Place of supply scheme used in an Default standard registration.
|
|
25
|
+
attr_reader :place_of_supply_scheme
|
|
26
|
+
|
|
27
|
+
def self.inner_class_types
|
|
28
|
+
@inner_class_types = {}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def self.field_remappings
|
|
32
|
+
@field_remappings = {}
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
# Attribute for field standard
|
|
36
|
+
attr_reader :standard
|
|
37
|
+
# Type of registration in `country`.
|
|
38
|
+
attr_reader :type
|
|
39
|
+
|
|
40
|
+
def self.inner_class_types
|
|
41
|
+
@inner_class_types = { standard: Standard }
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def self.field_remappings
|
|
45
|
+
@field_remappings = {}
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class Al < ::Stripe::StripeObject
|
|
50
|
+
# Type of registration in `country`.
|
|
51
|
+
attr_reader :type
|
|
52
|
+
|
|
53
|
+
def self.inner_class_types
|
|
54
|
+
@inner_class_types = {}
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def self.field_remappings
|
|
58
|
+
@field_remappings = {}
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
class Am < ::Stripe::StripeObject
|
|
63
|
+
# Type of registration in `country`.
|
|
64
|
+
attr_reader :type
|
|
65
|
+
|
|
66
|
+
def self.inner_class_types
|
|
67
|
+
@inner_class_types = {}
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
def self.field_remappings
|
|
71
|
+
@field_remappings = {}
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
class Ao < ::Stripe::StripeObject
|
|
76
|
+
# Type of registration in `country`.
|
|
77
|
+
attr_reader :type
|
|
78
|
+
|
|
79
|
+
def self.inner_class_types
|
|
80
|
+
@inner_class_types = {}
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
def self.field_remappings
|
|
84
|
+
@field_remappings = {}
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
class At < ::Stripe::StripeObject
|
|
89
|
+
class Standard < ::Stripe::StripeObject
|
|
90
|
+
# Place of supply scheme used in an EU standard registration.
|
|
91
|
+
attr_reader :place_of_supply_scheme
|
|
92
|
+
|
|
93
|
+
def self.inner_class_types
|
|
94
|
+
@inner_class_types = {}
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
def self.field_remappings
|
|
98
|
+
@field_remappings = {}
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
# Attribute for field standard
|
|
102
|
+
attr_reader :standard
|
|
103
|
+
# Type of registration in an EU country.
|
|
104
|
+
attr_reader :type
|
|
105
|
+
|
|
106
|
+
def self.inner_class_types
|
|
107
|
+
@inner_class_types = { standard: Standard }
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def self.field_remappings
|
|
111
|
+
@field_remappings = {}
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class Au < ::Stripe::StripeObject
|
|
116
|
+
class Standard < ::Stripe::StripeObject
|
|
117
|
+
# Place of supply scheme used in an Default standard registration.
|
|
118
|
+
attr_reader :place_of_supply_scheme
|
|
119
|
+
|
|
120
|
+
def self.inner_class_types
|
|
121
|
+
@inner_class_types = {}
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
def self.field_remappings
|
|
125
|
+
@field_remappings = {}
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
# Attribute for field standard
|
|
129
|
+
attr_reader :standard
|
|
130
|
+
# Type of registration in `country`.
|
|
131
|
+
attr_reader :type
|
|
132
|
+
|
|
133
|
+
def self.inner_class_types
|
|
134
|
+
@inner_class_types = { standard: Standard }
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
def self.field_remappings
|
|
138
|
+
@field_remappings = {}
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
class Aw < ::Stripe::StripeObject
|
|
143
|
+
# Type of registration in `country`.
|
|
144
|
+
attr_reader :type
|
|
145
|
+
|
|
146
|
+
def self.inner_class_types
|
|
147
|
+
@inner_class_types = {}
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
def self.field_remappings
|
|
151
|
+
@field_remappings = {}
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
class Az < ::Stripe::StripeObject
|
|
156
|
+
# Type of registration in `country`.
|
|
157
|
+
attr_reader :type
|
|
158
|
+
|
|
159
|
+
def self.inner_class_types
|
|
160
|
+
@inner_class_types = {}
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
def self.field_remappings
|
|
164
|
+
@field_remappings = {}
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
class Ba < ::Stripe::StripeObject
|
|
169
|
+
# Type of registration in `country`.
|
|
170
|
+
attr_reader :type
|
|
171
|
+
|
|
172
|
+
def self.inner_class_types
|
|
173
|
+
@inner_class_types = {}
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
def self.field_remappings
|
|
177
|
+
@field_remappings = {}
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
class Bb < ::Stripe::StripeObject
|
|
182
|
+
# Type of registration in `country`.
|
|
183
|
+
attr_reader :type
|
|
184
|
+
|
|
185
|
+
def self.inner_class_types
|
|
186
|
+
@inner_class_types = {}
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
def self.field_remappings
|
|
190
|
+
@field_remappings = {}
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
class Bd < ::Stripe::StripeObject
|
|
195
|
+
# Type of registration in `country`.
|
|
196
|
+
attr_reader :type
|
|
197
|
+
|
|
198
|
+
def self.inner_class_types
|
|
199
|
+
@inner_class_types = {}
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
def self.field_remappings
|
|
203
|
+
@field_remappings = {}
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
class Be < ::Stripe::StripeObject
|
|
208
|
+
class Standard < ::Stripe::StripeObject
|
|
209
|
+
# Place of supply scheme used in an EU standard registration.
|
|
210
|
+
attr_reader :place_of_supply_scheme
|
|
211
|
+
|
|
212
|
+
def self.inner_class_types
|
|
213
|
+
@inner_class_types = {}
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
def self.field_remappings
|
|
217
|
+
@field_remappings = {}
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
# Attribute for field standard
|
|
221
|
+
attr_reader :standard
|
|
222
|
+
# Type of registration in an EU country.
|
|
223
|
+
attr_reader :type
|
|
224
|
+
|
|
225
|
+
def self.inner_class_types
|
|
226
|
+
@inner_class_types = { standard: Standard }
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
def self.field_remappings
|
|
230
|
+
@field_remappings = {}
|
|
231
|
+
end
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
class Bf < ::Stripe::StripeObject
|
|
235
|
+
# Type of registration in `country`.
|
|
236
|
+
attr_reader :type
|
|
237
|
+
|
|
238
|
+
def self.inner_class_types
|
|
239
|
+
@inner_class_types = {}
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
def self.field_remappings
|
|
243
|
+
@field_remappings = {}
|
|
244
|
+
end
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
class Bg < ::Stripe::StripeObject
|
|
248
|
+
class Standard < ::Stripe::StripeObject
|
|
249
|
+
# Place of supply scheme used in an EU standard registration.
|
|
250
|
+
attr_reader :place_of_supply_scheme
|
|
251
|
+
|
|
252
|
+
def self.inner_class_types
|
|
253
|
+
@inner_class_types = {}
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
def self.field_remappings
|
|
257
|
+
@field_remappings = {}
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
# Attribute for field standard
|
|
261
|
+
attr_reader :standard
|
|
262
|
+
# Type of registration in an EU country.
|
|
263
|
+
attr_reader :type
|
|
264
|
+
|
|
265
|
+
def self.inner_class_types
|
|
266
|
+
@inner_class_types = { standard: Standard }
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
def self.field_remappings
|
|
270
|
+
@field_remappings = {}
|
|
271
|
+
end
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
class Bh < ::Stripe::StripeObject
|
|
275
|
+
# Type of registration in `country`.
|
|
276
|
+
attr_reader :type
|
|
277
|
+
|
|
278
|
+
def self.inner_class_types
|
|
279
|
+
@inner_class_types = {}
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
def self.field_remappings
|
|
283
|
+
@field_remappings = {}
|
|
284
|
+
end
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
class Bj < ::Stripe::StripeObject
|
|
288
|
+
# Type of registration in `country`.
|
|
289
|
+
attr_reader :type
|
|
290
|
+
|
|
291
|
+
def self.inner_class_types
|
|
292
|
+
@inner_class_types = {}
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
def self.field_remappings
|
|
296
|
+
@field_remappings = {}
|
|
297
|
+
end
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
class Bs < ::Stripe::StripeObject
|
|
301
|
+
# Type of registration in `country`.
|
|
302
|
+
attr_reader :type
|
|
303
|
+
|
|
304
|
+
def self.inner_class_types
|
|
305
|
+
@inner_class_types = {}
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
def self.field_remappings
|
|
309
|
+
@field_remappings = {}
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
class By < ::Stripe::StripeObject
|
|
314
|
+
# Type of registration in `country`.
|
|
315
|
+
attr_reader :type
|
|
316
|
+
|
|
317
|
+
def self.inner_class_types
|
|
318
|
+
@inner_class_types = {}
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
def self.field_remappings
|
|
322
|
+
@field_remappings = {}
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
class Ca < ::Stripe::StripeObject
|
|
327
|
+
class ProvinceStandard < ::Stripe::StripeObject
|
|
328
|
+
# Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
329
|
+
attr_reader :province
|
|
330
|
+
|
|
331
|
+
def self.inner_class_types
|
|
332
|
+
@inner_class_types = {}
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
def self.field_remappings
|
|
336
|
+
@field_remappings = {}
|
|
337
|
+
end
|
|
338
|
+
end
|
|
339
|
+
# Attribute for field province_standard
|
|
340
|
+
attr_reader :province_standard
|
|
341
|
+
# Type of registration in Canada.
|
|
342
|
+
attr_reader :type
|
|
343
|
+
|
|
344
|
+
def self.inner_class_types
|
|
345
|
+
@inner_class_types = { province_standard: ProvinceStandard }
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
def self.field_remappings
|
|
349
|
+
@field_remappings = {}
|
|
350
|
+
end
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
class Cd < ::Stripe::StripeObject
|
|
354
|
+
# Type of registration in `country`.
|
|
355
|
+
attr_reader :type
|
|
356
|
+
|
|
357
|
+
def self.inner_class_types
|
|
358
|
+
@inner_class_types = {}
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
def self.field_remappings
|
|
362
|
+
@field_remappings = {}
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
class Ch < ::Stripe::StripeObject
|
|
367
|
+
class Standard < ::Stripe::StripeObject
|
|
368
|
+
# Place of supply scheme used in an Default standard registration.
|
|
369
|
+
attr_reader :place_of_supply_scheme
|
|
370
|
+
|
|
371
|
+
def self.inner_class_types
|
|
372
|
+
@inner_class_types = {}
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
def self.field_remappings
|
|
376
|
+
@field_remappings = {}
|
|
377
|
+
end
|
|
378
|
+
end
|
|
379
|
+
# Attribute for field standard
|
|
380
|
+
attr_reader :standard
|
|
381
|
+
# Type of registration in `country`.
|
|
382
|
+
attr_reader :type
|
|
383
|
+
|
|
384
|
+
def self.inner_class_types
|
|
385
|
+
@inner_class_types = { standard: Standard }
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
def self.field_remappings
|
|
389
|
+
@field_remappings = {}
|
|
390
|
+
end
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
class Cl < ::Stripe::StripeObject
|
|
394
|
+
# Type of registration in `country`.
|
|
395
|
+
attr_reader :type
|
|
396
|
+
|
|
397
|
+
def self.inner_class_types
|
|
398
|
+
@inner_class_types = {}
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
def self.field_remappings
|
|
402
|
+
@field_remappings = {}
|
|
403
|
+
end
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
class Cm < ::Stripe::StripeObject
|
|
407
|
+
# Type of registration in `country`.
|
|
408
|
+
attr_reader :type
|
|
409
|
+
|
|
410
|
+
def self.inner_class_types
|
|
411
|
+
@inner_class_types = {}
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
def self.field_remappings
|
|
415
|
+
@field_remappings = {}
|
|
416
|
+
end
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
class Co < ::Stripe::StripeObject
|
|
420
|
+
# Type of registration in `country`.
|
|
421
|
+
attr_reader :type
|
|
422
|
+
|
|
423
|
+
def self.inner_class_types
|
|
424
|
+
@inner_class_types = {}
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
def self.field_remappings
|
|
428
|
+
@field_remappings = {}
|
|
429
|
+
end
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
class Cr < ::Stripe::StripeObject
|
|
433
|
+
# Type of registration in `country`.
|
|
434
|
+
attr_reader :type
|
|
435
|
+
|
|
436
|
+
def self.inner_class_types
|
|
437
|
+
@inner_class_types = {}
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
def self.field_remappings
|
|
441
|
+
@field_remappings = {}
|
|
442
|
+
end
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
class Cv < ::Stripe::StripeObject
|
|
446
|
+
# Type of registration in `country`.
|
|
447
|
+
attr_reader :type
|
|
448
|
+
|
|
449
|
+
def self.inner_class_types
|
|
450
|
+
@inner_class_types = {}
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
def self.field_remappings
|
|
454
|
+
@field_remappings = {}
|
|
455
|
+
end
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
class Cy < ::Stripe::StripeObject
|
|
459
|
+
class Standard < ::Stripe::StripeObject
|
|
460
|
+
# Place of supply scheme used in an EU standard registration.
|
|
461
|
+
attr_reader :place_of_supply_scheme
|
|
462
|
+
|
|
463
|
+
def self.inner_class_types
|
|
464
|
+
@inner_class_types = {}
|
|
465
|
+
end
|
|
466
|
+
|
|
467
|
+
def self.field_remappings
|
|
468
|
+
@field_remappings = {}
|
|
469
|
+
end
|
|
470
|
+
end
|
|
471
|
+
# Attribute for field standard
|
|
472
|
+
attr_reader :standard
|
|
473
|
+
# Type of registration in an EU country.
|
|
474
|
+
attr_reader :type
|
|
475
|
+
|
|
476
|
+
def self.inner_class_types
|
|
477
|
+
@inner_class_types = { standard: Standard }
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
def self.field_remappings
|
|
481
|
+
@field_remappings = {}
|
|
482
|
+
end
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
class Cz < ::Stripe::StripeObject
|
|
486
|
+
class Standard < ::Stripe::StripeObject
|
|
487
|
+
# Place of supply scheme used in an EU standard registration.
|
|
488
|
+
attr_reader :place_of_supply_scheme
|
|
489
|
+
|
|
490
|
+
def self.inner_class_types
|
|
491
|
+
@inner_class_types = {}
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
def self.field_remappings
|
|
495
|
+
@field_remappings = {}
|
|
496
|
+
end
|
|
497
|
+
end
|
|
498
|
+
# Attribute for field standard
|
|
499
|
+
attr_reader :standard
|
|
500
|
+
# Type of registration in an EU country.
|
|
501
|
+
attr_reader :type
|
|
502
|
+
|
|
503
|
+
def self.inner_class_types
|
|
504
|
+
@inner_class_types = { standard: Standard }
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
def self.field_remappings
|
|
508
|
+
@field_remappings = {}
|
|
509
|
+
end
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
class De < ::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
|
+
|
|
517
|
+
def self.inner_class_types
|
|
518
|
+
@inner_class_types = {}
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
def self.field_remappings
|
|
522
|
+
@field_remappings = {}
|
|
523
|
+
end
|
|
524
|
+
end
|
|
525
|
+
# Attribute for field standard
|
|
526
|
+
attr_reader :standard
|
|
527
|
+
# Type of registration in an EU country.
|
|
528
|
+
attr_reader :type
|
|
529
|
+
|
|
530
|
+
def self.inner_class_types
|
|
531
|
+
@inner_class_types = { standard: Standard }
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
def self.field_remappings
|
|
535
|
+
@field_remappings = {}
|
|
536
|
+
end
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
class Dk < ::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
|
+
|
|
544
|
+
def self.inner_class_types
|
|
545
|
+
@inner_class_types = {}
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
def self.field_remappings
|
|
549
|
+
@field_remappings = {}
|
|
550
|
+
end
|
|
551
|
+
end
|
|
552
|
+
# Attribute for field standard
|
|
553
|
+
attr_reader :standard
|
|
554
|
+
# Type of registration in an EU country.
|
|
555
|
+
attr_reader :type
|
|
556
|
+
|
|
557
|
+
def self.inner_class_types
|
|
558
|
+
@inner_class_types = { standard: Standard }
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
def self.field_remappings
|
|
562
|
+
@field_remappings = {}
|
|
563
|
+
end
|
|
564
|
+
end
|
|
565
|
+
|
|
566
|
+
class Ec < ::Stripe::StripeObject
|
|
567
|
+
# Type of registration in `country`.
|
|
568
|
+
attr_reader :type
|
|
569
|
+
|
|
570
|
+
def self.inner_class_types
|
|
571
|
+
@inner_class_types = {}
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
def self.field_remappings
|
|
575
|
+
@field_remappings = {}
|
|
576
|
+
end
|
|
577
|
+
end
|
|
578
|
+
|
|
579
|
+
class Ee < ::Stripe::StripeObject
|
|
580
|
+
class Standard < ::Stripe::StripeObject
|
|
581
|
+
# Place of supply scheme used in an EU standard registration.
|
|
582
|
+
attr_reader :place_of_supply_scheme
|
|
583
|
+
|
|
584
|
+
def self.inner_class_types
|
|
585
|
+
@inner_class_types = {}
|
|
586
|
+
end
|
|
587
|
+
|
|
588
|
+
def self.field_remappings
|
|
589
|
+
@field_remappings = {}
|
|
590
|
+
end
|
|
591
|
+
end
|
|
592
|
+
# Attribute for field standard
|
|
593
|
+
attr_reader :standard
|
|
594
|
+
# Type of registration in an EU country.
|
|
595
|
+
attr_reader :type
|
|
596
|
+
|
|
597
|
+
def self.inner_class_types
|
|
598
|
+
@inner_class_types = { standard: Standard }
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
def self.field_remappings
|
|
602
|
+
@field_remappings = {}
|
|
603
|
+
end
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
class Eg < ::Stripe::StripeObject
|
|
607
|
+
# Type of registration in `country`.
|
|
608
|
+
attr_reader :type
|
|
609
|
+
|
|
610
|
+
def self.inner_class_types
|
|
611
|
+
@inner_class_types = {}
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
def self.field_remappings
|
|
615
|
+
@field_remappings = {}
|
|
616
|
+
end
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
class Es < ::Stripe::StripeObject
|
|
620
|
+
class Standard < ::Stripe::StripeObject
|
|
621
|
+
# Place of supply scheme used in an EU standard registration.
|
|
622
|
+
attr_reader :place_of_supply_scheme
|
|
623
|
+
|
|
624
|
+
def self.inner_class_types
|
|
625
|
+
@inner_class_types = {}
|
|
626
|
+
end
|
|
627
|
+
|
|
628
|
+
def self.field_remappings
|
|
629
|
+
@field_remappings = {}
|
|
630
|
+
end
|
|
631
|
+
end
|
|
632
|
+
# Attribute for field standard
|
|
633
|
+
attr_reader :standard
|
|
634
|
+
# Type of registration in an EU country.
|
|
635
|
+
attr_reader :type
|
|
636
|
+
|
|
637
|
+
def self.inner_class_types
|
|
638
|
+
@inner_class_types = { standard: Standard }
|
|
639
|
+
end
|
|
640
|
+
|
|
641
|
+
def self.field_remappings
|
|
642
|
+
@field_remappings = {}
|
|
643
|
+
end
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
class Et < ::Stripe::StripeObject
|
|
647
|
+
# Type of registration in `country`.
|
|
648
|
+
attr_reader :type
|
|
649
|
+
|
|
650
|
+
def self.inner_class_types
|
|
651
|
+
@inner_class_types = {}
|
|
652
|
+
end
|
|
653
|
+
|
|
654
|
+
def self.field_remappings
|
|
655
|
+
@field_remappings = {}
|
|
656
|
+
end
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
class Fi < ::Stripe::StripeObject
|
|
660
|
+
class Standard < ::Stripe::StripeObject
|
|
661
|
+
# Place of supply scheme used in an EU standard registration.
|
|
662
|
+
attr_reader :place_of_supply_scheme
|
|
663
|
+
|
|
664
|
+
def self.inner_class_types
|
|
665
|
+
@inner_class_types = {}
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
def self.field_remappings
|
|
669
|
+
@field_remappings = {}
|
|
670
|
+
end
|
|
671
|
+
end
|
|
672
|
+
# Attribute for field standard
|
|
673
|
+
attr_reader :standard
|
|
674
|
+
# Type of registration in an EU country.
|
|
675
|
+
attr_reader :type
|
|
676
|
+
|
|
677
|
+
def self.inner_class_types
|
|
678
|
+
@inner_class_types = { standard: Standard }
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
def self.field_remappings
|
|
682
|
+
@field_remappings = {}
|
|
683
|
+
end
|
|
684
|
+
end
|
|
685
|
+
|
|
686
|
+
class Fr < ::Stripe::StripeObject
|
|
687
|
+
class Standard < ::Stripe::StripeObject
|
|
688
|
+
# Place of supply scheme used in an EU standard registration.
|
|
689
|
+
attr_reader :place_of_supply_scheme
|
|
690
|
+
|
|
691
|
+
def self.inner_class_types
|
|
692
|
+
@inner_class_types = {}
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
def self.field_remappings
|
|
696
|
+
@field_remappings = {}
|
|
697
|
+
end
|
|
698
|
+
end
|
|
699
|
+
# Attribute for field standard
|
|
700
|
+
attr_reader :standard
|
|
701
|
+
# Type of registration in an EU country.
|
|
702
|
+
attr_reader :type
|
|
703
|
+
|
|
704
|
+
def self.inner_class_types
|
|
705
|
+
@inner_class_types = { standard: Standard }
|
|
706
|
+
end
|
|
707
|
+
|
|
708
|
+
def self.field_remappings
|
|
709
|
+
@field_remappings = {}
|
|
710
|
+
end
|
|
711
|
+
end
|
|
712
|
+
|
|
713
|
+
class Gb < ::Stripe::StripeObject
|
|
714
|
+
class Standard < ::Stripe::StripeObject
|
|
715
|
+
# Place of supply scheme used in an Default standard registration.
|
|
716
|
+
attr_reader :place_of_supply_scheme
|
|
717
|
+
|
|
718
|
+
def self.inner_class_types
|
|
719
|
+
@inner_class_types = {}
|
|
720
|
+
end
|
|
721
|
+
|
|
722
|
+
def self.field_remappings
|
|
723
|
+
@field_remappings = {}
|
|
724
|
+
end
|
|
725
|
+
end
|
|
726
|
+
# Attribute for field standard
|
|
727
|
+
attr_reader :standard
|
|
728
|
+
# Type of registration in `country`.
|
|
729
|
+
attr_reader :type
|
|
730
|
+
|
|
731
|
+
def self.inner_class_types
|
|
732
|
+
@inner_class_types = { standard: Standard }
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
def self.field_remappings
|
|
736
|
+
@field_remappings = {}
|
|
737
|
+
end
|
|
738
|
+
end
|
|
739
|
+
|
|
740
|
+
class Ge < ::Stripe::StripeObject
|
|
741
|
+
# Type of registration in `country`.
|
|
742
|
+
attr_reader :type
|
|
743
|
+
|
|
744
|
+
def self.inner_class_types
|
|
745
|
+
@inner_class_types = {}
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
def self.field_remappings
|
|
749
|
+
@field_remappings = {}
|
|
750
|
+
end
|
|
751
|
+
end
|
|
752
|
+
|
|
753
|
+
class Gn < ::Stripe::StripeObject
|
|
754
|
+
# Type of registration in `country`.
|
|
755
|
+
attr_reader :type
|
|
756
|
+
|
|
757
|
+
def self.inner_class_types
|
|
758
|
+
@inner_class_types = {}
|
|
759
|
+
end
|
|
760
|
+
|
|
761
|
+
def self.field_remappings
|
|
762
|
+
@field_remappings = {}
|
|
763
|
+
end
|
|
764
|
+
end
|
|
765
|
+
|
|
766
|
+
class Gr < ::Stripe::StripeObject
|
|
767
|
+
class Standard < ::Stripe::StripeObject
|
|
768
|
+
# Place of supply scheme used in an EU standard registration.
|
|
769
|
+
attr_reader :place_of_supply_scheme
|
|
770
|
+
|
|
771
|
+
def self.inner_class_types
|
|
772
|
+
@inner_class_types = {}
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
def self.field_remappings
|
|
776
|
+
@field_remappings = {}
|
|
777
|
+
end
|
|
778
|
+
end
|
|
779
|
+
# Attribute for field standard
|
|
780
|
+
attr_reader :standard
|
|
781
|
+
# Type of registration in an EU country.
|
|
782
|
+
attr_reader :type
|
|
783
|
+
|
|
784
|
+
def self.inner_class_types
|
|
785
|
+
@inner_class_types = { standard: Standard }
|
|
786
|
+
end
|
|
787
|
+
|
|
788
|
+
def self.field_remappings
|
|
789
|
+
@field_remappings = {}
|
|
790
|
+
end
|
|
791
|
+
end
|
|
792
|
+
|
|
793
|
+
class Hr < ::Stripe::StripeObject
|
|
794
|
+
class Standard < ::Stripe::StripeObject
|
|
795
|
+
# Place of supply scheme used in an EU standard registration.
|
|
796
|
+
attr_reader :place_of_supply_scheme
|
|
797
|
+
|
|
798
|
+
def self.inner_class_types
|
|
799
|
+
@inner_class_types = {}
|
|
800
|
+
end
|
|
801
|
+
|
|
802
|
+
def self.field_remappings
|
|
803
|
+
@field_remappings = {}
|
|
804
|
+
end
|
|
805
|
+
end
|
|
806
|
+
# Attribute for field standard
|
|
807
|
+
attr_reader :standard
|
|
808
|
+
# Type of registration in an EU country.
|
|
809
|
+
attr_reader :type
|
|
810
|
+
|
|
811
|
+
def self.inner_class_types
|
|
812
|
+
@inner_class_types = { standard: Standard }
|
|
813
|
+
end
|
|
814
|
+
|
|
815
|
+
def self.field_remappings
|
|
816
|
+
@field_remappings = {}
|
|
817
|
+
end
|
|
818
|
+
end
|
|
819
|
+
|
|
820
|
+
class Hu < ::Stripe::StripeObject
|
|
821
|
+
class Standard < ::Stripe::StripeObject
|
|
822
|
+
# Place of supply scheme used in an EU standard registration.
|
|
823
|
+
attr_reader :place_of_supply_scheme
|
|
824
|
+
|
|
825
|
+
def self.inner_class_types
|
|
826
|
+
@inner_class_types = {}
|
|
827
|
+
end
|
|
828
|
+
|
|
829
|
+
def self.field_remappings
|
|
830
|
+
@field_remappings = {}
|
|
831
|
+
end
|
|
832
|
+
end
|
|
833
|
+
# Attribute for field standard
|
|
834
|
+
attr_reader :standard
|
|
835
|
+
# Type of registration in an EU country.
|
|
836
|
+
attr_reader :type
|
|
837
|
+
|
|
838
|
+
def self.inner_class_types
|
|
839
|
+
@inner_class_types = { standard: Standard }
|
|
840
|
+
end
|
|
841
|
+
|
|
842
|
+
def self.field_remappings
|
|
843
|
+
@field_remappings = {}
|
|
844
|
+
end
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
class Id < ::Stripe::StripeObject
|
|
848
|
+
# Type of registration in `country`.
|
|
849
|
+
attr_reader :type
|
|
850
|
+
|
|
851
|
+
def self.inner_class_types
|
|
852
|
+
@inner_class_types = {}
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
def self.field_remappings
|
|
856
|
+
@field_remappings = {}
|
|
857
|
+
end
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
class Ie < ::Stripe::StripeObject
|
|
861
|
+
class Standard < ::Stripe::StripeObject
|
|
862
|
+
# Place of supply scheme used in an EU standard registration.
|
|
863
|
+
attr_reader :place_of_supply_scheme
|
|
864
|
+
|
|
865
|
+
def self.inner_class_types
|
|
866
|
+
@inner_class_types = {}
|
|
867
|
+
end
|
|
868
|
+
|
|
869
|
+
def self.field_remappings
|
|
870
|
+
@field_remappings = {}
|
|
871
|
+
end
|
|
872
|
+
end
|
|
873
|
+
# Attribute for field standard
|
|
874
|
+
attr_reader :standard
|
|
875
|
+
# Type of registration in an EU country.
|
|
876
|
+
attr_reader :type
|
|
877
|
+
|
|
878
|
+
def self.inner_class_types
|
|
879
|
+
@inner_class_types = { standard: Standard }
|
|
880
|
+
end
|
|
881
|
+
|
|
882
|
+
def self.field_remappings
|
|
883
|
+
@field_remappings = {}
|
|
884
|
+
end
|
|
885
|
+
end
|
|
886
|
+
|
|
887
|
+
class In < ::Stripe::StripeObject
|
|
888
|
+
# Type of registration in `country`.
|
|
889
|
+
attr_reader :type
|
|
890
|
+
|
|
891
|
+
def self.inner_class_types
|
|
892
|
+
@inner_class_types = {}
|
|
893
|
+
end
|
|
894
|
+
|
|
895
|
+
def self.field_remappings
|
|
896
|
+
@field_remappings = {}
|
|
897
|
+
end
|
|
898
|
+
end
|
|
899
|
+
|
|
900
|
+
class Is < ::Stripe::StripeObject
|
|
901
|
+
# Type of registration in `country`.
|
|
902
|
+
attr_reader :type
|
|
903
|
+
|
|
904
|
+
def self.inner_class_types
|
|
905
|
+
@inner_class_types = {}
|
|
906
|
+
end
|
|
907
|
+
|
|
908
|
+
def self.field_remappings
|
|
909
|
+
@field_remappings = {}
|
|
910
|
+
end
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
class It < ::Stripe::StripeObject
|
|
914
|
+
class Standard < ::Stripe::StripeObject
|
|
915
|
+
# Place of supply scheme used in an EU standard registration.
|
|
916
|
+
attr_reader :place_of_supply_scheme
|
|
917
|
+
|
|
918
|
+
def self.inner_class_types
|
|
919
|
+
@inner_class_types = {}
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
def self.field_remappings
|
|
923
|
+
@field_remappings = {}
|
|
924
|
+
end
|
|
925
|
+
end
|
|
926
|
+
# Attribute for field standard
|
|
927
|
+
attr_reader :standard
|
|
928
|
+
# Type of registration in an EU country.
|
|
929
|
+
attr_reader :type
|
|
930
|
+
|
|
931
|
+
def self.inner_class_types
|
|
932
|
+
@inner_class_types = { standard: Standard }
|
|
933
|
+
end
|
|
934
|
+
|
|
935
|
+
def self.field_remappings
|
|
936
|
+
@field_remappings = {}
|
|
937
|
+
end
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
class Jp < ::Stripe::StripeObject
|
|
941
|
+
class Standard < ::Stripe::StripeObject
|
|
942
|
+
# Place of supply scheme used in an Default standard registration.
|
|
943
|
+
attr_reader :place_of_supply_scheme
|
|
944
|
+
|
|
945
|
+
def self.inner_class_types
|
|
946
|
+
@inner_class_types = {}
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
def self.field_remappings
|
|
950
|
+
@field_remappings = {}
|
|
951
|
+
end
|
|
952
|
+
end
|
|
953
|
+
# Attribute for field standard
|
|
954
|
+
attr_reader :standard
|
|
955
|
+
# Type of registration in `country`.
|
|
956
|
+
attr_reader :type
|
|
957
|
+
|
|
958
|
+
def self.inner_class_types
|
|
959
|
+
@inner_class_types = { standard: Standard }
|
|
960
|
+
end
|
|
961
|
+
|
|
962
|
+
def self.field_remappings
|
|
963
|
+
@field_remappings = {}
|
|
964
|
+
end
|
|
965
|
+
end
|
|
966
|
+
|
|
967
|
+
class Ke < ::Stripe::StripeObject
|
|
968
|
+
# Type of registration in `country`.
|
|
969
|
+
attr_reader :type
|
|
970
|
+
|
|
971
|
+
def self.inner_class_types
|
|
972
|
+
@inner_class_types = {}
|
|
973
|
+
end
|
|
974
|
+
|
|
975
|
+
def self.field_remappings
|
|
976
|
+
@field_remappings = {}
|
|
977
|
+
end
|
|
978
|
+
end
|
|
979
|
+
|
|
980
|
+
class Kg < ::Stripe::StripeObject
|
|
981
|
+
# Type of registration in `country`.
|
|
982
|
+
attr_reader :type
|
|
983
|
+
|
|
984
|
+
def self.inner_class_types
|
|
985
|
+
@inner_class_types = {}
|
|
986
|
+
end
|
|
987
|
+
|
|
988
|
+
def self.field_remappings
|
|
989
|
+
@field_remappings = {}
|
|
990
|
+
end
|
|
991
|
+
end
|
|
992
|
+
|
|
993
|
+
class Kh < ::Stripe::StripeObject
|
|
994
|
+
# Type of registration in `country`.
|
|
995
|
+
attr_reader :type
|
|
996
|
+
|
|
997
|
+
def self.inner_class_types
|
|
998
|
+
@inner_class_types = {}
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
def self.field_remappings
|
|
1002
|
+
@field_remappings = {}
|
|
1003
|
+
end
|
|
1004
|
+
end
|
|
1005
|
+
|
|
1006
|
+
class Kr < ::Stripe::StripeObject
|
|
1007
|
+
# Type of registration in `country`.
|
|
1008
|
+
attr_reader :type
|
|
1009
|
+
|
|
1010
|
+
def self.inner_class_types
|
|
1011
|
+
@inner_class_types = {}
|
|
1012
|
+
end
|
|
1013
|
+
|
|
1014
|
+
def self.field_remappings
|
|
1015
|
+
@field_remappings = {}
|
|
1016
|
+
end
|
|
1017
|
+
end
|
|
1018
|
+
|
|
1019
|
+
class Kz < ::Stripe::StripeObject
|
|
1020
|
+
# Type of registration in `country`.
|
|
1021
|
+
attr_reader :type
|
|
1022
|
+
|
|
1023
|
+
def self.inner_class_types
|
|
1024
|
+
@inner_class_types = {}
|
|
1025
|
+
end
|
|
1026
|
+
|
|
1027
|
+
def self.field_remappings
|
|
1028
|
+
@field_remappings = {}
|
|
1029
|
+
end
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
class La < ::Stripe::StripeObject
|
|
1033
|
+
# Type of registration in `country`.
|
|
1034
|
+
attr_reader :type
|
|
1035
|
+
|
|
1036
|
+
def self.inner_class_types
|
|
1037
|
+
@inner_class_types = {}
|
|
1038
|
+
end
|
|
1039
|
+
|
|
1040
|
+
def self.field_remappings
|
|
1041
|
+
@field_remappings = {}
|
|
1042
|
+
end
|
|
1043
|
+
end
|
|
1044
|
+
|
|
1045
|
+
class Lt < ::Stripe::StripeObject
|
|
1046
|
+
class Standard < ::Stripe::StripeObject
|
|
1047
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1048
|
+
attr_reader :place_of_supply_scheme
|
|
1049
|
+
|
|
1050
|
+
def self.inner_class_types
|
|
1051
|
+
@inner_class_types = {}
|
|
1052
|
+
end
|
|
1053
|
+
|
|
1054
|
+
def self.field_remappings
|
|
1055
|
+
@field_remappings = {}
|
|
1056
|
+
end
|
|
1057
|
+
end
|
|
1058
|
+
# Attribute for field standard
|
|
1059
|
+
attr_reader :standard
|
|
1060
|
+
# Type of registration in an EU country.
|
|
1061
|
+
attr_reader :type
|
|
1062
|
+
|
|
1063
|
+
def self.inner_class_types
|
|
1064
|
+
@inner_class_types = { standard: Standard }
|
|
1065
|
+
end
|
|
1066
|
+
|
|
1067
|
+
def self.field_remappings
|
|
1068
|
+
@field_remappings = {}
|
|
1069
|
+
end
|
|
1070
|
+
end
|
|
1071
|
+
|
|
1072
|
+
class Lu < ::Stripe::StripeObject
|
|
1073
|
+
class Standard < ::Stripe::StripeObject
|
|
1074
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1075
|
+
attr_reader :place_of_supply_scheme
|
|
1076
|
+
|
|
1077
|
+
def self.inner_class_types
|
|
1078
|
+
@inner_class_types = {}
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
def self.field_remappings
|
|
1082
|
+
@field_remappings = {}
|
|
1083
|
+
end
|
|
1084
|
+
end
|
|
1085
|
+
# Attribute for field standard
|
|
1086
|
+
attr_reader :standard
|
|
1087
|
+
# Type of registration in an EU country.
|
|
1088
|
+
attr_reader :type
|
|
1089
|
+
|
|
1090
|
+
def self.inner_class_types
|
|
1091
|
+
@inner_class_types = { standard: Standard }
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
def self.field_remappings
|
|
1095
|
+
@field_remappings = {}
|
|
1096
|
+
end
|
|
1097
|
+
end
|
|
1098
|
+
|
|
1099
|
+
class Lv < ::Stripe::StripeObject
|
|
1100
|
+
class Standard < ::Stripe::StripeObject
|
|
1101
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1102
|
+
attr_reader :place_of_supply_scheme
|
|
1103
|
+
|
|
1104
|
+
def self.inner_class_types
|
|
1105
|
+
@inner_class_types = {}
|
|
1106
|
+
end
|
|
1107
|
+
|
|
1108
|
+
def self.field_remappings
|
|
1109
|
+
@field_remappings = {}
|
|
1110
|
+
end
|
|
1111
|
+
end
|
|
1112
|
+
# Attribute for field standard
|
|
1113
|
+
attr_reader :standard
|
|
1114
|
+
# Type of registration in an EU country.
|
|
1115
|
+
attr_reader :type
|
|
1116
|
+
|
|
1117
|
+
def self.inner_class_types
|
|
1118
|
+
@inner_class_types = { standard: Standard }
|
|
1119
|
+
end
|
|
1120
|
+
|
|
1121
|
+
def self.field_remappings
|
|
1122
|
+
@field_remappings = {}
|
|
1123
|
+
end
|
|
1124
|
+
end
|
|
1125
|
+
|
|
1126
|
+
class Ma < ::Stripe::StripeObject
|
|
1127
|
+
# Type of registration in `country`.
|
|
1128
|
+
attr_reader :type
|
|
1129
|
+
|
|
1130
|
+
def self.inner_class_types
|
|
1131
|
+
@inner_class_types = {}
|
|
1132
|
+
end
|
|
1133
|
+
|
|
1134
|
+
def self.field_remappings
|
|
1135
|
+
@field_remappings = {}
|
|
1136
|
+
end
|
|
1137
|
+
end
|
|
1138
|
+
|
|
1139
|
+
class Md < ::Stripe::StripeObject
|
|
1140
|
+
# Type of registration in `country`.
|
|
1141
|
+
attr_reader :type
|
|
1142
|
+
|
|
1143
|
+
def self.inner_class_types
|
|
1144
|
+
@inner_class_types = {}
|
|
1145
|
+
end
|
|
1146
|
+
|
|
1147
|
+
def self.field_remappings
|
|
1148
|
+
@field_remappings = {}
|
|
1149
|
+
end
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
class Me < ::Stripe::StripeObject
|
|
1153
|
+
# Type of registration in `country`.
|
|
1154
|
+
attr_reader :type
|
|
1155
|
+
|
|
1156
|
+
def self.inner_class_types
|
|
1157
|
+
@inner_class_types = {}
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1160
|
+
def self.field_remappings
|
|
1161
|
+
@field_remappings = {}
|
|
1162
|
+
end
|
|
1163
|
+
end
|
|
1164
|
+
|
|
1165
|
+
class Mk < ::Stripe::StripeObject
|
|
1166
|
+
# Type of registration in `country`.
|
|
1167
|
+
attr_reader :type
|
|
1168
|
+
|
|
1169
|
+
def self.inner_class_types
|
|
1170
|
+
@inner_class_types = {}
|
|
1171
|
+
end
|
|
1172
|
+
|
|
1173
|
+
def self.field_remappings
|
|
1174
|
+
@field_remappings = {}
|
|
1175
|
+
end
|
|
1176
|
+
end
|
|
1177
|
+
|
|
1178
|
+
class Mr < ::Stripe::StripeObject
|
|
1179
|
+
# Type of registration in `country`.
|
|
1180
|
+
attr_reader :type
|
|
1181
|
+
|
|
1182
|
+
def self.inner_class_types
|
|
1183
|
+
@inner_class_types = {}
|
|
1184
|
+
end
|
|
1185
|
+
|
|
1186
|
+
def self.field_remappings
|
|
1187
|
+
@field_remappings = {}
|
|
1188
|
+
end
|
|
1189
|
+
end
|
|
1190
|
+
|
|
1191
|
+
class Mt < ::Stripe::StripeObject
|
|
1192
|
+
class Standard < ::Stripe::StripeObject
|
|
1193
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1194
|
+
attr_reader :place_of_supply_scheme
|
|
1195
|
+
|
|
1196
|
+
def self.inner_class_types
|
|
1197
|
+
@inner_class_types = {}
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1200
|
+
def self.field_remappings
|
|
1201
|
+
@field_remappings = {}
|
|
1202
|
+
end
|
|
1203
|
+
end
|
|
1204
|
+
# Attribute for field standard
|
|
1205
|
+
attr_reader :standard
|
|
1206
|
+
# Type of registration in an EU country.
|
|
1207
|
+
attr_reader :type
|
|
1208
|
+
|
|
1209
|
+
def self.inner_class_types
|
|
1210
|
+
@inner_class_types = { standard: Standard }
|
|
1211
|
+
end
|
|
1212
|
+
|
|
1213
|
+
def self.field_remappings
|
|
1214
|
+
@field_remappings = {}
|
|
1215
|
+
end
|
|
1216
|
+
end
|
|
1217
|
+
|
|
1218
|
+
class Mx < ::Stripe::StripeObject
|
|
1219
|
+
# Type of registration in `country`.
|
|
1220
|
+
attr_reader :type
|
|
1221
|
+
|
|
1222
|
+
def self.inner_class_types
|
|
1223
|
+
@inner_class_types = {}
|
|
1224
|
+
end
|
|
1225
|
+
|
|
1226
|
+
def self.field_remappings
|
|
1227
|
+
@field_remappings = {}
|
|
1228
|
+
end
|
|
1229
|
+
end
|
|
1230
|
+
|
|
1231
|
+
class My < ::Stripe::StripeObject
|
|
1232
|
+
# Type of registration in `country`.
|
|
1233
|
+
attr_reader :type
|
|
1234
|
+
|
|
1235
|
+
def self.inner_class_types
|
|
1236
|
+
@inner_class_types = {}
|
|
1237
|
+
end
|
|
1238
|
+
|
|
1239
|
+
def self.field_remappings
|
|
1240
|
+
@field_remappings = {}
|
|
1241
|
+
end
|
|
1242
|
+
end
|
|
1243
|
+
|
|
1244
|
+
class Ng < ::Stripe::StripeObject
|
|
1245
|
+
# Type of registration in `country`.
|
|
1246
|
+
attr_reader :type
|
|
1247
|
+
|
|
1248
|
+
def self.inner_class_types
|
|
1249
|
+
@inner_class_types = {}
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1252
|
+
def self.field_remappings
|
|
1253
|
+
@field_remappings = {}
|
|
1254
|
+
end
|
|
1255
|
+
end
|
|
1256
|
+
|
|
1257
|
+
class Nl < ::Stripe::StripeObject
|
|
1258
|
+
class Standard < ::Stripe::StripeObject
|
|
1259
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1260
|
+
attr_reader :place_of_supply_scheme
|
|
1261
|
+
|
|
1262
|
+
def self.inner_class_types
|
|
1263
|
+
@inner_class_types = {}
|
|
1264
|
+
end
|
|
1265
|
+
|
|
1266
|
+
def self.field_remappings
|
|
1267
|
+
@field_remappings = {}
|
|
1268
|
+
end
|
|
1269
|
+
end
|
|
1270
|
+
# Attribute for field standard
|
|
1271
|
+
attr_reader :standard
|
|
1272
|
+
# Type of registration in an EU country.
|
|
1273
|
+
attr_reader :type
|
|
1274
|
+
|
|
1275
|
+
def self.inner_class_types
|
|
1276
|
+
@inner_class_types = { standard: Standard }
|
|
1277
|
+
end
|
|
1278
|
+
|
|
1279
|
+
def self.field_remappings
|
|
1280
|
+
@field_remappings = {}
|
|
1281
|
+
end
|
|
1282
|
+
end
|
|
1283
|
+
|
|
1284
|
+
class No < ::Stripe::StripeObject
|
|
1285
|
+
class Standard < ::Stripe::StripeObject
|
|
1286
|
+
# Place of supply scheme used in an Default standard registration.
|
|
1287
|
+
attr_reader :place_of_supply_scheme
|
|
1288
|
+
|
|
1289
|
+
def self.inner_class_types
|
|
1290
|
+
@inner_class_types = {}
|
|
1291
|
+
end
|
|
1292
|
+
|
|
1293
|
+
def self.field_remappings
|
|
1294
|
+
@field_remappings = {}
|
|
1295
|
+
end
|
|
1296
|
+
end
|
|
1297
|
+
# Attribute for field standard
|
|
1298
|
+
attr_reader :standard
|
|
1299
|
+
# Type of registration in `country`.
|
|
1300
|
+
attr_reader :type
|
|
1301
|
+
|
|
1302
|
+
def self.inner_class_types
|
|
1303
|
+
@inner_class_types = { standard: Standard }
|
|
1304
|
+
end
|
|
1305
|
+
|
|
1306
|
+
def self.field_remappings
|
|
1307
|
+
@field_remappings = {}
|
|
1308
|
+
end
|
|
1309
|
+
end
|
|
1310
|
+
|
|
1311
|
+
class Np < ::Stripe::StripeObject
|
|
1312
|
+
# Type of registration in `country`.
|
|
1313
|
+
attr_reader :type
|
|
1314
|
+
|
|
1315
|
+
def self.inner_class_types
|
|
1316
|
+
@inner_class_types = {}
|
|
1317
|
+
end
|
|
1318
|
+
|
|
1319
|
+
def self.field_remappings
|
|
1320
|
+
@field_remappings = {}
|
|
1321
|
+
end
|
|
1322
|
+
end
|
|
1323
|
+
|
|
1324
|
+
class Nz < ::Stripe::StripeObject
|
|
1325
|
+
class Standard < ::Stripe::StripeObject
|
|
1326
|
+
# Place of supply scheme used in an Default standard registration.
|
|
1327
|
+
attr_reader :place_of_supply_scheme
|
|
1328
|
+
|
|
1329
|
+
def self.inner_class_types
|
|
1330
|
+
@inner_class_types = {}
|
|
1331
|
+
end
|
|
1332
|
+
|
|
1333
|
+
def self.field_remappings
|
|
1334
|
+
@field_remappings = {}
|
|
1335
|
+
end
|
|
1336
|
+
end
|
|
1337
|
+
# Attribute for field standard
|
|
1338
|
+
attr_reader :standard
|
|
1339
|
+
# Type of registration in `country`.
|
|
1340
|
+
attr_reader :type
|
|
1341
|
+
|
|
1342
|
+
def self.inner_class_types
|
|
1343
|
+
@inner_class_types = { standard: Standard }
|
|
1344
|
+
end
|
|
1345
|
+
|
|
1346
|
+
def self.field_remappings
|
|
1347
|
+
@field_remappings = {}
|
|
1348
|
+
end
|
|
1349
|
+
end
|
|
1350
|
+
|
|
1351
|
+
class Om < ::Stripe::StripeObject
|
|
1352
|
+
# Type of registration in `country`.
|
|
1353
|
+
attr_reader :type
|
|
1354
|
+
|
|
1355
|
+
def self.inner_class_types
|
|
1356
|
+
@inner_class_types = {}
|
|
1357
|
+
end
|
|
1358
|
+
|
|
1359
|
+
def self.field_remappings
|
|
1360
|
+
@field_remappings = {}
|
|
1361
|
+
end
|
|
1362
|
+
end
|
|
1363
|
+
|
|
1364
|
+
class Pe < ::Stripe::StripeObject
|
|
1365
|
+
# Type of registration in `country`.
|
|
1366
|
+
attr_reader :type
|
|
1367
|
+
|
|
1368
|
+
def self.inner_class_types
|
|
1369
|
+
@inner_class_types = {}
|
|
1370
|
+
end
|
|
1371
|
+
|
|
1372
|
+
def self.field_remappings
|
|
1373
|
+
@field_remappings = {}
|
|
1374
|
+
end
|
|
1375
|
+
end
|
|
1376
|
+
|
|
1377
|
+
class Ph < ::Stripe::StripeObject
|
|
1378
|
+
# Type of registration in `country`.
|
|
1379
|
+
attr_reader :type
|
|
1380
|
+
|
|
1381
|
+
def self.inner_class_types
|
|
1382
|
+
@inner_class_types = {}
|
|
1383
|
+
end
|
|
1384
|
+
|
|
1385
|
+
def self.field_remappings
|
|
1386
|
+
@field_remappings = {}
|
|
1387
|
+
end
|
|
1388
|
+
end
|
|
1389
|
+
|
|
1390
|
+
class Pl < ::Stripe::StripeObject
|
|
1391
|
+
class Standard < ::Stripe::StripeObject
|
|
1392
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1393
|
+
attr_reader :place_of_supply_scheme
|
|
1394
|
+
|
|
1395
|
+
def self.inner_class_types
|
|
1396
|
+
@inner_class_types = {}
|
|
1397
|
+
end
|
|
1398
|
+
|
|
1399
|
+
def self.field_remappings
|
|
1400
|
+
@field_remappings = {}
|
|
1401
|
+
end
|
|
1402
|
+
end
|
|
1403
|
+
# Attribute for field standard
|
|
1404
|
+
attr_reader :standard
|
|
1405
|
+
# Type of registration in an EU country.
|
|
1406
|
+
attr_reader :type
|
|
1407
|
+
|
|
1408
|
+
def self.inner_class_types
|
|
1409
|
+
@inner_class_types = { standard: Standard }
|
|
1410
|
+
end
|
|
1411
|
+
|
|
1412
|
+
def self.field_remappings
|
|
1413
|
+
@field_remappings = {}
|
|
1414
|
+
end
|
|
1415
|
+
end
|
|
1416
|
+
|
|
1417
|
+
class Pt < ::Stripe::StripeObject
|
|
1418
|
+
class Standard < ::Stripe::StripeObject
|
|
1419
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1420
|
+
attr_reader :place_of_supply_scheme
|
|
1421
|
+
|
|
1422
|
+
def self.inner_class_types
|
|
1423
|
+
@inner_class_types = {}
|
|
1424
|
+
end
|
|
1425
|
+
|
|
1426
|
+
def self.field_remappings
|
|
1427
|
+
@field_remappings = {}
|
|
1428
|
+
end
|
|
1429
|
+
end
|
|
1430
|
+
# Attribute for field standard
|
|
1431
|
+
attr_reader :standard
|
|
1432
|
+
# Type of registration in an EU country.
|
|
1433
|
+
attr_reader :type
|
|
1434
|
+
|
|
1435
|
+
def self.inner_class_types
|
|
1436
|
+
@inner_class_types = { standard: Standard }
|
|
1437
|
+
end
|
|
1438
|
+
|
|
1439
|
+
def self.field_remappings
|
|
1440
|
+
@field_remappings = {}
|
|
1441
|
+
end
|
|
1442
|
+
end
|
|
1443
|
+
|
|
1444
|
+
class Ro < ::Stripe::StripeObject
|
|
1445
|
+
class Standard < ::Stripe::StripeObject
|
|
1446
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1447
|
+
attr_reader :place_of_supply_scheme
|
|
1448
|
+
|
|
1449
|
+
def self.inner_class_types
|
|
1450
|
+
@inner_class_types = {}
|
|
1451
|
+
end
|
|
1452
|
+
|
|
1453
|
+
def self.field_remappings
|
|
1454
|
+
@field_remappings = {}
|
|
1455
|
+
end
|
|
1456
|
+
end
|
|
1457
|
+
# Attribute for field standard
|
|
1458
|
+
attr_reader :standard
|
|
1459
|
+
# Type of registration in an EU country.
|
|
1460
|
+
attr_reader :type
|
|
1461
|
+
|
|
1462
|
+
def self.inner_class_types
|
|
1463
|
+
@inner_class_types = { standard: Standard }
|
|
1464
|
+
end
|
|
1465
|
+
|
|
1466
|
+
def self.field_remappings
|
|
1467
|
+
@field_remappings = {}
|
|
1468
|
+
end
|
|
1469
|
+
end
|
|
1470
|
+
|
|
1471
|
+
class Rs < ::Stripe::StripeObject
|
|
1472
|
+
# Type of registration in `country`.
|
|
1473
|
+
attr_reader :type
|
|
1474
|
+
|
|
1475
|
+
def self.inner_class_types
|
|
1476
|
+
@inner_class_types = {}
|
|
1477
|
+
end
|
|
1478
|
+
|
|
1479
|
+
def self.field_remappings
|
|
1480
|
+
@field_remappings = {}
|
|
1481
|
+
end
|
|
1482
|
+
end
|
|
1483
|
+
|
|
1484
|
+
class Ru < ::Stripe::StripeObject
|
|
1485
|
+
# Type of registration in `country`.
|
|
1486
|
+
attr_reader :type
|
|
1487
|
+
|
|
1488
|
+
def self.inner_class_types
|
|
1489
|
+
@inner_class_types = {}
|
|
1490
|
+
end
|
|
1491
|
+
|
|
1492
|
+
def self.field_remappings
|
|
1493
|
+
@field_remappings = {}
|
|
1494
|
+
end
|
|
1495
|
+
end
|
|
1496
|
+
|
|
1497
|
+
class Sa < ::Stripe::StripeObject
|
|
1498
|
+
# Type of registration in `country`.
|
|
1499
|
+
attr_reader :type
|
|
1500
|
+
|
|
1501
|
+
def self.inner_class_types
|
|
1502
|
+
@inner_class_types = {}
|
|
1503
|
+
end
|
|
1504
|
+
|
|
1505
|
+
def self.field_remappings
|
|
1506
|
+
@field_remappings = {}
|
|
1507
|
+
end
|
|
1508
|
+
end
|
|
1509
|
+
|
|
1510
|
+
class Se < ::Stripe::StripeObject
|
|
1511
|
+
class Standard < ::Stripe::StripeObject
|
|
1512
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1513
|
+
attr_reader :place_of_supply_scheme
|
|
1514
|
+
|
|
1515
|
+
def self.inner_class_types
|
|
1516
|
+
@inner_class_types = {}
|
|
1517
|
+
end
|
|
1518
|
+
|
|
1519
|
+
def self.field_remappings
|
|
1520
|
+
@field_remappings = {}
|
|
1521
|
+
end
|
|
1522
|
+
end
|
|
1523
|
+
# Attribute for field standard
|
|
1524
|
+
attr_reader :standard
|
|
1525
|
+
# Type of registration in an EU country.
|
|
1526
|
+
attr_reader :type
|
|
1527
|
+
|
|
1528
|
+
def self.inner_class_types
|
|
1529
|
+
@inner_class_types = { standard: Standard }
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1532
|
+
def self.field_remappings
|
|
1533
|
+
@field_remappings = {}
|
|
1534
|
+
end
|
|
1535
|
+
end
|
|
1536
|
+
|
|
1537
|
+
class Sg < ::Stripe::StripeObject
|
|
1538
|
+
class Standard < ::Stripe::StripeObject
|
|
1539
|
+
# Place of supply scheme used in an Default standard registration.
|
|
1540
|
+
attr_reader :place_of_supply_scheme
|
|
1541
|
+
|
|
1542
|
+
def self.inner_class_types
|
|
1543
|
+
@inner_class_types = {}
|
|
1544
|
+
end
|
|
1545
|
+
|
|
1546
|
+
def self.field_remappings
|
|
1547
|
+
@field_remappings = {}
|
|
1548
|
+
end
|
|
1549
|
+
end
|
|
1550
|
+
# Attribute for field standard
|
|
1551
|
+
attr_reader :standard
|
|
1552
|
+
# Type of registration in `country`.
|
|
1553
|
+
attr_reader :type
|
|
1554
|
+
|
|
1555
|
+
def self.inner_class_types
|
|
1556
|
+
@inner_class_types = { standard: Standard }
|
|
1557
|
+
end
|
|
1558
|
+
|
|
1559
|
+
def self.field_remappings
|
|
1560
|
+
@field_remappings = {}
|
|
1561
|
+
end
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1564
|
+
class Si < ::Stripe::StripeObject
|
|
1565
|
+
class Standard < ::Stripe::StripeObject
|
|
1566
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1567
|
+
attr_reader :place_of_supply_scheme
|
|
1568
|
+
|
|
1569
|
+
def self.inner_class_types
|
|
1570
|
+
@inner_class_types = {}
|
|
1571
|
+
end
|
|
1572
|
+
|
|
1573
|
+
def self.field_remappings
|
|
1574
|
+
@field_remappings = {}
|
|
1575
|
+
end
|
|
1576
|
+
end
|
|
1577
|
+
# Attribute for field standard
|
|
1578
|
+
attr_reader :standard
|
|
1579
|
+
# Type of registration in an EU country.
|
|
1580
|
+
attr_reader :type
|
|
1581
|
+
|
|
1582
|
+
def self.inner_class_types
|
|
1583
|
+
@inner_class_types = { standard: Standard }
|
|
1584
|
+
end
|
|
1585
|
+
|
|
1586
|
+
def self.field_remappings
|
|
1587
|
+
@field_remappings = {}
|
|
1588
|
+
end
|
|
1589
|
+
end
|
|
1590
|
+
|
|
1591
|
+
class Sk < ::Stripe::StripeObject
|
|
1592
|
+
class Standard < ::Stripe::StripeObject
|
|
1593
|
+
# Place of supply scheme used in an EU standard registration.
|
|
1594
|
+
attr_reader :place_of_supply_scheme
|
|
1595
|
+
|
|
1596
|
+
def self.inner_class_types
|
|
1597
|
+
@inner_class_types = {}
|
|
1598
|
+
end
|
|
1599
|
+
|
|
1600
|
+
def self.field_remappings
|
|
1601
|
+
@field_remappings = {}
|
|
1602
|
+
end
|
|
1603
|
+
end
|
|
1604
|
+
# Attribute for field standard
|
|
1605
|
+
attr_reader :standard
|
|
1606
|
+
# Type of registration in an EU country.
|
|
1607
|
+
attr_reader :type
|
|
1608
|
+
|
|
1609
|
+
def self.inner_class_types
|
|
1610
|
+
@inner_class_types = { standard: Standard }
|
|
1611
|
+
end
|
|
1612
|
+
|
|
1613
|
+
def self.field_remappings
|
|
1614
|
+
@field_remappings = {}
|
|
1615
|
+
end
|
|
1616
|
+
end
|
|
1617
|
+
|
|
1618
|
+
class Sn < ::Stripe::StripeObject
|
|
1619
|
+
# Type of registration in `country`.
|
|
1620
|
+
attr_reader :type
|
|
1621
|
+
|
|
1622
|
+
def self.inner_class_types
|
|
1623
|
+
@inner_class_types = {}
|
|
1624
|
+
end
|
|
1625
|
+
|
|
1626
|
+
def self.field_remappings
|
|
1627
|
+
@field_remappings = {}
|
|
1628
|
+
end
|
|
1629
|
+
end
|
|
1630
|
+
|
|
1631
|
+
class Sr < ::Stripe::StripeObject
|
|
1632
|
+
# Type of registration in `country`.
|
|
1633
|
+
attr_reader :type
|
|
1634
|
+
|
|
1635
|
+
def self.inner_class_types
|
|
1636
|
+
@inner_class_types = {}
|
|
1637
|
+
end
|
|
1638
|
+
|
|
1639
|
+
def self.field_remappings
|
|
1640
|
+
@field_remappings = {}
|
|
1641
|
+
end
|
|
1642
|
+
end
|
|
1643
|
+
|
|
1644
|
+
class Th < ::Stripe::StripeObject
|
|
1645
|
+
# Type of registration in `country`.
|
|
1646
|
+
attr_reader :type
|
|
1647
|
+
|
|
1648
|
+
def self.inner_class_types
|
|
1649
|
+
@inner_class_types = {}
|
|
1650
|
+
end
|
|
1651
|
+
|
|
1652
|
+
def self.field_remappings
|
|
1653
|
+
@field_remappings = {}
|
|
1654
|
+
end
|
|
1655
|
+
end
|
|
1656
|
+
|
|
1657
|
+
class Tj < ::Stripe::StripeObject
|
|
1658
|
+
# Type of registration in `country`.
|
|
1659
|
+
attr_reader :type
|
|
1660
|
+
|
|
1661
|
+
def self.inner_class_types
|
|
1662
|
+
@inner_class_types = {}
|
|
1663
|
+
end
|
|
1664
|
+
|
|
1665
|
+
def self.field_remappings
|
|
1666
|
+
@field_remappings = {}
|
|
1667
|
+
end
|
|
1668
|
+
end
|
|
1669
|
+
|
|
1670
|
+
class Tr < ::Stripe::StripeObject
|
|
1671
|
+
# Type of registration in `country`.
|
|
1672
|
+
attr_reader :type
|
|
1673
|
+
|
|
1674
|
+
def self.inner_class_types
|
|
1675
|
+
@inner_class_types = {}
|
|
1676
|
+
end
|
|
1677
|
+
|
|
1678
|
+
def self.field_remappings
|
|
1679
|
+
@field_remappings = {}
|
|
1680
|
+
end
|
|
1681
|
+
end
|
|
1682
|
+
|
|
1683
|
+
class Tw < ::Stripe::StripeObject
|
|
1684
|
+
# Type of registration in `country`.
|
|
1685
|
+
attr_reader :type
|
|
1686
|
+
|
|
1687
|
+
def self.inner_class_types
|
|
1688
|
+
@inner_class_types = {}
|
|
1689
|
+
end
|
|
1690
|
+
|
|
1691
|
+
def self.field_remappings
|
|
1692
|
+
@field_remappings = {}
|
|
1693
|
+
end
|
|
1694
|
+
end
|
|
1695
|
+
|
|
1696
|
+
class Tz < ::Stripe::StripeObject
|
|
1697
|
+
# Type of registration in `country`.
|
|
1698
|
+
attr_reader :type
|
|
1699
|
+
|
|
1700
|
+
def self.inner_class_types
|
|
1701
|
+
@inner_class_types = {}
|
|
1702
|
+
end
|
|
1703
|
+
|
|
1704
|
+
def self.field_remappings
|
|
1705
|
+
@field_remappings = {}
|
|
1706
|
+
end
|
|
1707
|
+
end
|
|
1708
|
+
|
|
1709
|
+
class Ua < ::Stripe::StripeObject
|
|
1710
|
+
# Type of registration in `country`.
|
|
1711
|
+
attr_reader :type
|
|
1712
|
+
|
|
1713
|
+
def self.inner_class_types
|
|
1714
|
+
@inner_class_types = {}
|
|
1715
|
+
end
|
|
1716
|
+
|
|
1717
|
+
def self.field_remappings
|
|
1718
|
+
@field_remappings = {}
|
|
1719
|
+
end
|
|
1720
|
+
end
|
|
1721
|
+
|
|
1722
|
+
class Ug < ::Stripe::StripeObject
|
|
1723
|
+
# Type of registration in `country`.
|
|
1724
|
+
attr_reader :type
|
|
1725
|
+
|
|
1726
|
+
def self.inner_class_types
|
|
1727
|
+
@inner_class_types = {}
|
|
1728
|
+
end
|
|
1729
|
+
|
|
1730
|
+
def self.field_remappings
|
|
1731
|
+
@field_remappings = {}
|
|
1732
|
+
end
|
|
1733
|
+
end
|
|
1734
|
+
|
|
1735
|
+
class Us < ::Stripe::StripeObject
|
|
1736
|
+
class LocalAmusementTax < ::Stripe::StripeObject
|
|
1737
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
|
|
1738
|
+
attr_reader :jurisdiction
|
|
1739
|
+
|
|
1740
|
+
def self.inner_class_types
|
|
1741
|
+
@inner_class_types = {}
|
|
1742
|
+
end
|
|
1743
|
+
|
|
1744
|
+
def self.field_remappings
|
|
1745
|
+
@field_remappings = {}
|
|
1746
|
+
end
|
|
1747
|
+
end
|
|
1748
|
+
|
|
1749
|
+
class LocalLeaseTax < ::Stripe::StripeObject
|
|
1750
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
|
|
1751
|
+
attr_reader :jurisdiction
|
|
1752
|
+
|
|
1753
|
+
def self.inner_class_types
|
|
1754
|
+
@inner_class_types = {}
|
|
1755
|
+
end
|
|
1756
|
+
|
|
1757
|
+
def self.field_remappings
|
|
1758
|
+
@field_remappings = {}
|
|
1759
|
+
end
|
|
1760
|
+
end
|
|
1761
|
+
|
|
1762
|
+
class StateSalesTax < ::Stripe::StripeObject
|
|
1763
|
+
class Election < ::Stripe::StripeObject
|
|
1764
|
+
# A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
|
|
1765
|
+
attr_reader :jurisdiction
|
|
1766
|
+
# The type of the election for the state sales tax registration.
|
|
1767
|
+
attr_reader :type
|
|
1768
|
+
|
|
1769
|
+
def self.inner_class_types
|
|
1770
|
+
@inner_class_types = {}
|
|
1771
|
+
end
|
|
1772
|
+
|
|
1773
|
+
def self.field_remappings
|
|
1774
|
+
@field_remappings = {}
|
|
1775
|
+
end
|
|
1776
|
+
end
|
|
1777
|
+
# Elections for the state sales tax registration.
|
|
1778
|
+
attr_reader :elections
|
|
1779
|
+
|
|
1780
|
+
def self.inner_class_types
|
|
1781
|
+
@inner_class_types = { elections: Election }
|
|
1782
|
+
end
|
|
1783
|
+
|
|
1784
|
+
def self.field_remappings
|
|
1785
|
+
@field_remappings = {}
|
|
1786
|
+
end
|
|
1787
|
+
end
|
|
1788
|
+
# Attribute for field local_amusement_tax
|
|
1789
|
+
attr_reader :local_amusement_tax
|
|
1790
|
+
# Attribute for field local_lease_tax
|
|
1791
|
+
attr_reader :local_lease_tax
|
|
1792
|
+
# Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1793
|
+
attr_reader :state
|
|
1794
|
+
# Attribute for field state_sales_tax
|
|
1795
|
+
attr_reader :state_sales_tax
|
|
1796
|
+
# Type of registration in the US.
|
|
1797
|
+
attr_reader :type
|
|
1798
|
+
|
|
1799
|
+
def self.inner_class_types
|
|
1800
|
+
@inner_class_types = {
|
|
1801
|
+
local_amusement_tax: LocalAmusementTax,
|
|
1802
|
+
local_lease_tax: LocalLeaseTax,
|
|
1803
|
+
state_sales_tax: StateSalesTax,
|
|
1804
|
+
}
|
|
1805
|
+
end
|
|
1806
|
+
|
|
1807
|
+
def self.field_remappings
|
|
1808
|
+
@field_remappings = {}
|
|
1809
|
+
end
|
|
1810
|
+
end
|
|
1811
|
+
|
|
1812
|
+
class Uy < ::Stripe::StripeObject
|
|
1813
|
+
# Type of registration in `country`.
|
|
1814
|
+
attr_reader :type
|
|
1815
|
+
|
|
1816
|
+
def self.inner_class_types
|
|
1817
|
+
@inner_class_types = {}
|
|
1818
|
+
end
|
|
1819
|
+
|
|
1820
|
+
def self.field_remappings
|
|
1821
|
+
@field_remappings = {}
|
|
1822
|
+
end
|
|
1823
|
+
end
|
|
1824
|
+
|
|
1825
|
+
class Uz < ::Stripe::StripeObject
|
|
1826
|
+
# Type of registration in `country`.
|
|
1827
|
+
attr_reader :type
|
|
1828
|
+
|
|
1829
|
+
def self.inner_class_types
|
|
1830
|
+
@inner_class_types = {}
|
|
1831
|
+
end
|
|
1832
|
+
|
|
1833
|
+
def self.field_remappings
|
|
1834
|
+
@field_remappings = {}
|
|
1835
|
+
end
|
|
1836
|
+
end
|
|
1837
|
+
|
|
1838
|
+
class Vn < ::Stripe::StripeObject
|
|
1839
|
+
# Type of registration in `country`.
|
|
1840
|
+
attr_reader :type
|
|
1841
|
+
|
|
1842
|
+
def self.inner_class_types
|
|
1843
|
+
@inner_class_types = {}
|
|
1844
|
+
end
|
|
1845
|
+
|
|
1846
|
+
def self.field_remappings
|
|
1847
|
+
@field_remappings = {}
|
|
1848
|
+
end
|
|
1849
|
+
end
|
|
1850
|
+
|
|
1851
|
+
class Za < ::Stripe::StripeObject
|
|
1852
|
+
# Type of registration in `country`.
|
|
1853
|
+
attr_reader :type
|
|
1854
|
+
|
|
1855
|
+
def self.inner_class_types
|
|
1856
|
+
@inner_class_types = {}
|
|
1857
|
+
end
|
|
1858
|
+
|
|
1859
|
+
def self.field_remappings
|
|
1860
|
+
@field_remappings = {}
|
|
1861
|
+
end
|
|
1862
|
+
end
|
|
1863
|
+
|
|
1864
|
+
class Zm < ::Stripe::StripeObject
|
|
1865
|
+
# Type of registration in `country`.
|
|
1866
|
+
attr_reader :type
|
|
1867
|
+
|
|
1868
|
+
def self.inner_class_types
|
|
1869
|
+
@inner_class_types = {}
|
|
1870
|
+
end
|
|
1871
|
+
|
|
1872
|
+
def self.field_remappings
|
|
1873
|
+
@field_remappings = {}
|
|
1874
|
+
end
|
|
1875
|
+
end
|
|
1876
|
+
|
|
1877
|
+
class Zw < ::Stripe::StripeObject
|
|
1878
|
+
# Type of registration in `country`.
|
|
1879
|
+
attr_reader :type
|
|
1880
|
+
|
|
1881
|
+
def self.inner_class_types
|
|
1882
|
+
@inner_class_types = {}
|
|
1883
|
+
end
|
|
1884
|
+
|
|
1885
|
+
def self.field_remappings
|
|
1886
|
+
@field_remappings = {}
|
|
1887
|
+
end
|
|
1888
|
+
end
|
|
1889
|
+
# Attribute for field ae
|
|
1890
|
+
attr_reader :ae
|
|
1891
|
+
# Attribute for field al
|
|
1892
|
+
attr_reader :al
|
|
1893
|
+
# Attribute for field am
|
|
1894
|
+
attr_reader :am
|
|
1895
|
+
# Attribute for field ao
|
|
1896
|
+
attr_reader :ao
|
|
1897
|
+
# Attribute for field at
|
|
1898
|
+
attr_reader :at
|
|
1899
|
+
# Attribute for field au
|
|
1900
|
+
attr_reader :au
|
|
1901
|
+
# Attribute for field aw
|
|
1902
|
+
attr_reader :aw
|
|
1903
|
+
# Attribute for field az
|
|
1904
|
+
attr_reader :az
|
|
1905
|
+
# Attribute for field ba
|
|
1906
|
+
attr_reader :ba
|
|
1907
|
+
# Attribute for field bb
|
|
1908
|
+
attr_reader :bb
|
|
1909
|
+
# Attribute for field bd
|
|
1910
|
+
attr_reader :bd
|
|
1911
|
+
# Attribute for field be
|
|
1912
|
+
attr_reader :be
|
|
1913
|
+
# Attribute for field bf
|
|
1914
|
+
attr_reader :bf
|
|
1915
|
+
# Attribute for field bg
|
|
1916
|
+
attr_reader :bg
|
|
1917
|
+
# Attribute for field bh
|
|
1918
|
+
attr_reader :bh
|
|
1919
|
+
# Attribute for field bj
|
|
1920
|
+
attr_reader :bj
|
|
1921
|
+
# Attribute for field bs
|
|
1922
|
+
attr_reader :bs
|
|
1923
|
+
# Attribute for field by
|
|
1924
|
+
attr_reader :by
|
|
1925
|
+
# Attribute for field ca
|
|
1926
|
+
attr_reader :ca
|
|
1927
|
+
# Attribute for field cd
|
|
1928
|
+
attr_reader :cd
|
|
1929
|
+
# Attribute for field ch
|
|
1930
|
+
attr_reader :ch
|
|
1931
|
+
# Attribute for field cl
|
|
1932
|
+
attr_reader :cl
|
|
1933
|
+
# Attribute for field cm
|
|
1934
|
+
attr_reader :cm
|
|
1935
|
+
# Attribute for field co
|
|
1936
|
+
attr_reader :co
|
|
1937
|
+
# Attribute for field cr
|
|
1938
|
+
attr_reader :cr
|
|
1939
|
+
# Attribute for field cv
|
|
1940
|
+
attr_reader :cv
|
|
1941
|
+
# Attribute for field cy
|
|
1942
|
+
attr_reader :cy
|
|
1943
|
+
# Attribute for field cz
|
|
1944
|
+
attr_reader :cz
|
|
1945
|
+
# Attribute for field de
|
|
1946
|
+
attr_reader :de
|
|
1947
|
+
# Attribute for field dk
|
|
1948
|
+
attr_reader :dk
|
|
1949
|
+
# Attribute for field ec
|
|
1950
|
+
attr_reader :ec
|
|
1951
|
+
# Attribute for field ee
|
|
1952
|
+
attr_reader :ee
|
|
1953
|
+
# Attribute for field eg
|
|
1954
|
+
attr_reader :eg
|
|
1955
|
+
# Attribute for field es
|
|
1956
|
+
attr_reader :es
|
|
1957
|
+
# Attribute for field et
|
|
1958
|
+
attr_reader :et
|
|
1959
|
+
# Attribute for field fi
|
|
1960
|
+
attr_reader :fi
|
|
1961
|
+
# Attribute for field fr
|
|
1962
|
+
attr_reader :fr
|
|
1963
|
+
# Attribute for field gb
|
|
1964
|
+
attr_reader :gb
|
|
1965
|
+
# Attribute for field ge
|
|
1966
|
+
attr_reader :ge
|
|
1967
|
+
# Attribute for field gn
|
|
1968
|
+
attr_reader :gn
|
|
1969
|
+
# Attribute for field gr
|
|
1970
|
+
attr_reader :gr
|
|
1971
|
+
# Attribute for field hr
|
|
1972
|
+
attr_reader :hr
|
|
1973
|
+
# Attribute for field hu
|
|
1974
|
+
attr_reader :hu
|
|
1975
|
+
# Attribute for field id
|
|
1976
|
+
attr_reader :id
|
|
1977
|
+
# Attribute for field ie
|
|
1978
|
+
attr_reader :ie
|
|
1979
|
+
# Attribute for field in
|
|
1980
|
+
attr_reader :in
|
|
1981
|
+
# Attribute for field is
|
|
1982
|
+
attr_reader :is
|
|
1983
|
+
# Attribute for field it
|
|
1984
|
+
attr_reader :it
|
|
1985
|
+
# Attribute for field jp
|
|
1986
|
+
attr_reader :jp
|
|
1987
|
+
# Attribute for field ke
|
|
1988
|
+
attr_reader :ke
|
|
1989
|
+
# Attribute for field kg
|
|
1990
|
+
attr_reader :kg
|
|
1991
|
+
# Attribute for field kh
|
|
1992
|
+
attr_reader :kh
|
|
1993
|
+
# Attribute for field kr
|
|
1994
|
+
attr_reader :kr
|
|
1995
|
+
# Attribute for field kz
|
|
1996
|
+
attr_reader :kz
|
|
1997
|
+
# Attribute for field la
|
|
1998
|
+
attr_reader :la
|
|
1999
|
+
# Attribute for field lt
|
|
2000
|
+
attr_reader :lt
|
|
2001
|
+
# Attribute for field lu
|
|
2002
|
+
attr_reader :lu
|
|
2003
|
+
# Attribute for field lv
|
|
2004
|
+
attr_reader :lv
|
|
2005
|
+
# Attribute for field ma
|
|
2006
|
+
attr_reader :ma
|
|
2007
|
+
# Attribute for field md
|
|
2008
|
+
attr_reader :md
|
|
2009
|
+
# Attribute for field me
|
|
2010
|
+
attr_reader :me
|
|
2011
|
+
# Attribute for field mk
|
|
2012
|
+
attr_reader :mk
|
|
2013
|
+
# Attribute for field mr
|
|
2014
|
+
attr_reader :mr
|
|
2015
|
+
# Attribute for field mt
|
|
2016
|
+
attr_reader :mt
|
|
2017
|
+
# Attribute for field mx
|
|
2018
|
+
attr_reader :mx
|
|
2019
|
+
# Attribute for field my
|
|
2020
|
+
attr_reader :my
|
|
2021
|
+
# Attribute for field ng
|
|
2022
|
+
attr_reader :ng
|
|
2023
|
+
# Attribute for field nl
|
|
2024
|
+
attr_reader :nl
|
|
2025
|
+
# Attribute for field no
|
|
2026
|
+
attr_reader :no
|
|
2027
|
+
# Attribute for field np
|
|
2028
|
+
attr_reader :np
|
|
2029
|
+
# Attribute for field nz
|
|
2030
|
+
attr_reader :nz
|
|
2031
|
+
# Attribute for field om
|
|
2032
|
+
attr_reader :om
|
|
2033
|
+
# Attribute for field pe
|
|
2034
|
+
attr_reader :pe
|
|
2035
|
+
# Attribute for field ph
|
|
2036
|
+
attr_reader :ph
|
|
2037
|
+
# Attribute for field pl
|
|
2038
|
+
attr_reader :pl
|
|
2039
|
+
# Attribute for field pt
|
|
2040
|
+
attr_reader :pt
|
|
2041
|
+
# Attribute for field ro
|
|
2042
|
+
attr_reader :ro
|
|
2043
|
+
# Attribute for field rs
|
|
2044
|
+
attr_reader :rs
|
|
2045
|
+
# Attribute for field ru
|
|
2046
|
+
attr_reader :ru
|
|
2047
|
+
# Attribute for field sa
|
|
2048
|
+
attr_reader :sa
|
|
2049
|
+
# Attribute for field se
|
|
2050
|
+
attr_reader :se
|
|
2051
|
+
# Attribute for field sg
|
|
2052
|
+
attr_reader :sg
|
|
2053
|
+
# Attribute for field si
|
|
2054
|
+
attr_reader :si
|
|
2055
|
+
# Attribute for field sk
|
|
2056
|
+
attr_reader :sk
|
|
2057
|
+
# Attribute for field sn
|
|
2058
|
+
attr_reader :sn
|
|
2059
|
+
# Attribute for field sr
|
|
2060
|
+
attr_reader :sr
|
|
2061
|
+
# Attribute for field th
|
|
2062
|
+
attr_reader :th
|
|
2063
|
+
# Attribute for field tj
|
|
2064
|
+
attr_reader :tj
|
|
2065
|
+
# Attribute for field tr
|
|
2066
|
+
attr_reader :tr
|
|
2067
|
+
# Attribute for field tw
|
|
2068
|
+
attr_reader :tw
|
|
2069
|
+
# Attribute for field tz
|
|
2070
|
+
attr_reader :tz
|
|
2071
|
+
# Attribute for field ua
|
|
2072
|
+
attr_reader :ua
|
|
2073
|
+
# Attribute for field ug
|
|
2074
|
+
attr_reader :ug
|
|
2075
|
+
# Attribute for field us
|
|
2076
|
+
attr_reader :us
|
|
2077
|
+
# Attribute for field uy
|
|
2078
|
+
attr_reader :uy
|
|
2079
|
+
# Attribute for field uz
|
|
2080
|
+
attr_reader :uz
|
|
2081
|
+
# Attribute for field vn
|
|
2082
|
+
attr_reader :vn
|
|
2083
|
+
# Attribute for field za
|
|
2084
|
+
attr_reader :za
|
|
2085
|
+
# Attribute for field zm
|
|
2086
|
+
attr_reader :zm
|
|
2087
|
+
# Attribute for field zw
|
|
2088
|
+
attr_reader :zw
|
|
2089
|
+
|
|
2090
|
+
def self.inner_class_types
|
|
2091
|
+
@inner_class_types = {
|
|
2092
|
+
ae: Ae,
|
|
2093
|
+
al: Al,
|
|
2094
|
+
am: Am,
|
|
2095
|
+
ao: Ao,
|
|
2096
|
+
at: At,
|
|
2097
|
+
au: Au,
|
|
2098
|
+
aw: Aw,
|
|
2099
|
+
az: Az,
|
|
2100
|
+
ba: Ba,
|
|
2101
|
+
bb: Bb,
|
|
2102
|
+
bd: Bd,
|
|
2103
|
+
be: Be,
|
|
2104
|
+
bf: Bf,
|
|
2105
|
+
bg: Bg,
|
|
2106
|
+
bh: Bh,
|
|
2107
|
+
bj: Bj,
|
|
2108
|
+
bs: Bs,
|
|
2109
|
+
by: By,
|
|
2110
|
+
ca: Ca,
|
|
2111
|
+
cd: Cd,
|
|
2112
|
+
ch: Ch,
|
|
2113
|
+
cl: Cl,
|
|
2114
|
+
cm: Cm,
|
|
2115
|
+
co: Co,
|
|
2116
|
+
cr: Cr,
|
|
2117
|
+
cv: Cv,
|
|
2118
|
+
cy: Cy,
|
|
2119
|
+
cz: Cz,
|
|
2120
|
+
de: De,
|
|
2121
|
+
dk: Dk,
|
|
2122
|
+
ec: Ec,
|
|
2123
|
+
ee: Ee,
|
|
2124
|
+
eg: Eg,
|
|
2125
|
+
es: Es,
|
|
2126
|
+
et: Et,
|
|
2127
|
+
fi: Fi,
|
|
2128
|
+
fr: Fr,
|
|
2129
|
+
gb: Gb,
|
|
2130
|
+
ge: Ge,
|
|
2131
|
+
gn: Gn,
|
|
2132
|
+
gr: Gr,
|
|
2133
|
+
hr: Hr,
|
|
2134
|
+
hu: Hu,
|
|
2135
|
+
id: Id,
|
|
2136
|
+
ie: Ie,
|
|
2137
|
+
in: In,
|
|
2138
|
+
is: Is,
|
|
2139
|
+
it: It,
|
|
2140
|
+
jp: Jp,
|
|
2141
|
+
ke: Ke,
|
|
2142
|
+
kg: Kg,
|
|
2143
|
+
kh: Kh,
|
|
2144
|
+
kr: Kr,
|
|
2145
|
+
kz: Kz,
|
|
2146
|
+
la: La,
|
|
2147
|
+
lt: Lt,
|
|
2148
|
+
lu: Lu,
|
|
2149
|
+
lv: Lv,
|
|
2150
|
+
ma: Ma,
|
|
2151
|
+
md: Md,
|
|
2152
|
+
me: Me,
|
|
2153
|
+
mk: Mk,
|
|
2154
|
+
mr: Mr,
|
|
2155
|
+
mt: Mt,
|
|
2156
|
+
mx: Mx,
|
|
2157
|
+
my: My,
|
|
2158
|
+
ng: Ng,
|
|
2159
|
+
nl: Nl,
|
|
2160
|
+
no: No,
|
|
2161
|
+
np: Np,
|
|
2162
|
+
nz: Nz,
|
|
2163
|
+
om: Om,
|
|
2164
|
+
pe: Pe,
|
|
2165
|
+
ph: Ph,
|
|
2166
|
+
pl: Pl,
|
|
2167
|
+
pt: Pt,
|
|
2168
|
+
ro: Ro,
|
|
2169
|
+
rs: Rs,
|
|
2170
|
+
ru: Ru,
|
|
2171
|
+
sa: Sa,
|
|
2172
|
+
se: Se,
|
|
2173
|
+
sg: Sg,
|
|
2174
|
+
si: Si,
|
|
2175
|
+
sk: Sk,
|
|
2176
|
+
sn: Sn,
|
|
2177
|
+
sr: Sr,
|
|
2178
|
+
th: Th,
|
|
2179
|
+
tj: Tj,
|
|
2180
|
+
tr: Tr,
|
|
2181
|
+
tw: Tw,
|
|
2182
|
+
tz: Tz,
|
|
2183
|
+
ua: Ua,
|
|
2184
|
+
ug: Ug,
|
|
2185
|
+
us: Us,
|
|
2186
|
+
uy: Uy,
|
|
2187
|
+
uz: Uz,
|
|
2188
|
+
vn: Vn,
|
|
2189
|
+
za: Za,
|
|
2190
|
+
zm: Zm,
|
|
2191
|
+
zw: Zw,
|
|
2192
|
+
}
|
|
2193
|
+
end
|
|
2194
|
+
|
|
2195
|
+
def self.field_remappings
|
|
2196
|
+
@field_remappings = {}
|
|
2197
|
+
end
|
|
2198
|
+
end
|
|
2199
|
+
# Time at which the registration becomes active. Measured in seconds since the Unix epoch.
|
|
2200
|
+
attr_reader :active_from
|
|
2201
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2202
|
+
attr_reader :country
|
|
2203
|
+
# Attribute for field country_options
|
|
2204
|
+
attr_reader :country_options
|
|
2205
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
2206
|
+
attr_reader :created
|
|
2207
|
+
# 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.
|
|
2208
|
+
attr_reader :expires_at
|
|
2209
|
+
# Unique identifier for the object.
|
|
2210
|
+
attr_reader :id
|
|
2211
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
2212
|
+
attr_reader :livemode
|
|
2213
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
2214
|
+
attr_reader :object
|
|
2215
|
+
# The status of the registration. This field is present for convenience and can be deduced from `active_from` and `expires_at`.
|
|
2216
|
+
attr_reader :status
|
|
2217
|
+
|
|
2218
|
+
# Creates a new Tax Registration object.
|
|
2219
|
+
def self.create(params = {}, opts = {})
|
|
2220
|
+
request_stripe_object(
|
|
2221
|
+
method: :post,
|
|
2222
|
+
path: "/v1/tax/registrations",
|
|
2223
|
+
params: params,
|
|
2224
|
+
opts: opts
|
|
2225
|
+
)
|
|
2226
|
+
end
|
|
2227
|
+
|
|
2228
|
+
# Returns a list of Tax Registration objects.
|
|
2229
|
+
def self.list(params = {}, opts = {})
|
|
2230
|
+
request_stripe_object(
|
|
2231
|
+
method: :get,
|
|
2232
|
+
path: "/v1/tax/registrations",
|
|
2233
|
+
params: params,
|
|
2234
|
+
opts: opts
|
|
2235
|
+
)
|
|
2236
|
+
end
|
|
2237
|
+
|
|
2238
|
+
# Updates an existing Tax Registration object.
|
|
2239
|
+
#
|
|
2240
|
+
# A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.
|
|
2241
|
+
def self.update(id, params = {}, opts = {})
|
|
2242
|
+
request_stripe_object(
|
|
2243
|
+
method: :post,
|
|
2244
|
+
path: format("/v1/tax/registrations/%<id>s", { id: CGI.escape(id) }),
|
|
2245
|
+
params: params,
|
|
2246
|
+
opts: opts
|
|
2247
|
+
)
|
|
2248
|
+
end
|
|
2249
|
+
|
|
2250
|
+
def self.inner_class_types
|
|
2251
|
+
@inner_class_types = { country_options: CountryOptions }
|
|
2252
|
+
end
|
|
2253
|
+
|
|
2254
|
+
def self.field_remappings
|
|
2255
|
+
@field_remappings = {}
|
|
2256
|
+
end
|
|
2257
|
+
end
|
|
2258
|
+
end
|
|
2259
|
+
end
|