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
|
@@ -12,13 +12,10 @@ module Stripe
|
|
|
12
12
|
attr_accessor :exempt
|
|
13
13
|
# A recent IP address of the customer used for tax reporting and tax location inference.
|
|
14
14
|
attr_accessor :ip_address
|
|
15
|
-
# The data source used to identify the customer's tax location - defaults to `identity_address`. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions. This behavior is now deprecated for new users.
|
|
16
|
-
attr_accessor :location_source
|
|
17
15
|
|
|
18
|
-
def initialize(exempt: nil, ip_address: nil
|
|
16
|
+
def initialize(exempt: nil, ip_address: nil)
|
|
19
17
|
@exempt = exempt
|
|
20
18
|
@ip_address = ip_address
|
|
21
|
-
@location_source = location_source
|
|
22
19
|
end
|
|
23
20
|
end
|
|
24
21
|
|
|
@@ -875,23 +872,6 @@ module Stripe
|
|
|
875
872
|
end
|
|
876
873
|
end
|
|
877
874
|
|
|
878
|
-
class SmartDisputes < ::Stripe::RequestParams
|
|
879
|
-
class AutoRespond < ::Stripe::RequestParams
|
|
880
|
-
# The preference for Smart Disputes auto-respond.
|
|
881
|
-
attr_accessor :preference
|
|
882
|
-
|
|
883
|
-
def initialize(preference: nil)
|
|
884
|
-
@preference = preference
|
|
885
|
-
end
|
|
886
|
-
end
|
|
887
|
-
# Settings for Smart Disputes auto_respond.
|
|
888
|
-
attr_accessor :auto_respond
|
|
889
|
-
|
|
890
|
-
def initialize(auto_respond: nil)
|
|
891
|
-
@auto_respond = auto_respond
|
|
892
|
-
end
|
|
893
|
-
end
|
|
894
|
-
|
|
895
875
|
class StatementDescriptor < ::Stripe::RequestParams
|
|
896
876
|
# 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 Merchant Configuration settings documentation.
|
|
897
877
|
attr_accessor :descriptor
|
|
@@ -969,8 +949,6 @@ module Stripe
|
|
|
969
949
|
attr_accessor :mcc
|
|
970
950
|
# Settings for the default text that appears on statements for language variations.
|
|
971
951
|
attr_accessor :script_statement_descriptor
|
|
972
|
-
# Settings used for Smart Disputes.
|
|
973
|
-
attr_accessor :smart_disputes
|
|
974
952
|
# Statement descriptor.
|
|
975
953
|
attr_accessor :statement_descriptor
|
|
976
954
|
# Publicly available contact information for sending support issues to.
|
|
@@ -984,7 +962,6 @@ module Stripe
|
|
|
984
962
|
konbini_payments: nil,
|
|
985
963
|
mcc: nil,
|
|
986
964
|
script_statement_descriptor: nil,
|
|
987
|
-
smart_disputes: nil,
|
|
988
965
|
statement_descriptor: nil,
|
|
989
966
|
support: nil
|
|
990
967
|
)
|
|
@@ -995,352 +972,13 @@ module Stripe
|
|
|
995
972
|
@konbini_payments = konbini_payments
|
|
996
973
|
@mcc = mcc
|
|
997
974
|
@script_statement_descriptor = script_statement_descriptor
|
|
998
|
-
@smart_disputes = smart_disputes
|
|
999
975
|
@statement_descriptor = statement_descriptor
|
|
1000
976
|
@support = support
|
|
1001
977
|
end
|
|
1002
978
|
end
|
|
1003
979
|
|
|
1004
|
-
class MoneyManager < ::Stripe::RequestParams
|
|
1005
|
-
class Capabilities < ::Stripe::RequestParams
|
|
1006
|
-
class BusinessStorage < ::Stripe::RequestParams
|
|
1007
|
-
class Inbound < ::Stripe::RequestParams
|
|
1008
|
-
class Aud < ::Stripe::RequestParams
|
|
1009
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1010
|
-
attr_accessor :requested
|
|
1011
|
-
|
|
1012
|
-
def initialize(requested: nil)
|
|
1013
|
-
@requested = requested
|
|
1014
|
-
end
|
|
1015
|
-
end
|
|
1016
|
-
|
|
1017
|
-
class Cad < ::Stripe::RequestParams
|
|
1018
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1019
|
-
attr_accessor :requested
|
|
1020
|
-
|
|
1021
|
-
def initialize(requested: nil)
|
|
1022
|
-
@requested = requested
|
|
1023
|
-
end
|
|
1024
|
-
end
|
|
1025
|
-
|
|
1026
|
-
class Eur < ::Stripe::RequestParams
|
|
1027
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1028
|
-
attr_accessor :requested
|
|
1029
|
-
|
|
1030
|
-
def initialize(requested: nil)
|
|
1031
|
-
@requested = requested
|
|
1032
|
-
end
|
|
1033
|
-
end
|
|
1034
|
-
|
|
1035
|
-
class Gbp < ::Stripe::RequestParams
|
|
1036
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1037
|
-
attr_accessor :requested
|
|
1038
|
-
|
|
1039
|
-
def initialize(requested: nil)
|
|
1040
|
-
@requested = requested
|
|
1041
|
-
end
|
|
1042
|
-
end
|
|
1043
|
-
|
|
1044
|
-
class Usd < ::Stripe::RequestParams
|
|
1045
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1046
|
-
attr_accessor :requested
|
|
1047
|
-
|
|
1048
|
-
def initialize(requested: nil)
|
|
1049
|
-
@requested = requested
|
|
1050
|
-
end
|
|
1051
|
-
end
|
|
1052
|
-
# Can receive business storage-type funds on Stripe in AUD.
|
|
1053
|
-
attr_accessor :aud
|
|
1054
|
-
# Can receive business storage-type funds on Stripe in CAD.
|
|
1055
|
-
attr_accessor :cad
|
|
1056
|
-
# Can receive business storage-type funds on Stripe in EUR.
|
|
1057
|
-
attr_accessor :eur
|
|
1058
|
-
# Can receive business storage-type funds on Stripe in GBP.
|
|
1059
|
-
attr_accessor :gbp
|
|
1060
|
-
# Can receive business storage-type funds on Stripe in USD.
|
|
1061
|
-
attr_accessor :usd
|
|
1062
|
-
|
|
1063
|
-
def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil)
|
|
1064
|
-
@aud = aud
|
|
1065
|
-
@cad = cad
|
|
1066
|
-
@eur = eur
|
|
1067
|
-
@gbp = gbp
|
|
1068
|
-
@usd = usd
|
|
1069
|
-
end
|
|
1070
|
-
end
|
|
1071
|
-
|
|
1072
|
-
class Outbound < ::Stripe::RequestParams
|
|
1073
|
-
class Aud < ::Stripe::RequestParams
|
|
1074
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1075
|
-
attr_accessor :requested
|
|
1076
|
-
|
|
1077
|
-
def initialize(requested: nil)
|
|
1078
|
-
@requested = requested
|
|
1079
|
-
end
|
|
1080
|
-
end
|
|
1081
|
-
|
|
1082
|
-
class Cad < ::Stripe::RequestParams
|
|
1083
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1084
|
-
attr_accessor :requested
|
|
1085
|
-
|
|
1086
|
-
def initialize(requested: nil)
|
|
1087
|
-
@requested = requested
|
|
1088
|
-
end
|
|
1089
|
-
end
|
|
1090
|
-
|
|
1091
|
-
class Eur < ::Stripe::RequestParams
|
|
1092
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1093
|
-
attr_accessor :requested
|
|
1094
|
-
|
|
1095
|
-
def initialize(requested: nil)
|
|
1096
|
-
@requested = requested
|
|
1097
|
-
end
|
|
1098
|
-
end
|
|
1099
|
-
|
|
1100
|
-
class Gbp < ::Stripe::RequestParams
|
|
1101
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1102
|
-
attr_accessor :requested
|
|
1103
|
-
|
|
1104
|
-
def initialize(requested: nil)
|
|
1105
|
-
@requested = requested
|
|
1106
|
-
end
|
|
1107
|
-
end
|
|
1108
|
-
|
|
1109
|
-
class Usd < ::Stripe::RequestParams
|
|
1110
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1111
|
-
attr_accessor :requested
|
|
1112
|
-
|
|
1113
|
-
def initialize(requested: nil)
|
|
1114
|
-
@requested = requested
|
|
1115
|
-
end
|
|
1116
|
-
end
|
|
1117
|
-
# Can send business storage-type funds on Stripe in AUD.
|
|
1118
|
-
attr_accessor :aud
|
|
1119
|
-
# Can send business storage-type funds on Stripe in CAD.
|
|
1120
|
-
attr_accessor :cad
|
|
1121
|
-
# Can send business storage-type funds on Stripe in EUR.
|
|
1122
|
-
attr_accessor :eur
|
|
1123
|
-
# Can send business storage-type funds on Stripe in GBP.
|
|
1124
|
-
attr_accessor :gbp
|
|
1125
|
-
# Can send business storage-type funds on Stripe in USD.
|
|
1126
|
-
attr_accessor :usd
|
|
1127
|
-
|
|
1128
|
-
def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil)
|
|
1129
|
-
@aud = aud
|
|
1130
|
-
@cad = cad
|
|
1131
|
-
@eur = eur
|
|
1132
|
-
@gbp = gbp
|
|
1133
|
-
@usd = usd
|
|
1134
|
-
end
|
|
1135
|
-
end
|
|
1136
|
-
# Can receive business storage-type funds on Stripe.
|
|
1137
|
-
attr_accessor :inbound
|
|
1138
|
-
# Can send business storage-type funds on Stripe.
|
|
1139
|
-
attr_accessor :outbound
|
|
1140
|
-
|
|
1141
|
-
def initialize(inbound: nil, outbound: nil)
|
|
1142
|
-
@inbound = inbound
|
|
1143
|
-
@outbound = outbound
|
|
1144
|
-
end
|
|
1145
|
-
end
|
|
1146
|
-
|
|
1147
|
-
class InboundTransfers < ::Stripe::RequestParams
|
|
1148
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1149
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1150
|
-
attr_accessor :requested
|
|
1151
|
-
|
|
1152
|
-
def initialize(requested: nil)
|
|
1153
|
-
@requested = requested
|
|
1154
|
-
end
|
|
1155
|
-
end
|
|
1156
|
-
# Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
1157
|
-
attr_accessor :bank_accounts
|
|
1158
|
-
|
|
1159
|
-
def initialize(bank_accounts: nil)
|
|
1160
|
-
@bank_accounts = bank_accounts
|
|
1161
|
-
end
|
|
1162
|
-
end
|
|
1163
|
-
|
|
1164
|
-
class OutboundPayments < ::Stripe::RequestParams
|
|
1165
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1166
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1167
|
-
attr_accessor :requested
|
|
1168
|
-
|
|
1169
|
-
def initialize(requested: nil)
|
|
1170
|
-
@requested = requested
|
|
1171
|
-
end
|
|
1172
|
-
end
|
|
1173
|
-
|
|
1174
|
-
class Cards < ::Stripe::RequestParams
|
|
1175
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1176
|
-
attr_accessor :requested
|
|
1177
|
-
|
|
1178
|
-
def initialize(requested: nil)
|
|
1179
|
-
@requested = requested
|
|
1180
|
-
end
|
|
1181
|
-
end
|
|
1182
|
-
|
|
1183
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1184
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1185
|
-
attr_accessor :requested
|
|
1186
|
-
|
|
1187
|
-
def initialize(requested: nil)
|
|
1188
|
-
@requested = requested
|
|
1189
|
-
end
|
|
1190
|
-
end
|
|
1191
|
-
# Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
1192
|
-
attr_accessor :bank_accounts
|
|
1193
|
-
# Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
1194
|
-
attr_accessor :cards
|
|
1195
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
1196
|
-
attr_accessor :financial_accounts
|
|
1197
|
-
|
|
1198
|
-
def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil)
|
|
1199
|
-
@bank_accounts = bank_accounts
|
|
1200
|
-
@cards = cards
|
|
1201
|
-
@financial_accounts = financial_accounts
|
|
1202
|
-
end
|
|
1203
|
-
end
|
|
1204
|
-
|
|
1205
|
-
class OutboundTransfers < ::Stripe::RequestParams
|
|
1206
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1207
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1208
|
-
attr_accessor :requested
|
|
1209
|
-
|
|
1210
|
-
def initialize(requested: nil)
|
|
1211
|
-
@requested = requested
|
|
1212
|
-
end
|
|
1213
|
-
end
|
|
1214
|
-
|
|
1215
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1216
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1217
|
-
attr_accessor :requested
|
|
1218
|
-
|
|
1219
|
-
def initialize(requested: nil)
|
|
1220
|
-
@requested = requested
|
|
1221
|
-
end
|
|
1222
|
-
end
|
|
1223
|
-
# Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
1224
|
-
attr_accessor :bank_accounts
|
|
1225
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
1226
|
-
attr_accessor :financial_accounts
|
|
1227
|
-
|
|
1228
|
-
def initialize(bank_accounts: nil, financial_accounts: nil)
|
|
1229
|
-
@bank_accounts = bank_accounts
|
|
1230
|
-
@financial_accounts = financial_accounts
|
|
1231
|
-
end
|
|
1232
|
-
end
|
|
1233
|
-
|
|
1234
|
-
class ReceivedCredits < ::Stripe::RequestParams
|
|
1235
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1236
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1237
|
-
attr_accessor :requested
|
|
1238
|
-
|
|
1239
|
-
def initialize(requested: nil)
|
|
1240
|
-
@requested = requested
|
|
1241
|
-
end
|
|
1242
|
-
end
|
|
1243
|
-
# Can receive funds on a bank-account-like financial address (VBAN) to credit a FinancialAccount.
|
|
1244
|
-
attr_accessor :bank_accounts
|
|
1245
|
-
|
|
1246
|
-
def initialize(bank_accounts: nil)
|
|
1247
|
-
@bank_accounts = bank_accounts
|
|
1248
|
-
end
|
|
1249
|
-
end
|
|
1250
|
-
|
|
1251
|
-
class ReceivedDebits < ::Stripe::RequestParams
|
|
1252
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1253
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1254
|
-
attr_accessor :requested
|
|
1255
|
-
|
|
1256
|
-
def initialize(requested: nil)
|
|
1257
|
-
@requested = requested
|
|
1258
|
-
end
|
|
1259
|
-
end
|
|
1260
|
-
# Can receive debits to a FinancialAccount from a bank account.
|
|
1261
|
-
attr_accessor :bank_accounts
|
|
1262
|
-
|
|
1263
|
-
def initialize(bank_accounts: nil)
|
|
1264
|
-
@bank_accounts = bank_accounts
|
|
1265
|
-
end
|
|
1266
|
-
end
|
|
1267
|
-
# Can send or receive business storage-type funds on Stripe.
|
|
1268
|
-
attr_accessor :business_storage
|
|
1269
|
-
# Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
1270
|
-
attr_accessor :inbound_transfers
|
|
1271
|
-
# Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
1272
|
-
attr_accessor :outbound_payments
|
|
1273
|
-
# Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
1274
|
-
attr_accessor :outbound_transfers
|
|
1275
|
-
# Can receive funds into a FinancialAccount.
|
|
1276
|
-
attr_accessor :received_credits
|
|
1277
|
-
# Can receive debits to a FinancialAccount.
|
|
1278
|
-
attr_accessor :received_debits
|
|
1279
|
-
|
|
1280
|
-
def initialize(
|
|
1281
|
-
business_storage: nil,
|
|
1282
|
-
inbound_transfers: nil,
|
|
1283
|
-
outbound_payments: nil,
|
|
1284
|
-
outbound_transfers: nil,
|
|
1285
|
-
received_credits: nil,
|
|
1286
|
-
received_debits: nil
|
|
1287
|
-
)
|
|
1288
|
-
@business_storage = business_storage
|
|
1289
|
-
@inbound_transfers = inbound_transfers
|
|
1290
|
-
@outbound_payments = outbound_payments
|
|
1291
|
-
@outbound_transfers = outbound_transfers
|
|
1292
|
-
@received_credits = received_credits
|
|
1293
|
-
@received_debits = received_debits
|
|
1294
|
-
end
|
|
1295
|
-
end
|
|
1296
|
-
# Capabilities to request on the Money Manager Configuration.
|
|
1297
|
-
attr_accessor :capabilities
|
|
1298
|
-
|
|
1299
|
-
def initialize(capabilities: nil)
|
|
1300
|
-
@capabilities = capabilities
|
|
1301
|
-
end
|
|
1302
|
-
end
|
|
1303
|
-
|
|
1304
980
|
class Recipient < ::Stripe::RequestParams
|
|
1305
981
|
class Capabilities < ::Stripe::RequestParams
|
|
1306
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1307
|
-
class Local < ::Stripe::RequestParams
|
|
1308
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1309
|
-
attr_accessor :requested
|
|
1310
|
-
|
|
1311
|
-
def initialize(requested: nil)
|
|
1312
|
-
@requested = requested
|
|
1313
|
-
end
|
|
1314
|
-
end
|
|
1315
|
-
|
|
1316
|
-
class Wire < ::Stripe::RequestParams
|
|
1317
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1318
|
-
attr_accessor :requested
|
|
1319
|
-
|
|
1320
|
-
def initialize(requested: nil)
|
|
1321
|
-
@requested = requested
|
|
1322
|
-
end
|
|
1323
|
-
end
|
|
1324
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
1325
|
-
attr_accessor :local
|
|
1326
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
1327
|
-
attr_accessor :wire
|
|
1328
|
-
|
|
1329
|
-
def initialize(local: nil, wire: nil)
|
|
1330
|
-
@local = local
|
|
1331
|
-
@wire = wire
|
|
1332
|
-
end
|
|
1333
|
-
end
|
|
1334
|
-
|
|
1335
|
-
class Cards < ::Stripe::RequestParams
|
|
1336
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1337
|
-
attr_accessor :requested
|
|
1338
|
-
|
|
1339
|
-
def initialize(requested: nil)
|
|
1340
|
-
@requested = requested
|
|
1341
|
-
end
|
|
1342
|
-
end
|
|
1343
|
-
|
|
1344
982
|
class StripeBalance < ::Stripe::RequestParams
|
|
1345
983
|
class StripeTransfers < ::Stripe::RequestParams
|
|
1346
984
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -1357,16 +995,10 @@ module Stripe
|
|
|
1357
995
|
@stripe_transfers = stripe_transfers
|
|
1358
996
|
end
|
|
1359
997
|
end
|
|
1360
|
-
# Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
1361
|
-
attr_accessor :bank_accounts
|
|
1362
|
-
# Capabilities that enable OutboundPayments to a card linked to this Account.
|
|
1363
|
-
attr_accessor :cards
|
|
1364
998
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
1365
999
|
attr_accessor :stripe_balance
|
|
1366
1000
|
|
|
1367
|
-
def initialize(
|
|
1368
|
-
@bank_accounts = bank_accounts
|
|
1369
|
-
@cards = cards
|
|
1001
|
+
def initialize(stripe_balance: nil)
|
|
1370
1002
|
@stripe_balance = stripe_balance
|
|
1371
1003
|
end
|
|
1372
1004
|
end
|
|
@@ -1381,15 +1013,12 @@ module Stripe
|
|
|
1381
1013
|
attr_accessor :customer
|
|
1382
1014
|
# Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
|
|
1383
1015
|
attr_accessor :merchant
|
|
1384
|
-
# The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts.
|
|
1385
|
-
attr_accessor :money_manager
|
|
1386
1016
|
# The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
1387
1017
|
attr_accessor :recipient
|
|
1388
1018
|
|
|
1389
|
-
def initialize(customer: nil, merchant: nil,
|
|
1019
|
+
def initialize(customer: nil, merchant: nil, recipient: nil)
|
|
1390
1020
|
@customer = customer
|
|
1391
1021
|
@merchant = merchant
|
|
1392
|
-
@money_manager = money_manager
|
|
1393
1022
|
@recipient = recipient
|
|
1394
1023
|
end
|
|
1395
1024
|
end
|
|
@@ -1429,21 +1058,12 @@ module Stripe
|
|
|
1429
1058
|
attr_accessor :profile
|
|
1430
1059
|
# Default responsibilities held by either Stripe or the platform.
|
|
1431
1060
|
attr_accessor :responsibilities
|
|
1432
|
-
# The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
1433
|
-
attr_accessor :timezone
|
|
1434
1061
|
|
|
1435
|
-
def initialize(
|
|
1436
|
-
currency: nil,
|
|
1437
|
-
locales: nil,
|
|
1438
|
-
profile: nil,
|
|
1439
|
-
responsibilities: nil,
|
|
1440
|
-
timezone: nil
|
|
1441
|
-
)
|
|
1062
|
+
def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil)
|
|
1442
1063
|
@currency = currency
|
|
1443
1064
|
@locales = locales
|
|
1444
1065
|
@profile = profile
|
|
1445
1066
|
@responsibilities = responsibilities
|
|
1446
|
-
@timezone = timezone
|
|
1447
1067
|
end
|
|
1448
1068
|
end
|
|
1449
1069
|
|
|
@@ -1532,29 +1152,11 @@ module Stripe
|
|
|
1532
1152
|
@user_agent = user_agent
|
|
1533
1153
|
end
|
|
1534
1154
|
end
|
|
1535
|
-
|
|
1536
|
-
class MoneyManager < ::Stripe::RequestParams
|
|
1537
|
-
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1538
|
-
attr_accessor :date
|
|
1539
|
-
# The IP address from which the Account's representative accepted the terms of service.
|
|
1540
|
-
attr_accessor :ip
|
|
1541
|
-
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1542
|
-
attr_accessor :user_agent
|
|
1543
|
-
|
|
1544
|
-
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1545
|
-
@date = date
|
|
1546
|
-
@ip = ip
|
|
1547
|
-
@user_agent = user_agent
|
|
1548
|
-
end
|
|
1549
|
-
end
|
|
1550
1155
|
# Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
1551
1156
|
attr_accessor :account
|
|
1552
|
-
# Details on the Account's acceptance of Treasury-specific terms of service.
|
|
1553
|
-
attr_accessor :money_manager
|
|
1554
1157
|
|
|
1555
|
-
def initialize(account: nil
|
|
1158
|
+
def initialize(account: nil)
|
|
1556
1159
|
@account = account
|
|
1557
|
-
@money_manager = money_manager
|
|
1558
1160
|
end
|
|
1559
1161
|
end
|
|
1560
1162
|
# This hash is used to attest that the directors information provided to Stripe is both current and correct.
|
|
@@ -1584,6 +1186,45 @@ module Stripe
|
|
|
1584
1186
|
end
|
|
1585
1187
|
|
|
1586
1188
|
class BusinessDetails < ::Stripe::RequestParams
|
|
1189
|
+
class AdditionalAddress < ::Stripe::RequestParams
|
|
1190
|
+
# City, district, suburb, town, or village.
|
|
1191
|
+
attr_accessor :city
|
|
1192
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1193
|
+
attr_accessor :country
|
|
1194
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
1195
|
+
attr_accessor :line1
|
|
1196
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
1197
|
+
attr_accessor :line2
|
|
1198
|
+
# ZIP or postal code.
|
|
1199
|
+
attr_accessor :postal_code
|
|
1200
|
+
# Purpose of additional address.
|
|
1201
|
+
attr_accessor :purpose
|
|
1202
|
+
# State, county, province, or region.
|
|
1203
|
+
attr_accessor :state
|
|
1204
|
+
# Town or district.
|
|
1205
|
+
attr_accessor :town
|
|
1206
|
+
|
|
1207
|
+
def initialize(
|
|
1208
|
+
city: nil,
|
|
1209
|
+
country: nil,
|
|
1210
|
+
line1: nil,
|
|
1211
|
+
line2: nil,
|
|
1212
|
+
postal_code: nil,
|
|
1213
|
+
purpose: nil,
|
|
1214
|
+
state: nil,
|
|
1215
|
+
town: nil
|
|
1216
|
+
)
|
|
1217
|
+
@city = city
|
|
1218
|
+
@country = country
|
|
1219
|
+
@line1 = line1
|
|
1220
|
+
@line2 = line2
|
|
1221
|
+
@postal_code = postal_code
|
|
1222
|
+
@purpose = purpose
|
|
1223
|
+
@state = state
|
|
1224
|
+
@town = town
|
|
1225
|
+
end
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1587
1228
|
class Address < ::Stripe::RequestParams
|
|
1588
1229
|
# City, district, suburb, town, or village.
|
|
1589
1230
|
attr_accessor :city
|
|
@@ -1978,6 +1619,8 @@ module Stripe
|
|
|
1978
1619
|
@kanji = kanji
|
|
1979
1620
|
end
|
|
1980
1621
|
end
|
|
1622
|
+
# Additional addresses associated with the business.
|
|
1623
|
+
attr_accessor :additional_addresses
|
|
1981
1624
|
# The business registration address of the business entity.
|
|
1982
1625
|
attr_accessor :address
|
|
1983
1626
|
# The business gross annual revenue for its preceding fiscal year.
|
|
@@ -2004,6 +1647,7 @@ module Stripe
|
|
|
2004
1647
|
attr_accessor :structure
|
|
2005
1648
|
|
|
2006
1649
|
def initialize(
|
|
1650
|
+
additional_addresses: nil,
|
|
2007
1651
|
address: nil,
|
|
2008
1652
|
annual_revenue: nil,
|
|
2009
1653
|
documents: nil,
|
|
@@ -2017,6 +1661,7 @@ module Stripe
|
|
|
2017
1661
|
script_names: nil,
|
|
2018
1662
|
structure: nil
|
|
2019
1663
|
)
|
|
1664
|
+
@additional_addresses = additional_addresses
|
|
2020
1665
|
@address = address
|
|
2021
1666
|
@annual_revenue = annual_revenue
|
|
2022
1667
|
@documents = documents
|
|
@@ -66,23 +66,11 @@ module Stripe
|
|
|
66
66
|
@shown_and_accepted = shown_and_accepted
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
|
-
|
|
70
|
-
class MoneyManager < ::Stripe::RequestParams
|
|
71
|
-
# The boolean value indicating if the terms of service have been accepted.
|
|
72
|
-
attr_accessor :shown_and_accepted
|
|
73
|
-
|
|
74
|
-
def initialize(shown_and_accepted: nil)
|
|
75
|
-
@shown_and_accepted = shown_and_accepted
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
69
|
# Details on the Account's acceptance of the [Stripe Services Agreement]; IP, date, and User Agent are expanded by Stripe.
|
|
79
70
|
attr_accessor :account
|
|
80
|
-
# Details on the Account's acceptance of Treasury-specific terms of service; IP, date, and User Agent are expanded by Stripe.
|
|
81
|
-
attr_accessor :money_manager
|
|
82
71
|
|
|
83
|
-
def initialize(account: nil
|
|
72
|
+
def initialize(account: nil)
|
|
84
73
|
@account = account
|
|
85
|
-
@money_manager = money_manager
|
|
86
74
|
end
|
|
87
75
|
end
|
|
88
76
|
# This hash is used to attest that the directors information provided to Stripe is both current and correct; IP, date, and User Agent are expanded by Stripe.
|
|
@@ -112,6 +100,45 @@ module Stripe
|
|
|
112
100
|
end
|
|
113
101
|
|
|
114
102
|
class BusinessDetails < ::Stripe::RequestParams
|
|
103
|
+
class AdditionalAddress < ::Stripe::RequestParams
|
|
104
|
+
# City, district, suburb, town, or village.
|
|
105
|
+
attr_accessor :city
|
|
106
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
107
|
+
attr_accessor :country
|
|
108
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
109
|
+
attr_accessor :line1
|
|
110
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
111
|
+
attr_accessor :line2
|
|
112
|
+
# ZIP or postal code.
|
|
113
|
+
attr_accessor :postal_code
|
|
114
|
+
# Purpose of additional address.
|
|
115
|
+
attr_accessor :purpose
|
|
116
|
+
# State, county, province, or region.
|
|
117
|
+
attr_accessor :state
|
|
118
|
+
# Town or district.
|
|
119
|
+
attr_accessor :town
|
|
120
|
+
|
|
121
|
+
def initialize(
|
|
122
|
+
city: nil,
|
|
123
|
+
country: nil,
|
|
124
|
+
line1: nil,
|
|
125
|
+
line2: nil,
|
|
126
|
+
postal_code: nil,
|
|
127
|
+
purpose: nil,
|
|
128
|
+
state: nil,
|
|
129
|
+
town: nil
|
|
130
|
+
)
|
|
131
|
+
@city = city
|
|
132
|
+
@country = country
|
|
133
|
+
@line1 = line1
|
|
134
|
+
@line2 = line2
|
|
135
|
+
@postal_code = postal_code
|
|
136
|
+
@purpose = purpose
|
|
137
|
+
@state = state
|
|
138
|
+
@town = town
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
115
142
|
class Address < ::Stripe::RequestParams
|
|
116
143
|
# City, district, suburb, town, or village.
|
|
117
144
|
attr_accessor :city
|
|
@@ -506,6 +533,8 @@ module Stripe
|
|
|
506
533
|
@kanji = kanji
|
|
507
534
|
end
|
|
508
535
|
end
|
|
536
|
+
# Additional addresses associated with the business.
|
|
537
|
+
attr_accessor :additional_addresses
|
|
509
538
|
# The business registration address of the business entity.
|
|
510
539
|
attr_accessor :address
|
|
511
540
|
# The business gross annual revenue for its preceding fiscal year.
|
|
@@ -532,6 +561,7 @@ module Stripe
|
|
|
532
561
|
attr_accessor :structure
|
|
533
562
|
|
|
534
563
|
def initialize(
|
|
564
|
+
additional_addresses: nil,
|
|
535
565
|
address: nil,
|
|
536
566
|
annual_revenue: nil,
|
|
537
567
|
documents: nil,
|
|
@@ -545,6 +575,7 @@ module Stripe
|
|
|
545
575
|
script_names: nil,
|
|
546
576
|
structure: nil
|
|
547
577
|
)
|
|
578
|
+
@additional_addresses = additional_addresses
|
|
548
579
|
@address = address
|
|
549
580
|
@annual_revenue = annual_revenue
|
|
550
581
|
@documents = documents
|