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,20 +12,12 @@ 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
|
-
# Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
|
|
16
|
-
attr_accessor :location_source
|
|
17
15
|
# A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
|
|
18
16
|
attr_accessor :validate_location
|
|
19
17
|
|
|
20
|
-
def initialize(
|
|
21
|
-
exempt: nil,
|
|
22
|
-
ip_address: nil,
|
|
23
|
-
location_source: nil,
|
|
24
|
-
validate_location: nil
|
|
25
|
-
)
|
|
18
|
+
def initialize(exempt: nil, ip_address: nil, validate_location: nil)
|
|
26
19
|
@exempt = exempt
|
|
27
20
|
@ip_address = ip_address
|
|
28
|
-
@location_source = location_source
|
|
29
21
|
@validate_location = validate_location
|
|
30
22
|
end
|
|
31
23
|
end
|
|
@@ -890,23 +882,6 @@ module Stripe
|
|
|
890
882
|
end
|
|
891
883
|
end
|
|
892
884
|
|
|
893
|
-
class SmartDisputes < ::Stripe::RequestParams
|
|
894
|
-
class AutoRespond < ::Stripe::RequestParams
|
|
895
|
-
# The preference for automatic dispute responses.
|
|
896
|
-
attr_accessor :preference
|
|
897
|
-
|
|
898
|
-
def initialize(preference: nil)
|
|
899
|
-
@preference = preference
|
|
900
|
-
end
|
|
901
|
-
end
|
|
902
|
-
# Settings for Smart Disputes auto_respond.
|
|
903
|
-
attr_accessor :auto_respond
|
|
904
|
-
|
|
905
|
-
def initialize(auto_respond: nil)
|
|
906
|
-
@auto_respond = auto_respond
|
|
907
|
-
end
|
|
908
|
-
end
|
|
909
|
-
|
|
910
885
|
class StatementDescriptor < ::Stripe::RequestParams
|
|
911
886
|
# 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.
|
|
912
887
|
attr_accessor :descriptor
|
|
@@ -986,8 +961,6 @@ module Stripe
|
|
|
986
961
|
attr_accessor :mcc
|
|
987
962
|
# Settings for the default text that appears on statements for language variations.
|
|
988
963
|
attr_accessor :script_statement_descriptor
|
|
989
|
-
# Settings for Smart Disputes automatic response feature.
|
|
990
|
-
attr_accessor :smart_disputes
|
|
991
964
|
# Settings for the default [statement descriptor](/connect/statement-descriptors) text.
|
|
992
965
|
attr_accessor :statement_descriptor
|
|
993
966
|
# Publicly available contact information for sending support issues to.
|
|
@@ -1002,7 +975,6 @@ module Stripe
|
|
|
1002
975
|
konbini_payments: nil,
|
|
1003
976
|
mcc: nil,
|
|
1004
977
|
script_statement_descriptor: nil,
|
|
1005
|
-
smart_disputes: nil,
|
|
1006
978
|
statement_descriptor: nil,
|
|
1007
979
|
support: nil
|
|
1008
980
|
)
|
|
@@ -1014,355 +986,13 @@ module Stripe
|
|
|
1014
986
|
@konbini_payments = konbini_payments
|
|
1015
987
|
@mcc = mcc
|
|
1016
988
|
@script_statement_descriptor = script_statement_descriptor
|
|
1017
|
-
@smart_disputes = smart_disputes
|
|
1018
989
|
@statement_descriptor = statement_descriptor
|
|
1019
990
|
@support = support
|
|
1020
991
|
end
|
|
1021
992
|
end
|
|
1022
993
|
|
|
1023
|
-
class MoneyManager < ::Stripe::RequestParams
|
|
1024
|
-
class Capabilities < ::Stripe::RequestParams
|
|
1025
|
-
class BusinessStorage < ::Stripe::RequestParams
|
|
1026
|
-
class Inbound < ::Stripe::RequestParams
|
|
1027
|
-
class Aud < ::Stripe::RequestParams
|
|
1028
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1029
|
-
attr_accessor :requested
|
|
1030
|
-
|
|
1031
|
-
def initialize(requested: nil)
|
|
1032
|
-
@requested = requested
|
|
1033
|
-
end
|
|
1034
|
-
end
|
|
1035
|
-
|
|
1036
|
-
class Cad < ::Stripe::RequestParams
|
|
1037
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1038
|
-
attr_accessor :requested
|
|
1039
|
-
|
|
1040
|
-
def initialize(requested: nil)
|
|
1041
|
-
@requested = requested
|
|
1042
|
-
end
|
|
1043
|
-
end
|
|
1044
|
-
|
|
1045
|
-
class Eur < ::Stripe::RequestParams
|
|
1046
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1047
|
-
attr_accessor :requested
|
|
1048
|
-
|
|
1049
|
-
def initialize(requested: nil)
|
|
1050
|
-
@requested = requested
|
|
1051
|
-
end
|
|
1052
|
-
end
|
|
1053
|
-
|
|
1054
|
-
class Gbp < ::Stripe::RequestParams
|
|
1055
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1056
|
-
attr_accessor :requested
|
|
1057
|
-
|
|
1058
|
-
def initialize(requested: nil)
|
|
1059
|
-
@requested = requested
|
|
1060
|
-
end
|
|
1061
|
-
end
|
|
1062
|
-
|
|
1063
|
-
class Usd < ::Stripe::RequestParams
|
|
1064
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1065
|
-
attr_accessor :requested
|
|
1066
|
-
|
|
1067
|
-
def initialize(requested: nil)
|
|
1068
|
-
@requested = requested
|
|
1069
|
-
end
|
|
1070
|
-
end
|
|
1071
|
-
# Can receive business storage-type funds on Stripe in AUD.
|
|
1072
|
-
attr_accessor :aud
|
|
1073
|
-
# Can receive business storage-type funds on Stripe in CAD.
|
|
1074
|
-
attr_accessor :cad
|
|
1075
|
-
# Can receive business storage-type funds on Stripe in EUR.
|
|
1076
|
-
attr_accessor :eur
|
|
1077
|
-
# Can receive business storage-type funds on Stripe in GBP.
|
|
1078
|
-
attr_accessor :gbp
|
|
1079
|
-
# Can receive business storage-type funds on Stripe in USD.
|
|
1080
|
-
attr_accessor :usd
|
|
1081
|
-
|
|
1082
|
-
def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil)
|
|
1083
|
-
@aud = aud
|
|
1084
|
-
@cad = cad
|
|
1085
|
-
@eur = eur
|
|
1086
|
-
@gbp = gbp
|
|
1087
|
-
@usd = usd
|
|
1088
|
-
end
|
|
1089
|
-
end
|
|
1090
|
-
|
|
1091
|
-
class Outbound < ::Stripe::RequestParams
|
|
1092
|
-
class Aud < ::Stripe::RequestParams
|
|
1093
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1094
|
-
attr_accessor :requested
|
|
1095
|
-
|
|
1096
|
-
def initialize(requested: nil)
|
|
1097
|
-
@requested = requested
|
|
1098
|
-
end
|
|
1099
|
-
end
|
|
1100
|
-
|
|
1101
|
-
class Cad < ::Stripe::RequestParams
|
|
1102
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1103
|
-
attr_accessor :requested
|
|
1104
|
-
|
|
1105
|
-
def initialize(requested: nil)
|
|
1106
|
-
@requested = requested
|
|
1107
|
-
end
|
|
1108
|
-
end
|
|
1109
|
-
|
|
1110
|
-
class Eur < ::Stripe::RequestParams
|
|
1111
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1112
|
-
attr_accessor :requested
|
|
1113
|
-
|
|
1114
|
-
def initialize(requested: nil)
|
|
1115
|
-
@requested = requested
|
|
1116
|
-
end
|
|
1117
|
-
end
|
|
1118
|
-
|
|
1119
|
-
class Gbp < ::Stripe::RequestParams
|
|
1120
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1121
|
-
attr_accessor :requested
|
|
1122
|
-
|
|
1123
|
-
def initialize(requested: nil)
|
|
1124
|
-
@requested = requested
|
|
1125
|
-
end
|
|
1126
|
-
end
|
|
1127
|
-
|
|
1128
|
-
class Usd < ::Stripe::RequestParams
|
|
1129
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1130
|
-
attr_accessor :requested
|
|
1131
|
-
|
|
1132
|
-
def initialize(requested: nil)
|
|
1133
|
-
@requested = requested
|
|
1134
|
-
end
|
|
1135
|
-
end
|
|
1136
|
-
# Can send business storage-type funds on Stripe in AUD.
|
|
1137
|
-
attr_accessor :aud
|
|
1138
|
-
# Can send business storage-type funds on Stripe in CAD.
|
|
1139
|
-
attr_accessor :cad
|
|
1140
|
-
# Can send business storage-type funds on Stripe in EUR.
|
|
1141
|
-
attr_accessor :eur
|
|
1142
|
-
# Can send business storage-type funds on Stripe in GBP.
|
|
1143
|
-
attr_accessor :gbp
|
|
1144
|
-
# Can send business storage-type funds on Stripe in USD.
|
|
1145
|
-
attr_accessor :usd
|
|
1146
|
-
|
|
1147
|
-
def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil)
|
|
1148
|
-
@aud = aud
|
|
1149
|
-
@cad = cad
|
|
1150
|
-
@eur = eur
|
|
1151
|
-
@gbp = gbp
|
|
1152
|
-
@usd = usd
|
|
1153
|
-
end
|
|
1154
|
-
end
|
|
1155
|
-
# Can receive business storage-type funds on Stripe.
|
|
1156
|
-
attr_accessor :inbound
|
|
1157
|
-
# Can send business storage-type funds on Stripe.
|
|
1158
|
-
attr_accessor :outbound
|
|
1159
|
-
|
|
1160
|
-
def initialize(inbound: nil, outbound: nil)
|
|
1161
|
-
@inbound = inbound
|
|
1162
|
-
@outbound = outbound
|
|
1163
|
-
end
|
|
1164
|
-
end
|
|
1165
|
-
|
|
1166
|
-
class InboundTransfers < ::Stripe::RequestParams
|
|
1167
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1168
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1169
|
-
attr_accessor :requested
|
|
1170
|
-
|
|
1171
|
-
def initialize(requested: nil)
|
|
1172
|
-
@requested = requested
|
|
1173
|
-
end
|
|
1174
|
-
end
|
|
1175
|
-
# Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
1176
|
-
attr_accessor :bank_accounts
|
|
1177
|
-
|
|
1178
|
-
def initialize(bank_accounts: nil)
|
|
1179
|
-
@bank_accounts = bank_accounts
|
|
1180
|
-
end
|
|
1181
|
-
end
|
|
1182
|
-
|
|
1183
|
-
class OutboundPayments < ::Stripe::RequestParams
|
|
1184
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1185
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1186
|
-
attr_accessor :requested
|
|
1187
|
-
|
|
1188
|
-
def initialize(requested: nil)
|
|
1189
|
-
@requested = requested
|
|
1190
|
-
end
|
|
1191
|
-
end
|
|
1192
|
-
|
|
1193
|
-
class Cards < ::Stripe::RequestParams
|
|
1194
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1195
|
-
attr_accessor :requested
|
|
1196
|
-
|
|
1197
|
-
def initialize(requested: nil)
|
|
1198
|
-
@requested = requested
|
|
1199
|
-
end
|
|
1200
|
-
end
|
|
1201
|
-
|
|
1202
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1203
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1204
|
-
attr_accessor :requested
|
|
1205
|
-
|
|
1206
|
-
def initialize(requested: nil)
|
|
1207
|
-
@requested = requested
|
|
1208
|
-
end
|
|
1209
|
-
end
|
|
1210
|
-
# Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
1211
|
-
attr_accessor :bank_accounts
|
|
1212
|
-
# Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
1213
|
-
attr_accessor :cards
|
|
1214
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
1215
|
-
attr_accessor :financial_accounts
|
|
1216
|
-
|
|
1217
|
-
def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil)
|
|
1218
|
-
@bank_accounts = bank_accounts
|
|
1219
|
-
@cards = cards
|
|
1220
|
-
@financial_accounts = financial_accounts
|
|
1221
|
-
end
|
|
1222
|
-
end
|
|
1223
|
-
|
|
1224
|
-
class OutboundTransfers < ::Stripe::RequestParams
|
|
1225
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1226
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1227
|
-
attr_accessor :requested
|
|
1228
|
-
|
|
1229
|
-
def initialize(requested: nil)
|
|
1230
|
-
@requested = requested
|
|
1231
|
-
end
|
|
1232
|
-
end
|
|
1233
|
-
|
|
1234
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1235
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1236
|
-
attr_accessor :requested
|
|
1237
|
-
|
|
1238
|
-
def initialize(requested: nil)
|
|
1239
|
-
@requested = requested
|
|
1240
|
-
end
|
|
1241
|
-
end
|
|
1242
|
-
# Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
1243
|
-
attr_accessor :bank_accounts
|
|
1244
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
1245
|
-
attr_accessor :financial_accounts
|
|
1246
|
-
|
|
1247
|
-
def initialize(bank_accounts: nil, financial_accounts: nil)
|
|
1248
|
-
@bank_accounts = bank_accounts
|
|
1249
|
-
@financial_accounts = financial_accounts
|
|
1250
|
-
end
|
|
1251
|
-
end
|
|
1252
|
-
|
|
1253
|
-
class ReceivedCredits < ::Stripe::RequestParams
|
|
1254
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1255
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1256
|
-
attr_accessor :requested
|
|
1257
|
-
|
|
1258
|
-
def initialize(requested: nil)
|
|
1259
|
-
@requested = requested
|
|
1260
|
-
end
|
|
1261
|
-
end
|
|
1262
|
-
# Can receive funds on a bank-account-like financial address (VBAN) to credit a FinancialAccount.
|
|
1263
|
-
attr_accessor :bank_accounts
|
|
1264
|
-
|
|
1265
|
-
def initialize(bank_accounts: nil)
|
|
1266
|
-
@bank_accounts = bank_accounts
|
|
1267
|
-
end
|
|
1268
|
-
end
|
|
1269
|
-
|
|
1270
|
-
class ReceivedDebits < ::Stripe::RequestParams
|
|
1271
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1272
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1273
|
-
attr_accessor :requested
|
|
1274
|
-
|
|
1275
|
-
def initialize(requested: nil)
|
|
1276
|
-
@requested = requested
|
|
1277
|
-
end
|
|
1278
|
-
end
|
|
1279
|
-
# Can receive debits to a FinancialAccount from a bank account.
|
|
1280
|
-
attr_accessor :bank_accounts
|
|
1281
|
-
|
|
1282
|
-
def initialize(bank_accounts: nil)
|
|
1283
|
-
@bank_accounts = bank_accounts
|
|
1284
|
-
end
|
|
1285
|
-
end
|
|
1286
|
-
# Can send or receive business storage-type funds on Stripe.
|
|
1287
|
-
attr_accessor :business_storage
|
|
1288
|
-
# Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
1289
|
-
attr_accessor :inbound_transfers
|
|
1290
|
-
# Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
1291
|
-
attr_accessor :outbound_payments
|
|
1292
|
-
# Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
1293
|
-
attr_accessor :outbound_transfers
|
|
1294
|
-
# Can receive funds on a financial address to credit a FinancialAccount.
|
|
1295
|
-
attr_accessor :received_credits
|
|
1296
|
-
# Can receive debits to a FinancialAccount.
|
|
1297
|
-
attr_accessor :received_debits
|
|
1298
|
-
|
|
1299
|
-
def initialize(
|
|
1300
|
-
business_storage: nil,
|
|
1301
|
-
inbound_transfers: nil,
|
|
1302
|
-
outbound_payments: nil,
|
|
1303
|
-
outbound_transfers: nil,
|
|
1304
|
-
received_credits: nil,
|
|
1305
|
-
received_debits: nil
|
|
1306
|
-
)
|
|
1307
|
-
@business_storage = business_storage
|
|
1308
|
-
@inbound_transfers = inbound_transfers
|
|
1309
|
-
@outbound_payments = outbound_payments
|
|
1310
|
-
@outbound_transfers = outbound_transfers
|
|
1311
|
-
@received_credits = received_credits
|
|
1312
|
-
@received_debits = received_debits
|
|
1313
|
-
end
|
|
1314
|
-
end
|
|
1315
|
-
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
1316
|
-
attr_accessor :applied
|
|
1317
|
-
# Capabilities to request on the Money Manager Configuration.
|
|
1318
|
-
attr_accessor :capabilities
|
|
1319
|
-
|
|
1320
|
-
def initialize(applied: nil, capabilities: nil)
|
|
1321
|
-
@applied = applied
|
|
1322
|
-
@capabilities = capabilities
|
|
1323
|
-
end
|
|
1324
|
-
end
|
|
1325
|
-
|
|
1326
994
|
class Recipient < ::Stripe::RequestParams
|
|
1327
995
|
class Capabilities < ::Stripe::RequestParams
|
|
1328
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1329
|
-
class Local < ::Stripe::RequestParams
|
|
1330
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1331
|
-
attr_accessor :requested
|
|
1332
|
-
|
|
1333
|
-
def initialize(requested: nil)
|
|
1334
|
-
@requested = requested
|
|
1335
|
-
end
|
|
1336
|
-
end
|
|
1337
|
-
|
|
1338
|
-
class Wire < ::Stripe::RequestParams
|
|
1339
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1340
|
-
attr_accessor :requested
|
|
1341
|
-
|
|
1342
|
-
def initialize(requested: nil)
|
|
1343
|
-
@requested = requested
|
|
1344
|
-
end
|
|
1345
|
-
end
|
|
1346
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
1347
|
-
attr_accessor :local
|
|
1348
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
1349
|
-
attr_accessor :wire
|
|
1350
|
-
|
|
1351
|
-
def initialize(local: nil, wire: nil)
|
|
1352
|
-
@local = local
|
|
1353
|
-
@wire = wire
|
|
1354
|
-
end
|
|
1355
|
-
end
|
|
1356
|
-
|
|
1357
|
-
class Cards < ::Stripe::RequestParams
|
|
1358
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1359
|
-
attr_accessor :requested
|
|
1360
|
-
|
|
1361
|
-
def initialize(requested: nil)
|
|
1362
|
-
@requested = requested
|
|
1363
|
-
end
|
|
1364
|
-
end
|
|
1365
|
-
|
|
1366
996
|
class StripeBalance < ::Stripe::RequestParams
|
|
1367
997
|
class StripeTransfers < ::Stripe::RequestParams
|
|
1368
998
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -1379,16 +1009,10 @@ module Stripe
|
|
|
1379
1009
|
@stripe_transfers = stripe_transfers
|
|
1380
1010
|
end
|
|
1381
1011
|
end
|
|
1382
|
-
# Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
1383
|
-
attr_accessor :bank_accounts
|
|
1384
|
-
# Capability that enable OutboundPayments to a debit card linked to this Account.
|
|
1385
|
-
attr_accessor :cards
|
|
1386
1012
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
1387
1013
|
attr_accessor :stripe_balance
|
|
1388
1014
|
|
|
1389
|
-
def initialize(
|
|
1390
|
-
@bank_accounts = bank_accounts
|
|
1391
|
-
@cards = cards
|
|
1015
|
+
def initialize(stripe_balance: nil)
|
|
1392
1016
|
@stripe_balance = stripe_balance
|
|
1393
1017
|
end
|
|
1394
1018
|
end
|
|
@@ -1396,28 +1020,22 @@ module Stripe
|
|
|
1396
1020
|
attr_accessor :applied
|
|
1397
1021
|
# Capabilities to request on the Recipient Configuration.
|
|
1398
1022
|
attr_accessor :capabilities
|
|
1399
|
-
# The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
|
|
1400
|
-
attr_accessor :default_outbound_destination
|
|
1401
1023
|
|
|
1402
|
-
def initialize(applied: nil, capabilities: nil
|
|
1024
|
+
def initialize(applied: nil, capabilities: nil)
|
|
1403
1025
|
@applied = applied
|
|
1404
1026
|
@capabilities = capabilities
|
|
1405
|
-
@default_outbound_destination = default_outbound_destination
|
|
1406
1027
|
end
|
|
1407
1028
|
end
|
|
1408
1029
|
# The Customer Configuration allows the Account to be charged.
|
|
1409
1030
|
attr_accessor :customer
|
|
1410
1031
|
# 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.
|
|
1411
1032
|
attr_accessor :merchant
|
|
1412
|
-
# The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts.
|
|
1413
|
-
attr_accessor :money_manager
|
|
1414
1033
|
# 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.
|
|
1415
1034
|
attr_accessor :recipient
|
|
1416
1035
|
|
|
1417
|
-
def initialize(customer: nil, merchant: nil,
|
|
1036
|
+
def initialize(customer: nil, merchant: nil, recipient: nil)
|
|
1418
1037
|
@customer = customer
|
|
1419
1038
|
@merchant = merchant
|
|
1420
|
-
@money_manager = money_manager
|
|
1421
1039
|
@recipient = recipient
|
|
1422
1040
|
end
|
|
1423
1041
|
end
|
|
@@ -1457,21 +1075,12 @@ module Stripe
|
|
|
1457
1075
|
attr_accessor :profile
|
|
1458
1076
|
# Default responsibilities held by either Stripe or the platform.
|
|
1459
1077
|
attr_accessor :responsibilities
|
|
1460
|
-
# 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).
|
|
1461
|
-
attr_accessor :timezone
|
|
1462
1078
|
|
|
1463
|
-
def initialize(
|
|
1464
|
-
currency: nil,
|
|
1465
|
-
locales: nil,
|
|
1466
|
-
profile: nil,
|
|
1467
|
-
responsibilities: nil,
|
|
1468
|
-
timezone: nil
|
|
1469
|
-
)
|
|
1079
|
+
def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil)
|
|
1470
1080
|
@currency = currency
|
|
1471
1081
|
@locales = locales
|
|
1472
1082
|
@profile = profile
|
|
1473
1083
|
@responsibilities = responsibilities
|
|
1474
|
-
@timezone = timezone
|
|
1475
1084
|
end
|
|
1476
1085
|
end
|
|
1477
1086
|
|
|
@@ -1630,6 +1239,45 @@ module Stripe
|
|
|
1630
1239
|
end
|
|
1631
1240
|
|
|
1632
1241
|
class BusinessDetails < ::Stripe::RequestParams
|
|
1242
|
+
class AdditionalAddress < ::Stripe::RequestParams
|
|
1243
|
+
# City, district, suburb, town, or village.
|
|
1244
|
+
attr_accessor :city
|
|
1245
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1246
|
+
attr_accessor :country
|
|
1247
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
|
1248
|
+
attr_accessor :line1
|
|
1249
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
|
1250
|
+
attr_accessor :line2
|
|
1251
|
+
# ZIP or postal code.
|
|
1252
|
+
attr_accessor :postal_code
|
|
1253
|
+
# Purpose of additional address.
|
|
1254
|
+
attr_accessor :purpose
|
|
1255
|
+
# State, county, province, or region.
|
|
1256
|
+
attr_accessor :state
|
|
1257
|
+
# Town or district.
|
|
1258
|
+
attr_accessor :town
|
|
1259
|
+
|
|
1260
|
+
def initialize(
|
|
1261
|
+
city: nil,
|
|
1262
|
+
country: nil,
|
|
1263
|
+
line1: nil,
|
|
1264
|
+
line2: nil,
|
|
1265
|
+
postal_code: nil,
|
|
1266
|
+
purpose: nil,
|
|
1267
|
+
state: nil,
|
|
1268
|
+
town: nil
|
|
1269
|
+
)
|
|
1270
|
+
@city = city
|
|
1271
|
+
@country = country
|
|
1272
|
+
@line1 = line1
|
|
1273
|
+
@line2 = line2
|
|
1274
|
+
@postal_code = postal_code
|
|
1275
|
+
@purpose = purpose
|
|
1276
|
+
@state = state
|
|
1277
|
+
@town = town
|
|
1278
|
+
end
|
|
1279
|
+
end
|
|
1280
|
+
|
|
1633
1281
|
class Address < ::Stripe::RequestParams
|
|
1634
1282
|
# City, district, suburb, town, or village.
|
|
1635
1283
|
attr_accessor :city
|
|
@@ -2024,6 +1672,8 @@ module Stripe
|
|
|
2024
1672
|
@kanji = kanji
|
|
2025
1673
|
end
|
|
2026
1674
|
end
|
|
1675
|
+
# Additional addresses associated with the business.
|
|
1676
|
+
attr_accessor :additional_addresses
|
|
2027
1677
|
# The business registration address of the business entity.
|
|
2028
1678
|
attr_accessor :address
|
|
2029
1679
|
# The business gross annual revenue for its preceding fiscal year.
|
|
@@ -2050,6 +1700,7 @@ module Stripe
|
|
|
2050
1700
|
attr_accessor :structure
|
|
2051
1701
|
|
|
2052
1702
|
def initialize(
|
|
1703
|
+
additional_addresses: nil,
|
|
2053
1704
|
address: nil,
|
|
2054
1705
|
annual_revenue: nil,
|
|
2055
1706
|
documents: nil,
|
|
@@ -2063,6 +1714,7 @@ module Stripe
|
|
|
2063
1714
|
script_names: nil,
|
|
2064
1715
|
structure: nil
|
|
2065
1716
|
)
|
|
1717
|
+
@additional_addresses = additional_addresses
|
|
2066
1718
|
@address = address
|
|
2067
1719
|
@annual_revenue = annual_revenue
|
|
2068
1720
|
@documents = documents
|