stripe 19.4.0.pre.beta.1 → 19.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +2 -63
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/error_object.rb +43 -19
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -236
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -60
- data/lib/stripe/params/account_create_params.rb +73 -398
- data/lib/stripe/params/account_person_create_params.rb +6 -0
- data/lib/stripe/params/account_person_update_params.rb +6 -0
- data/lib/stripe/params/account_reject_params.rb +4 -1
- data/lib/stripe/params/account_session_create_params.rb +21 -230
- data/lib/stripe/params/{quote_mark_draft_params.rb → account_unreject_params.rb} +1 -1
- data/lib/stripe/params/account_update_params.rb +81 -332
- data/lib/stripe/params/billing/alert_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -1
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +24 -133
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_create_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +9 -38
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -70
- data/lib/stripe/params/invoice_create_preview_params.rb +16 -844
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -48
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +4 -0
- data/lib/stripe/params/issuing/card_update_params.rb +4 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +137 -3047
- data/lib/stripe/params/payment_intent_create_params.rb +152 -3062
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +105 -3049
- data/lib/stripe/params/payment_link_create_params.rb +0 -15
- data/lib/stripe/params/payment_link_update_params.rb +58 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
- data/lib/stripe/params/payment_method_create_params.rb +0 -74
- data/lib/stripe/params/{account_notice_list_params.rb → payment_record_list_params.rb} +15 -5
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- data/lib/stripe/params/promotion_code_create_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +31 -810
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +32 -818
- data/lib/stripe/params/setup_intent_confirm_params.rb +7 -108
- data/lib/stripe/params/setup_intent_create_params.rb +7 -108
- data/lib/stripe/params/setup_intent_update_params.rb +7 -108
- data/lib/stripe/params/subscription_create_params.rb +6 -170
- data/lib/stripe/params/subscription_item_create_params.rb +2 -62
- data/lib/stripe/params/subscription_item_update_params.rb +1 -45
- data/lib/stripe/params/subscription_resume_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +65 -171
- data/lib/stripe/params/subscription_schedule_list_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +66 -172
- data/lib/stripe/params/subscription_update_params.rb +6 -154
- data/lib/stripe/params/tax/calculation_create_params.rb +2 -6
- data/lib/stripe/params/tax/registration_create_params.rb +12 -90
- data/lib/stripe/params/tax_id_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/token_create_params.rb +78 -0
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -4
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/core/account_create_params.rb +48 -403
- data/lib/stripe/params/v2/core/account_token_create_params.rb +44 -13
- data/lib/stripe/params/v2/core/account_update_params.rb +48 -396
- data/lib/stripe/params.rb +4 -426
- data/lib/stripe/resources/account.rb +87 -265
- data/lib/stripe/resources/account_session.rb +8 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/billing_portal/configuration.rb +1 -1
- data/lib/stripe/resources/capability.rb +2 -2
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +4 -230
- data/lib/stripe/resources/checkout/session.rb +20 -92
- data/lib/stripe/resources/confirmation_token.rb +1 -132
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +4 -24
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +25 -91
- data/lib/stripe/resources/invoice.rb +2 -118
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/authorization.rb +0 -16
- data/lib/stripe/resources/issuing/card.rb +2 -16
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +1 -19
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -12
- data/lib/stripe/resources/payment_attempt_record.rb +3 -179
- data/lib/stripe/resources/payment_intent.rb +23 -1574
- data/lib/stripe/resources/payment_method.rb +3 -154
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +10 -179
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +23 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +6 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +0 -35
- data/lib/stripe/resources/setup_intent.rb +3 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -167
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +49 -200
- data/lib/stripe/resources/tax/calculation.rb +1 -1
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +10 -106
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/tax_id.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- data/lib/stripe/resources/topup.rb +31 -1
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +100 -949
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources.rb +0 -425
- data/lib/stripe/services/account_person_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +14 -14
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -11
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/payment_method_service.rb +1 -1
- data/lib/stripe/services/payment_record_service.rb +11 -0
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -56
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +0 -209
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/telemetry_id.rb +65 -0
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +2 -54
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -3
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +46727 -112851
- metadata +7 -380
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_under_review_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -63
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +0 -15
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/invoice_detach_payment_params.rb +0 -16
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_create_params.rb +0 -2083
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -2087
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -67
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_pause_params.rb +0 -50
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -53
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -88
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -84
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -927
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -106
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1183
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -736
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1801
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/tax/location.rb +0 -72
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -91
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
- data/lib/stripe/resources/v2/billing/profile.rb +0 -47
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -486
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
- data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -29
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -160
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -234
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -211
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -232
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/authorization_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_service.rb +0 -53
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -19
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
- data/lib/stripe/services/shared_payment_service.rb +0 -14
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/tax/location_service.rb +0 -45
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -102
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/data_service.rb +0 -15
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -32
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/stripe_event_notification_handler.rb +0 -594
|
@@ -110,8 +110,6 @@ module Stripe
|
|
|
110
110
|
attr_accessor :name
|
|
111
111
|
# Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
|
|
112
112
|
attr_accessor :product_description
|
|
113
|
-
# A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.
|
|
114
|
-
attr_accessor :specified_commercial_transactions_act_url
|
|
115
113
|
# A publicly available mailing address for sending support issues to.
|
|
116
114
|
attr_accessor :support_address
|
|
117
115
|
# A publicly available email address for sending support issues to.
|
|
@@ -131,7 +129,6 @@ module Stripe
|
|
|
131
129
|
monthly_estimated_revenue: nil,
|
|
132
130
|
name: nil,
|
|
133
131
|
product_description: nil,
|
|
134
|
-
specified_commercial_transactions_act_url: nil,
|
|
135
132
|
support_address: nil,
|
|
136
133
|
support_email: nil,
|
|
137
134
|
support_phone: nil,
|
|
@@ -145,7 +142,6 @@ module Stripe
|
|
|
145
142
|
@monthly_estimated_revenue = monthly_estimated_revenue
|
|
146
143
|
@name = name
|
|
147
144
|
@product_description = product_description
|
|
148
|
-
@specified_commercial_transactions_act_url = specified_commercial_transactions_act_url
|
|
149
145
|
@support_address = support_address
|
|
150
146
|
@support_email = support_email
|
|
151
147
|
@support_phone = support_phone
|
|
@@ -218,15 +214,6 @@ module Stripe
|
|
|
218
214
|
end
|
|
219
215
|
end
|
|
220
216
|
|
|
221
|
-
class AutomaticIndirectTax < ::Stripe::RequestParams
|
|
222
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
223
|
-
attr_accessor :requested
|
|
224
|
-
|
|
225
|
-
def initialize(requested: nil)
|
|
226
|
-
@requested = requested
|
|
227
|
-
end
|
|
228
|
-
end
|
|
229
|
-
|
|
230
217
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
231
218
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
232
219
|
attr_accessor :requested
|
|
@@ -371,15 +358,6 @@ module Stripe
|
|
|
371
358
|
end
|
|
372
359
|
end
|
|
373
360
|
|
|
374
|
-
class GopayPayments < ::Stripe::RequestParams
|
|
375
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
376
|
-
attr_accessor :requested
|
|
377
|
-
|
|
378
|
-
def initialize(requested: nil)
|
|
379
|
-
@requested = requested
|
|
380
|
-
end
|
|
381
|
-
end
|
|
382
|
-
|
|
383
361
|
class GrabpayPayments < ::Stripe::RequestParams
|
|
384
362
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
385
363
|
attr_accessor :requested
|
|
@@ -389,24 +367,6 @@ module Stripe
|
|
|
389
367
|
end
|
|
390
368
|
end
|
|
391
369
|
|
|
392
|
-
class IdBankTransferPayments < ::Stripe::RequestParams
|
|
393
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
394
|
-
attr_accessor :requested
|
|
395
|
-
|
|
396
|
-
def initialize(requested: nil)
|
|
397
|
-
@requested = requested
|
|
398
|
-
end
|
|
399
|
-
end
|
|
400
|
-
|
|
401
|
-
class IdBankTransferPaymentsBca < ::Stripe::RequestParams
|
|
402
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
403
|
-
attr_accessor :requested
|
|
404
|
-
|
|
405
|
-
def initialize(requested: nil)
|
|
406
|
-
@requested = requested
|
|
407
|
-
end
|
|
408
|
-
end
|
|
409
|
-
|
|
410
370
|
class IdealPayments < ::Stripe::RequestParams
|
|
411
371
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
412
372
|
attr_accessor :requested
|
|
@@ -596,24 +556,6 @@ module Stripe
|
|
|
596
556
|
end
|
|
597
557
|
end
|
|
598
558
|
|
|
599
|
-
class PaypalPayments < ::Stripe::RequestParams
|
|
600
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
601
|
-
attr_accessor :requested
|
|
602
|
-
|
|
603
|
-
def initialize(requested: nil)
|
|
604
|
-
@requested = requested
|
|
605
|
-
end
|
|
606
|
-
end
|
|
607
|
-
|
|
608
|
-
class PaypayPayments < ::Stripe::RequestParams
|
|
609
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
610
|
-
attr_accessor :requested
|
|
611
|
-
|
|
612
|
-
def initialize(requested: nil)
|
|
613
|
-
@requested = requested
|
|
614
|
-
end
|
|
615
|
-
end
|
|
616
|
-
|
|
617
559
|
class PaytoPayments < ::Stripe::RequestParams
|
|
618
560
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
619
561
|
attr_accessor :requested
|
|
@@ -641,24 +583,6 @@ module Stripe
|
|
|
641
583
|
end
|
|
642
584
|
end
|
|
643
585
|
|
|
644
|
-
class QrisPayments < ::Stripe::RequestParams
|
|
645
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
646
|
-
attr_accessor :requested
|
|
647
|
-
|
|
648
|
-
def initialize(requested: nil)
|
|
649
|
-
@requested = requested
|
|
650
|
-
end
|
|
651
|
-
end
|
|
652
|
-
|
|
653
|
-
class RechnungPayments < ::Stripe::RequestParams
|
|
654
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
655
|
-
attr_accessor :requested
|
|
656
|
-
|
|
657
|
-
def initialize(requested: nil)
|
|
658
|
-
@requested = requested
|
|
659
|
-
end
|
|
660
|
-
end
|
|
661
|
-
|
|
662
586
|
class RevolutPayPayments < ::Stripe::RequestParams
|
|
663
587
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
664
588
|
attr_accessor :requested
|
|
@@ -713,15 +637,6 @@ module Stripe
|
|
|
713
637
|
end
|
|
714
638
|
end
|
|
715
639
|
|
|
716
|
-
class ShopeepayPayments < ::Stripe::RequestParams
|
|
717
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
718
|
-
attr_accessor :requested
|
|
719
|
-
|
|
720
|
-
def initialize(requested: nil)
|
|
721
|
-
@requested = requested
|
|
722
|
-
end
|
|
723
|
-
end
|
|
724
|
-
|
|
725
640
|
class SofortPayments < ::Stripe::RequestParams
|
|
726
641
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
727
642
|
attr_accessor :requested
|
|
@@ -731,15 +646,6 @@ module Stripe
|
|
|
731
646
|
end
|
|
732
647
|
end
|
|
733
648
|
|
|
734
|
-
class StripeBalancePayments < ::Stripe::RequestParams
|
|
735
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
736
|
-
attr_accessor :requested
|
|
737
|
-
|
|
738
|
-
def initialize(requested: nil)
|
|
739
|
-
@requested = requested
|
|
740
|
-
end
|
|
741
|
-
end
|
|
742
|
-
|
|
743
649
|
class SunbitPayments < ::Stripe::RequestParams
|
|
744
650
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
745
651
|
attr_accessor :requested
|
|
@@ -794,33 +700,6 @@ module Stripe
|
|
|
794
700
|
end
|
|
795
701
|
end
|
|
796
702
|
|
|
797
|
-
class TreasuryEvolve < ::Stripe::RequestParams
|
|
798
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
799
|
-
attr_accessor :requested
|
|
800
|
-
|
|
801
|
-
def initialize(requested: nil)
|
|
802
|
-
@requested = requested
|
|
803
|
-
end
|
|
804
|
-
end
|
|
805
|
-
|
|
806
|
-
class TreasuryFifthThird < ::Stripe::RequestParams
|
|
807
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
808
|
-
attr_accessor :requested
|
|
809
|
-
|
|
810
|
-
def initialize(requested: nil)
|
|
811
|
-
@requested = requested
|
|
812
|
-
end
|
|
813
|
-
end
|
|
814
|
-
|
|
815
|
-
class TreasuryGoldmanSachs < ::Stripe::RequestParams
|
|
816
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
817
|
-
attr_accessor :requested
|
|
818
|
-
|
|
819
|
-
def initialize(requested: nil)
|
|
820
|
-
@requested = requested
|
|
821
|
-
end
|
|
822
|
-
end
|
|
823
|
-
|
|
824
703
|
class TwintPayments < ::Stripe::RequestParams
|
|
825
704
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
826
705
|
attr_accessor :requested
|
|
@@ -879,8 +758,6 @@ module Stripe
|
|
|
879
758
|
attr_accessor :app_distribution
|
|
880
759
|
# The au_becs_debit_payments capability.
|
|
881
760
|
attr_accessor :au_becs_debit_payments
|
|
882
|
-
# The automatic_indirect_tax capability.
|
|
883
|
-
attr_accessor :automatic_indirect_tax
|
|
884
761
|
# The bacs_debit_payments capability.
|
|
885
762
|
attr_accessor :bacs_debit_payments
|
|
886
763
|
# The bancontact_payments capability.
|
|
@@ -913,14 +790,8 @@ module Stripe
|
|
|
913
790
|
attr_accessor :gb_bank_transfer_payments
|
|
914
791
|
# The giropay_payments capability.
|
|
915
792
|
attr_accessor :giropay_payments
|
|
916
|
-
# The gopay_payments capability.
|
|
917
|
-
attr_accessor :gopay_payments
|
|
918
793
|
# The grabpay_payments capability.
|
|
919
794
|
attr_accessor :grabpay_payments
|
|
920
|
-
# The id_bank_transfer_payments capability.
|
|
921
|
-
attr_accessor :id_bank_transfer_payments
|
|
922
|
-
# The id_bank_transfer_payments_bca capability.
|
|
923
|
-
attr_accessor :id_bank_transfer_payments_bca
|
|
924
795
|
# The ideal_payments capability.
|
|
925
796
|
attr_accessor :ideal_payments
|
|
926
797
|
# The india_international_payments capability.
|
|
@@ -963,20 +834,12 @@ module Stripe
|
|
|
963
834
|
attr_accessor :payco_payments
|
|
964
835
|
# The paynow_payments capability.
|
|
965
836
|
attr_accessor :paynow_payments
|
|
966
|
-
# The paypal_payments capability.
|
|
967
|
-
attr_accessor :paypal_payments
|
|
968
|
-
# The paypay_payments capability.
|
|
969
|
-
attr_accessor :paypay_payments
|
|
970
837
|
# The payto_payments capability.
|
|
971
838
|
attr_accessor :payto_payments
|
|
972
839
|
# The pix_payments capability.
|
|
973
840
|
attr_accessor :pix_payments
|
|
974
841
|
# The promptpay_payments capability.
|
|
975
842
|
attr_accessor :promptpay_payments
|
|
976
|
-
# The qris_payments capability.
|
|
977
|
-
attr_accessor :qris_payments
|
|
978
|
-
# The rechnung_payments capability.
|
|
979
|
-
attr_accessor :rechnung_payments
|
|
980
843
|
# The revolut_pay_payments capability.
|
|
981
844
|
attr_accessor :revolut_pay_payments
|
|
982
845
|
# The samsung_pay_payments capability.
|
|
@@ -989,12 +852,8 @@ module Stripe
|
|
|
989
852
|
attr_accessor :sepa_bank_transfer_payments
|
|
990
853
|
# The sepa_debit_payments capability.
|
|
991
854
|
attr_accessor :sepa_debit_payments
|
|
992
|
-
# The shopeepay_payments capability.
|
|
993
|
-
attr_accessor :shopeepay_payments
|
|
994
855
|
# The sofort_payments capability.
|
|
995
856
|
attr_accessor :sofort_payments
|
|
996
|
-
# The stripe_balance_payments capability.
|
|
997
|
-
attr_accessor :stripe_balance_payments
|
|
998
857
|
# The sunbit_payments capability.
|
|
999
858
|
attr_accessor :sunbit_payments
|
|
1000
859
|
# The swish_payments capability.
|
|
@@ -1007,12 +866,6 @@ module Stripe
|
|
|
1007
866
|
attr_accessor :transfers
|
|
1008
867
|
# The treasury capability.
|
|
1009
868
|
attr_accessor :treasury
|
|
1010
|
-
# The treasury_evolve capability.
|
|
1011
|
-
attr_accessor :treasury_evolve
|
|
1012
|
-
# The treasury_fifth_third capability.
|
|
1013
|
-
attr_accessor :treasury_fifth_third
|
|
1014
|
-
# The treasury_goldman_sachs capability.
|
|
1015
|
-
attr_accessor :treasury_goldman_sachs
|
|
1016
869
|
# The twint_payments capability.
|
|
1017
870
|
attr_accessor :twint_payments
|
|
1018
871
|
# The upi_payments capability.
|
|
@@ -1032,7 +885,6 @@ module Stripe
|
|
|
1032
885
|
amazon_pay_payments: nil,
|
|
1033
886
|
app_distribution: nil,
|
|
1034
887
|
au_becs_debit_payments: nil,
|
|
1035
|
-
automatic_indirect_tax: nil,
|
|
1036
888
|
bacs_debit_payments: nil,
|
|
1037
889
|
bancontact_payments: nil,
|
|
1038
890
|
bank_transfer_payments: nil,
|
|
@@ -1049,10 +901,7 @@ module Stripe
|
|
|
1049
901
|
fpx_payments: nil,
|
|
1050
902
|
gb_bank_transfer_payments: nil,
|
|
1051
903
|
giropay_payments: nil,
|
|
1052
|
-
gopay_payments: nil,
|
|
1053
904
|
grabpay_payments: nil,
|
|
1054
|
-
id_bank_transfer_payments: nil,
|
|
1055
|
-
id_bank_transfer_payments_bca: nil,
|
|
1056
905
|
ideal_payments: nil,
|
|
1057
906
|
india_international_payments: nil,
|
|
1058
907
|
jcb_payments: nil,
|
|
@@ -1074,31 +923,22 @@ module Stripe
|
|
|
1074
923
|
pay_by_bank_payments: nil,
|
|
1075
924
|
payco_payments: nil,
|
|
1076
925
|
paynow_payments: nil,
|
|
1077
|
-
paypal_payments: nil,
|
|
1078
|
-
paypay_payments: nil,
|
|
1079
926
|
payto_payments: nil,
|
|
1080
927
|
pix_payments: nil,
|
|
1081
928
|
promptpay_payments: nil,
|
|
1082
|
-
qris_payments: nil,
|
|
1083
|
-
rechnung_payments: nil,
|
|
1084
929
|
revolut_pay_payments: nil,
|
|
1085
930
|
samsung_pay_payments: nil,
|
|
1086
931
|
satispay_payments: nil,
|
|
1087
932
|
scalapay_payments: nil,
|
|
1088
933
|
sepa_bank_transfer_payments: nil,
|
|
1089
934
|
sepa_debit_payments: nil,
|
|
1090
|
-
shopeepay_payments: nil,
|
|
1091
935
|
sofort_payments: nil,
|
|
1092
|
-
stripe_balance_payments: nil,
|
|
1093
936
|
sunbit_payments: nil,
|
|
1094
937
|
swish_payments: nil,
|
|
1095
938
|
tax_reporting_us_1099_k: nil,
|
|
1096
939
|
tax_reporting_us_1099_misc: nil,
|
|
1097
940
|
transfers: nil,
|
|
1098
941
|
treasury: nil,
|
|
1099
|
-
treasury_evolve: nil,
|
|
1100
|
-
treasury_fifth_third: nil,
|
|
1101
|
-
treasury_goldman_sachs: nil,
|
|
1102
942
|
twint_payments: nil,
|
|
1103
943
|
upi_payments: nil,
|
|
1104
944
|
us_bank_account_ach_payments: nil,
|
|
@@ -1112,7 +952,6 @@ module Stripe
|
|
|
1112
952
|
@amazon_pay_payments = amazon_pay_payments
|
|
1113
953
|
@app_distribution = app_distribution
|
|
1114
954
|
@au_becs_debit_payments = au_becs_debit_payments
|
|
1115
|
-
@automatic_indirect_tax = automatic_indirect_tax
|
|
1116
955
|
@bacs_debit_payments = bacs_debit_payments
|
|
1117
956
|
@bancontact_payments = bancontact_payments
|
|
1118
957
|
@bank_transfer_payments = bank_transfer_payments
|
|
@@ -1129,10 +968,7 @@ module Stripe
|
|
|
1129
968
|
@fpx_payments = fpx_payments
|
|
1130
969
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
|
1131
970
|
@giropay_payments = giropay_payments
|
|
1132
|
-
@gopay_payments = gopay_payments
|
|
1133
971
|
@grabpay_payments = grabpay_payments
|
|
1134
|
-
@id_bank_transfer_payments = id_bank_transfer_payments
|
|
1135
|
-
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
|
1136
972
|
@ideal_payments = ideal_payments
|
|
1137
973
|
@india_international_payments = india_international_payments
|
|
1138
974
|
@jcb_payments = jcb_payments
|
|
@@ -1154,31 +990,22 @@ module Stripe
|
|
|
1154
990
|
@pay_by_bank_payments = pay_by_bank_payments
|
|
1155
991
|
@payco_payments = payco_payments
|
|
1156
992
|
@paynow_payments = paynow_payments
|
|
1157
|
-
@paypal_payments = paypal_payments
|
|
1158
|
-
@paypay_payments = paypay_payments
|
|
1159
993
|
@payto_payments = payto_payments
|
|
1160
994
|
@pix_payments = pix_payments
|
|
1161
995
|
@promptpay_payments = promptpay_payments
|
|
1162
|
-
@qris_payments = qris_payments
|
|
1163
|
-
@rechnung_payments = rechnung_payments
|
|
1164
996
|
@revolut_pay_payments = revolut_pay_payments
|
|
1165
997
|
@samsung_pay_payments = samsung_pay_payments
|
|
1166
998
|
@satispay_payments = satispay_payments
|
|
1167
999
|
@scalapay_payments = scalapay_payments
|
|
1168
1000
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
|
1169
1001
|
@sepa_debit_payments = sepa_debit_payments
|
|
1170
|
-
@shopeepay_payments = shopeepay_payments
|
|
1171
1002
|
@sofort_payments = sofort_payments
|
|
1172
|
-
@stripe_balance_payments = stripe_balance_payments
|
|
1173
1003
|
@sunbit_payments = sunbit_payments
|
|
1174
1004
|
@swish_payments = swish_payments
|
|
1175
1005
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
|
1176
1006
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
|
1177
1007
|
@transfers = transfers
|
|
1178
1008
|
@treasury = treasury
|
|
1179
|
-
@treasury_evolve = treasury_evolve
|
|
1180
|
-
@treasury_fifth_third = treasury_fifth_third
|
|
1181
|
-
@treasury_goldman_sachs = treasury_goldman_sachs
|
|
1182
1009
|
@twint_payments = twint_payments
|
|
1183
1010
|
@upi_payments = upi_payments
|
|
1184
1011
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
|
@@ -1371,6 +1198,37 @@ module Stripe
|
|
|
1371
1198
|
end
|
|
1372
1199
|
end
|
|
1373
1200
|
|
|
1201
|
+
class AdministrativeAddress < ::Stripe::RequestParams
|
|
1202
|
+
# City, district, suburb, town, or village.
|
|
1203
|
+
attr_accessor :city
|
|
1204
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1205
|
+
attr_accessor :country
|
|
1206
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1207
|
+
attr_accessor :line1
|
|
1208
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1209
|
+
attr_accessor :line2
|
|
1210
|
+
# ZIP or postal code.
|
|
1211
|
+
attr_accessor :postal_code
|
|
1212
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1213
|
+
attr_accessor :state
|
|
1214
|
+
|
|
1215
|
+
def initialize(
|
|
1216
|
+
city: nil,
|
|
1217
|
+
country: nil,
|
|
1218
|
+
line1: nil,
|
|
1219
|
+
line2: nil,
|
|
1220
|
+
postal_code: nil,
|
|
1221
|
+
state: nil
|
|
1222
|
+
)
|
|
1223
|
+
@city = city
|
|
1224
|
+
@country = country
|
|
1225
|
+
@line1 = line1
|
|
1226
|
+
@line2 = line2
|
|
1227
|
+
@postal_code = postal_code
|
|
1228
|
+
@state = state
|
|
1229
|
+
end
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1374
1232
|
class DirectorshipDeclaration < ::Stripe::RequestParams
|
|
1375
1233
|
# The Unix timestamp marking when the directorship declaration attestation was made.
|
|
1376
1234
|
attr_accessor :date
|
|
@@ -1401,6 +1259,37 @@ module Stripe
|
|
|
1401
1259
|
end
|
|
1402
1260
|
end
|
|
1403
1261
|
|
|
1262
|
+
class PrincipalPlaceOfBusiness < ::Stripe::RequestParams
|
|
1263
|
+
# City, district, suburb, town, or village.
|
|
1264
|
+
attr_accessor :city
|
|
1265
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1266
|
+
attr_accessor :country
|
|
1267
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1268
|
+
attr_accessor :line1
|
|
1269
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1270
|
+
attr_accessor :line2
|
|
1271
|
+
# ZIP or postal code.
|
|
1272
|
+
attr_accessor :postal_code
|
|
1273
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1274
|
+
attr_accessor :state
|
|
1275
|
+
|
|
1276
|
+
def initialize(
|
|
1277
|
+
city: nil,
|
|
1278
|
+
country: nil,
|
|
1279
|
+
line1: nil,
|
|
1280
|
+
line2: nil,
|
|
1281
|
+
postal_code: nil,
|
|
1282
|
+
state: nil
|
|
1283
|
+
)
|
|
1284
|
+
@city = city
|
|
1285
|
+
@country = country
|
|
1286
|
+
@line1 = line1
|
|
1287
|
+
@line2 = line2
|
|
1288
|
+
@postal_code = postal_code
|
|
1289
|
+
@state = state
|
|
1290
|
+
end
|
|
1291
|
+
end
|
|
1292
|
+
|
|
1404
1293
|
class RegistrationDate < ::Stripe::RequestParams
|
|
1405
1294
|
# The day of registration, between 1 and 31.
|
|
1406
1295
|
attr_accessor :day
|
|
@@ -1456,6 +1345,8 @@ module Stripe
|
|
|
1456
1345
|
attr_accessor :address_kana
|
|
1457
1346
|
# The Kanji variation of the company's primary address (Japan only).
|
|
1458
1347
|
attr_accessor :address_kanji
|
|
1348
|
+
# Attribute for param field administrative_address
|
|
1349
|
+
attr_accessor :administrative_address
|
|
1459
1350
|
# Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
|
|
1460
1351
|
attr_accessor :directors_provided
|
|
1461
1352
|
# This hash is used to attest that the directors information provided to Stripe is both current and correct.
|
|
@@ -1480,6 +1371,8 @@ module Stripe
|
|
|
1480
1371
|
attr_accessor :ownership_exemption_reason
|
|
1481
1372
|
# The company's phone number (used for verification).
|
|
1482
1373
|
attr_accessor :phone
|
|
1374
|
+
# Attribute for param field principal_place_of_business
|
|
1375
|
+
attr_accessor :principal_place_of_business
|
|
1483
1376
|
# Attribute for param field registration_date
|
|
1484
1377
|
attr_accessor :registration_date
|
|
1485
1378
|
# The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
|
|
@@ -1489,6 +1382,8 @@ module Stripe
|
|
|
1489
1382
|
# The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
|
1490
1383
|
attr_accessor :structure
|
|
1491
1384
|
# The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
|
|
1385
|
+
#
|
|
1386
|
+
# Changing this value requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance).
|
|
1492
1387
|
attr_accessor :tax_id
|
|
1493
1388
|
# The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
|
|
1494
1389
|
attr_accessor :tax_id_registrar
|
|
@@ -1501,6 +1396,7 @@ module Stripe
|
|
|
1501
1396
|
address: nil,
|
|
1502
1397
|
address_kana: nil,
|
|
1503
1398
|
address_kanji: nil,
|
|
1399
|
+
administrative_address: nil,
|
|
1504
1400
|
directors_provided: nil,
|
|
1505
1401
|
directorship_declaration: nil,
|
|
1506
1402
|
executives_provided: nil,
|
|
@@ -1513,6 +1409,7 @@ module Stripe
|
|
|
1513
1409
|
ownership_declaration: nil,
|
|
1514
1410
|
ownership_exemption_reason: nil,
|
|
1515
1411
|
phone: nil,
|
|
1412
|
+
principal_place_of_business: nil,
|
|
1516
1413
|
registration_date: nil,
|
|
1517
1414
|
registration_number: nil,
|
|
1518
1415
|
representative_declaration: nil,
|
|
@@ -1525,6 +1422,7 @@ module Stripe
|
|
|
1525
1422
|
@address = address
|
|
1526
1423
|
@address_kana = address_kana
|
|
1527
1424
|
@address_kanji = address_kanji
|
|
1425
|
+
@administrative_address = administrative_address
|
|
1528
1426
|
@directors_provided = directors_provided
|
|
1529
1427
|
@directorship_declaration = directorship_declaration
|
|
1530
1428
|
@executives_provided = executives_provided
|
|
@@ -1537,6 +1435,7 @@ module Stripe
|
|
|
1537
1435
|
@ownership_declaration = ownership_declaration
|
|
1538
1436
|
@ownership_exemption_reason = ownership_exemption_reason
|
|
1539
1437
|
@phone = phone
|
|
1438
|
+
@principal_place_of_business = principal_place_of_business
|
|
1540
1439
|
@registration_date = registration_date
|
|
1541
1440
|
@registration_number = registration_number
|
|
1542
1441
|
@representative_declaration = representative_declaration
|
|
@@ -2009,37 +1908,6 @@ module Stripe
|
|
|
2009
1908
|
end
|
|
2010
1909
|
end
|
|
2011
1910
|
|
|
2012
|
-
class RiskControls < ::Stripe::RequestParams
|
|
2013
|
-
class Charges < ::Stripe::RequestParams
|
|
2014
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
2015
|
-
# There can be a delay before the risk control is paused or unpaused.
|
|
2016
|
-
attr_accessor :pause_requested
|
|
2017
|
-
|
|
2018
|
-
def initialize(pause_requested: nil)
|
|
2019
|
-
@pause_requested = pause_requested
|
|
2020
|
-
end
|
|
2021
|
-
end
|
|
2022
|
-
|
|
2023
|
-
class Payouts < ::Stripe::RequestParams
|
|
2024
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
2025
|
-
# There can be a delay before the risk control is paused or unpaused.
|
|
2026
|
-
attr_accessor :pause_requested
|
|
2027
|
-
|
|
2028
|
-
def initialize(pause_requested: nil)
|
|
2029
|
-
@pause_requested = pause_requested
|
|
2030
|
-
end
|
|
2031
|
-
end
|
|
2032
|
-
# Represents the risk control status of charges. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2033
|
-
attr_accessor :charges
|
|
2034
|
-
# Represents the risk control status of payouts. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2035
|
-
attr_accessor :payouts
|
|
2036
|
-
|
|
2037
|
-
def initialize(charges: nil, payouts: nil)
|
|
2038
|
-
@charges = charges
|
|
2039
|
-
@payouts = payouts
|
|
2040
|
-
end
|
|
2041
|
-
end
|
|
2042
|
-
|
|
2043
1911
|
class Settings < ::Stripe::RequestParams
|
|
2044
1912
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
2045
1913
|
# The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
|
|
@@ -2050,18 +1918,6 @@ module Stripe
|
|
|
2050
1918
|
end
|
|
2051
1919
|
end
|
|
2052
1920
|
|
|
2053
|
-
class BankBcaOnboarding < ::Stripe::RequestParams
|
|
2054
|
-
# Bank BCA business account holder name
|
|
2055
|
-
attr_accessor :account_holder_name
|
|
2056
|
-
# Bank BCA business account number
|
|
2057
|
-
attr_accessor :business_account_number
|
|
2058
|
-
|
|
2059
|
-
def initialize(account_holder_name: nil, business_account_number: nil)
|
|
2060
|
-
@account_holder_name = account_holder_name
|
|
2061
|
-
@business_account_number = business_account_number
|
|
2062
|
-
end
|
|
2063
|
-
end
|
|
2064
|
-
|
|
2065
1921
|
class Branding < ::Stripe::RequestParams
|
|
2066
1922
|
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
2067
1923
|
attr_accessor :icon
|
|
@@ -2080,18 +1936,6 @@ module Stripe
|
|
|
2080
1936
|
end
|
|
2081
1937
|
end
|
|
2082
1938
|
|
|
2083
|
-
class Capital < ::Stripe::RequestParams
|
|
2084
|
-
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
2085
|
-
attr_accessor :payout_destination
|
|
2086
|
-
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
2087
|
-
attr_accessor :payout_destination_selector
|
|
2088
|
-
|
|
2089
|
-
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
|
2090
|
-
@payout_destination = payout_destination
|
|
2091
|
-
@payout_destination_selector = payout_destination_selector
|
|
2092
|
-
end
|
|
2093
|
-
end
|
|
2094
|
-
|
|
2095
1939
|
class CardIssuing < ::Stripe::RequestParams
|
|
2096
1940
|
class TosAcceptance < ::Stripe::RequestParams
|
|
2097
1941
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
|
@@ -2162,8 +2006,6 @@ module Stripe
|
|
|
2162
2006
|
end
|
|
2163
2007
|
|
|
2164
2008
|
class Payments < ::Stripe::RequestParams
|
|
2165
|
-
# When you enable this parameter, the customer of this Account receives an email receipt when their payment succeeds. If this parameter isn't set, the default value is `false`.
|
|
2166
|
-
attr_accessor :email_customers_on_successful_payment
|
|
2167
2009
|
# The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
2168
2010
|
attr_accessor :statement_descriptor
|
|
2169
2011
|
# The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
|
@@ -2172,12 +2014,10 @@ module Stripe
|
|
|
2172
2014
|
attr_accessor :statement_descriptor_kanji
|
|
2173
2015
|
|
|
2174
2016
|
def initialize(
|
|
2175
|
-
email_customers_on_successful_payment: nil,
|
|
2176
2017
|
statement_descriptor: nil,
|
|
2177
2018
|
statement_descriptor_kana: nil,
|
|
2178
2019
|
statement_descriptor_kanji: nil
|
|
2179
2020
|
)
|
|
2180
|
-
@email_customers_on_successful_payment = email_customers_on_successful_payment
|
|
2181
2021
|
@statement_descriptor = statement_descriptor
|
|
2182
2022
|
@statement_descriptor_kana = statement_descriptor_kana
|
|
2183
2023
|
@statement_descriptor_kanji = statement_descriptor_kanji
|
|
@@ -2229,83 +2069,12 @@ module Stripe
|
|
|
2229
2069
|
end
|
|
2230
2070
|
end
|
|
2231
2071
|
|
|
2232
|
-
class
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
class InDevelopment < ::Stripe::RequestParams
|
|
2237
|
-
# The password needed to access your business's website.
|
|
2238
|
-
attr_accessor :password
|
|
2239
|
-
# The username needed to access your business's website.
|
|
2240
|
-
attr_accessor :username
|
|
2241
|
-
|
|
2242
|
-
def initialize(password: nil, username: nil)
|
|
2243
|
-
@password = password
|
|
2244
|
-
@username = username
|
|
2245
|
-
end
|
|
2246
|
-
end
|
|
2247
|
-
|
|
2248
|
-
class Restricted < ::Stripe::RequestParams
|
|
2249
|
-
# The file explaining the payment flow for your business.
|
|
2250
|
-
attr_accessor :payment_flow_file
|
|
2251
|
-
|
|
2252
|
-
def initialize(payment_flow_file: nil)
|
|
2253
|
-
@payment_flow_file = payment_flow_file
|
|
2254
|
-
end
|
|
2255
|
-
end
|
|
2256
|
-
# Additional information about your business's website.
|
|
2257
|
-
attr_accessor :accessible
|
|
2258
|
-
# Additional information about your business's website.
|
|
2259
|
-
attr_accessor :in_development
|
|
2260
|
-
# Additional information about your business's website.
|
|
2261
|
-
attr_accessor :restricted
|
|
2262
|
-
# The status of your business's website.
|
|
2263
|
-
attr_accessor :type
|
|
2264
|
-
|
|
2265
|
-
def initialize(accessible: nil, in_development: nil, restricted: nil, type: nil)
|
|
2266
|
-
@accessible = accessible
|
|
2267
|
-
@in_development = in_development
|
|
2268
|
-
@restricted = restricted
|
|
2269
|
-
@type = type
|
|
2270
|
-
end
|
|
2271
|
-
end
|
|
2272
|
-
# Additional files that are required to support the onboarding process of your business.
|
|
2273
|
-
attr_accessor :additional_files
|
|
2274
|
-
# The type of goods your business sells. Use `digital_content` if you sell digital content. Use `other` for all other types of goods or services.
|
|
2275
|
-
attr_accessor :goods_type
|
|
2276
|
-
# Details regarding your business's website.
|
|
2277
|
-
attr_accessor :site
|
|
2278
|
-
|
|
2279
|
-
def initialize(additional_files: nil, goods_type: nil, site: nil)
|
|
2280
|
-
@additional_files = additional_files
|
|
2281
|
-
@goods_type = goods_type
|
|
2282
|
-
@site = site
|
|
2283
|
-
end
|
|
2284
|
-
end
|
|
2285
|
-
|
|
2286
|
-
class SmartDisputes < ::Stripe::RequestParams
|
|
2287
|
-
class AutoRespond < ::Stripe::RequestParams
|
|
2288
|
-
# The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
2289
|
-
attr_accessor :preference
|
|
2290
|
-
|
|
2291
|
-
def initialize(preference: nil)
|
|
2292
|
-
@preference = preference
|
|
2293
|
-
end
|
|
2294
|
-
end
|
|
2295
|
-
# Smart Disputes auto-respond settings for the account.
|
|
2296
|
-
attr_accessor :auto_respond
|
|
2297
|
-
|
|
2298
|
-
def initialize(auto_respond: nil)
|
|
2299
|
-
@auto_respond = auto_respond
|
|
2300
|
-
end
|
|
2301
|
-
end
|
|
2302
|
-
|
|
2303
|
-
class TaxForms < ::Stripe::RequestParams
|
|
2304
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2305
|
-
attr_accessor :consented_to_paperless_delivery
|
|
2072
|
+
class SepaDebitPayments < ::Stripe::RequestParams
|
|
2073
|
+
# The business creditor id for european payments.
|
|
2074
|
+
attr_accessor :creditor_id
|
|
2306
2075
|
|
|
2307
|
-
def initialize(
|
|
2308
|
-
@
|
|
2076
|
+
def initialize(creditor_id: nil)
|
|
2077
|
+
@creditor_id = creditor_id
|
|
2309
2078
|
end
|
|
2310
2079
|
end
|
|
2311
2080
|
|
|
@@ -2333,12 +2102,8 @@ module Stripe
|
|
|
2333
2102
|
end
|
|
2334
2103
|
# Settings specific to Bacs Direct Debit payments.
|
|
2335
2104
|
attr_accessor :bacs_debit_payments
|
|
2336
|
-
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
2337
|
-
attr_accessor :bank_bca_onboarding
|
|
2338
2105
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
2339
2106
|
attr_accessor :branding
|
|
2340
|
-
# Settings specific to the account's use of the Capital product.
|
|
2341
|
-
attr_accessor :capital
|
|
2342
2107
|
# Settings specific to the account's use of the Card Issuing product.
|
|
2343
2108
|
attr_accessor :card_issuing
|
|
2344
2109
|
# Settings specific to card charging on the account.
|
|
@@ -2349,42 +2114,30 @@ module Stripe
|
|
|
2349
2114
|
attr_accessor :payments
|
|
2350
2115
|
# Settings specific to the account's payouts.
|
|
2351
2116
|
attr_accessor :payouts
|
|
2352
|
-
# Settings specific to
|
|
2353
|
-
attr_accessor :
|
|
2354
|
-
# Settings specific to the account's use of Smart Disputes.
|
|
2355
|
-
attr_accessor :smart_disputes
|
|
2356
|
-
# Settings specific to the account's tax forms.
|
|
2357
|
-
attr_accessor :tax_forms
|
|
2117
|
+
# Settings specific to SEPA Direct Debit payments.
|
|
2118
|
+
attr_accessor :sepa_debit_payments
|
|
2358
2119
|
# Settings specific to the account's Treasury FinancialAccounts.
|
|
2359
2120
|
attr_accessor :treasury
|
|
2360
2121
|
|
|
2361
2122
|
def initialize(
|
|
2362
2123
|
bacs_debit_payments: nil,
|
|
2363
|
-
bank_bca_onboarding: nil,
|
|
2364
2124
|
branding: nil,
|
|
2365
|
-
capital: nil,
|
|
2366
2125
|
card_issuing: nil,
|
|
2367
2126
|
card_payments: nil,
|
|
2368
2127
|
invoices: nil,
|
|
2369
2128
|
payments: nil,
|
|
2370
2129
|
payouts: nil,
|
|
2371
|
-
|
|
2372
|
-
smart_disputes: nil,
|
|
2373
|
-
tax_forms: nil,
|
|
2130
|
+
sepa_debit_payments: nil,
|
|
2374
2131
|
treasury: nil
|
|
2375
2132
|
)
|
|
2376
2133
|
@bacs_debit_payments = bacs_debit_payments
|
|
2377
|
-
@bank_bca_onboarding = bank_bca_onboarding
|
|
2378
2134
|
@branding = branding
|
|
2379
|
-
@capital = capital
|
|
2380
2135
|
@card_issuing = card_issuing
|
|
2381
2136
|
@card_payments = card_payments
|
|
2382
2137
|
@invoices = invoices
|
|
2383
2138
|
@payments = payments
|
|
2384
2139
|
@payouts = payouts
|
|
2385
|
-
@
|
|
2386
|
-
@smart_disputes = smart_disputes
|
|
2387
|
-
@tax_forms = tax_forms
|
|
2140
|
+
@sepa_debit_payments = sepa_debit_payments
|
|
2388
2141
|
@treasury = treasury
|
|
2389
2142
|
end
|
|
2390
2143
|
end
|
|
@@ -2439,8 +2192,6 @@ module Stripe
|
|
|
2439
2192
|
attr_accessor :individual
|
|
2440
2193
|
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2441
2194
|
attr_accessor :metadata
|
|
2442
|
-
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2443
|
-
attr_accessor :risk_controls
|
|
2444
2195
|
# Options for customizing how the account functions within Stripe.
|
|
2445
2196
|
attr_accessor :settings
|
|
2446
2197
|
# Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
|
|
@@ -2460,7 +2211,6 @@ module Stripe
|
|
|
2460
2211
|
groups: nil,
|
|
2461
2212
|
individual: nil,
|
|
2462
2213
|
metadata: nil,
|
|
2463
|
-
risk_controls: nil,
|
|
2464
2214
|
settings: nil,
|
|
2465
2215
|
tos_acceptance: nil
|
|
2466
2216
|
)
|
|
@@ -2477,7 +2227,6 @@ module Stripe
|
|
|
2477
2227
|
@groups = groups
|
|
2478
2228
|
@individual = individual
|
|
2479
2229
|
@metadata = metadata
|
|
2480
|
-
@risk_controls = risk_controls
|
|
2481
2230
|
@settings = settings
|
|
2482
2231
|
@tos_acceptance = tos_acceptance
|
|
2483
2232
|
end
|