stripe 16.0.0 → 16.1.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +35 -3
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +236 -0
- data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/object_types.rb +58 -0
- data/lib/stripe/params/account_create_params.rb +300 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_session_create_params.rb +226 -1
- data/lib/stripe/params/account_update_params.rb +262 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +4 -1
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_list_params.rb +4 -0
- data/lib/stripe/params/billing_portal/session_create_params.rb +4 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +709 -0
- data/lib/stripe/params/charge_update_params.rb +709 -0
- data/lib/stripe/params/checkout/session_create_params.rb +193 -3
- data/lib/stripe/params/checkout/session_list_params.rb +4 -0
- data/lib/stripe/params/checkout/session_update_params.rb +288 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +97 -0
- data/lib/stripe/params/coupon_create_params.rb +17 -1
- data/lib/stripe/params/credit_note_list_params.rb +4 -0
- data/lib/stripe/params/customer_session_create_params.rb +4 -1
- data/lib/stripe/params/dispute_update_params.rb +10 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/account_list_params.rb +4 -1
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +34 -2
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_list_params.rb +4 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +46 -1
- data/lib/stripe/params/invoice_create_params.rb +112 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +826 -9
- data/lib/stripe/params/invoice_item_create_params.rb +37 -1
- data/lib/stripe/params/invoice_item_list_params.rb +4 -0
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/invoice_payment_list_params.rb +4 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_update_params.rb +108 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +1124 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +1128 -0
- data/lib/stripe/params/payment_attempt_record_list_params.rb +19 -0
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +895 -0
- data/lib/stripe/params/payment_intent_confirm_params.rb +1373 -7
- data/lib/stripe/params/payment_intent_create_params.rb +1387 -13
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +223 -0
- data/lib/stripe/params/payment_intent_list_params.rb +4 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +1409 -4
- data/lib/stripe/params/payment_method_attach_params.rb +4 -1
- data/lib/stripe/params/payment_method_configuration_create_params.rb +126 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +126 -0
- data/lib/stripe/params/payment_method_create_params.rb +97 -0
- data/lib/stripe/params/payment_method_update_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
- data/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
- data/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/price_update_params.rb +19 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/promotion_code_create_params.rb +4 -0
- data/lib/stripe/params/promotion_code_list_params.rb +4 -0
- data/lib/stripe/params/quote_create_params.rb +805 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +8 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +813 -4
- data/lib/stripe/params/setup_intent_confirm_params.rb +225 -3
- data/lib/stripe/params/setup_intent_create_params.rb +231 -3
- data/lib/stripe/params/setup_intent_list_params.rb +4 -0
- data/lib/stripe/params/setup_intent_update_params.rb +231 -3
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_create_params.rb +259 -5
- data/lib/stripe/params/subscription_item_create_params.rb +46 -2
- data/lib/stripe/params/subscription_item_update_params.rb +29 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +163 -5
- data/lib/stripe/params/subscription_update_params.rb +238 -4
- data/lib/stripe/params/tax/association_find_params.rb +18 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax_id_create_params.rb +4 -1
- data/lib/stripe/params/tax_id_list_params.rb +4 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +97 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/transfer_create_params.rb +4 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +253 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +75 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/core/account_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2217 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +20 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2245 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +493 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +493 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +98 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +67 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +85 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +77 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +61 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +237 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params.rb +169 -0
- data/lib/stripe/request_options.rb +3 -1
- data/lib/stripe/resources/account.rb +166 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_grant.rb +2 -0
- data/lib/stripe/resources/billing_portal/session.rb +2 -0
- data/lib/stripe/resources/capital/financing_offer.rb +142 -0
- data/lib/stripe/resources/capital/financing_summary.rb +79 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +234 -1
- data/lib/stripe/resources/checkout/session.rb +154 -4
- data/lib/stripe/resources/confirmation_token.rb +155 -0
- data/lib/stripe/resources/coupon.rb +26 -1
- data/lib/stripe/resources/credit_note.rb +2 -0
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +2 -0
- data/lib/stripe/resources/discount.rb +2 -0
- data/lib/stripe/resources/dispute.rb +22 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +27 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +67 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/verification_session.rb +2 -0
- data/lib/stripe/resources/invoice.rb +152 -1
- data/lib/stripe/resources/invoice_item.rb +4 -0
- data/lib/stripe/resources/invoice_line_item.rb +40 -0
- data/lib/stripe/resources/invoice_payment.rb +2 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +2 -0
- data/lib/stripe/resources/line_item.rb +68 -1
- data/lib/stripe/resources/mandate.rb +71 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +987 -0
- data/lib/stripe/resources/payment_attempt_record.rb +2102 -0
- data/lib/stripe/resources/payment_intent.rb +848 -4
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
- data/lib/stripe/resources/payment_method.rb +157 -0
- data/lib/stripe/resources/payment_method_configuration.rb +204 -0
- data/lib/stripe/resources/payment_record.rb +2208 -0
- data/lib/stripe/resources/price.rb +20 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/promotion_code.rb +2 -0
- data/lib/stripe/resources/quote.rb +571 -2
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/setup_attempt.rb +63 -0
- data/lib/stripe/resources/setup_intent.rb +132 -1
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +232 -0
- data/lib/stripe/resources/subscription_item.rb +20 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/association.rb +86 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax_id.rb +4 -0
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +609 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/core/account.rb +3851 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/account_person.rb +477 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +47 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +148 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +217 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +196 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +109 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +228 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +242 -0
- data/lib/stripe/resources.rb +116 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
- data/lib/stripe/services/payment_intent_service.rb +44 -0
- data/lib/stripe/services/payment_record_service.rb +89 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +11 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/v1_services.rb +10 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +5 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
- data/lib/stripe/services/v2/core/account_service.rb +76 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +74 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +68 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +4 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +59 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +73 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +63 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2_services.rb +4 -1
- data/lib/stripe/services.rb +61 -0
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_configuration.rb +9 -2
- data/lib/stripe/stripe_object.rb +9 -9
- data/lib/stripe/util.rb +9 -3
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +155102 -90522
- metadata +351 -5
@@ -316,6 +316,8 @@ module Stripe
|
|
316
316
|
class Card < Stripe::StripeObject
|
317
317
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
318
318
|
attr_reader :brand
|
319
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
320
|
+
attr_reader :brand_product
|
319
321
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
320
322
|
attr_reader :country
|
321
323
|
# Two-digit number representing the card's expiration month.
|
@@ -486,6 +488,19 @@ module Stripe
|
|
486
488
|
end
|
487
489
|
end
|
488
490
|
|
491
|
+
class DecrementalAuthorization < Stripe::StripeObject
|
492
|
+
# Indicates whether or not the decremental authorization feature is supported.
|
493
|
+
attr_reader :status
|
494
|
+
|
495
|
+
def self.inner_class_types
|
496
|
+
@inner_class_types = {}
|
497
|
+
end
|
498
|
+
|
499
|
+
def self.field_remappings
|
500
|
+
@field_remappings = {}
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
489
504
|
class ExtendedAuthorization < Stripe::StripeObject
|
490
505
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
491
506
|
attr_reader :status
|
@@ -583,6 +598,19 @@ module Stripe
|
|
583
598
|
end
|
584
599
|
end
|
585
600
|
|
601
|
+
class PartialAuthorization < Stripe::StripeObject
|
602
|
+
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
603
|
+
attr_reader :status
|
604
|
+
|
605
|
+
def self.inner_class_types
|
606
|
+
@inner_class_types = {}
|
607
|
+
end
|
608
|
+
|
609
|
+
def self.field_remappings
|
610
|
+
@field_remappings = {}
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
586
614
|
class ThreeDSecure < Stripe::StripeObject
|
587
615
|
# For authenticated transactions: how the customer was authenticated by
|
588
616
|
# the issuing bank.
|
@@ -836,6 +864,8 @@ module Stripe
|
|
836
864
|
end
|
837
865
|
# The authorized amount.
|
838
866
|
attr_reader :amount_authorized
|
867
|
+
# The latest amount intended to be authorized by this charge.
|
868
|
+
attr_reader :amount_requested
|
839
869
|
# Authorization code on the charge.
|
840
870
|
attr_reader :authorization_code
|
841
871
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
@@ -846,6 +876,8 @@ module Stripe
|
|
846
876
|
attr_reader :checks
|
847
877
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
848
878
|
attr_reader :country
|
879
|
+
# Attribute for field decremental_authorization
|
880
|
+
attr_reader :decremental_authorization
|
849
881
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
850
882
|
attr_reader :description
|
851
883
|
# Two-digit number representing the card's expiration month.
|
@@ -886,6 +918,8 @@ module Stripe
|
|
886
918
|
attr_reader :network_transaction_id
|
887
919
|
# Attribute for field overcapture
|
888
920
|
attr_reader :overcapture
|
921
|
+
# Attribute for field partial_authorization
|
922
|
+
attr_reader :partial_authorization
|
889
923
|
# Status of a card based on the card issuer.
|
890
924
|
attr_reader :regulated_status
|
891
925
|
# Populated if this transaction used 3D Secure authentication.
|
@@ -896,12 +930,14 @@ module Stripe
|
|
896
930
|
def self.inner_class_types
|
897
931
|
@inner_class_types = {
|
898
932
|
checks: Checks,
|
933
|
+
decremental_authorization: DecrementalAuthorization,
|
899
934
|
extended_authorization: ExtendedAuthorization,
|
900
935
|
incremental_authorization: IncrementalAuthorization,
|
901
936
|
installments: Installments,
|
902
937
|
multicapture: Multicapture,
|
903
938
|
network_token: NetworkToken,
|
904
939
|
overcapture: Overcapture,
|
940
|
+
partial_authorization: PartialAuthorization,
|
905
941
|
three_d_secure: ThreeDSecure,
|
906
942
|
wallet: Wallet,
|
907
943
|
}
|
@@ -1132,6 +1168,16 @@ module Stripe
|
|
1132
1168
|
end
|
1133
1169
|
end
|
1134
1170
|
|
1171
|
+
class Gopay < Stripe::StripeObject
|
1172
|
+
def self.inner_class_types
|
1173
|
+
@inner_class_types = {}
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
def self.field_remappings
|
1177
|
+
@field_remappings = {}
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
1135
1181
|
class Grabpay < Stripe::StripeObject
|
1136
1182
|
# Unique transaction id generated by GrabPay
|
1137
1183
|
attr_reader :transaction_id
|
@@ -1145,6 +1191,27 @@ module Stripe
|
|
1145
1191
|
end
|
1146
1192
|
end
|
1147
1193
|
|
1194
|
+
class IdBankTransfer < Stripe::StripeObject
|
1195
|
+
# Account number of the bank account to transfer funds to.
|
1196
|
+
attr_reader :account_number
|
1197
|
+
# Bank where the account is located.
|
1198
|
+
attr_reader :bank
|
1199
|
+
# Local bank code of the bank.
|
1200
|
+
attr_reader :bank_code
|
1201
|
+
# Name of the bank associated with the bank account.
|
1202
|
+
attr_reader :bank_name
|
1203
|
+
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
1204
|
+
attr_reader :display_name
|
1205
|
+
|
1206
|
+
def self.inner_class_types
|
1207
|
+
@inner_class_types = {}
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
def self.field_remappings
|
1211
|
+
@field_remappings = {}
|
1212
|
+
end
|
1213
|
+
end
|
1214
|
+
|
1148
1215
|
class Ideal < Stripe::StripeObject
|
1149
1216
|
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
1150
1217
|
attr_reader :bank
|
@@ -1547,6 +1614,52 @@ module Stripe
|
|
1547
1614
|
@field_remappings = {}
|
1548
1615
|
end
|
1549
1616
|
end
|
1617
|
+
|
1618
|
+
class Shipping < Stripe::StripeObject
|
1619
|
+
# City, district, suburb, town, or village.
|
1620
|
+
attr_reader :city
|
1621
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1622
|
+
attr_reader :country
|
1623
|
+
# Address line 1, such as the street, PO Box, or company name.
|
1624
|
+
attr_reader :line1
|
1625
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
1626
|
+
attr_reader :line2
|
1627
|
+
# ZIP or postal code.
|
1628
|
+
attr_reader :postal_code
|
1629
|
+
# State, county, province, or region.
|
1630
|
+
attr_reader :state
|
1631
|
+
|
1632
|
+
def self.inner_class_types
|
1633
|
+
@inner_class_types = {}
|
1634
|
+
end
|
1635
|
+
|
1636
|
+
def self.field_remappings
|
1637
|
+
@field_remappings = {}
|
1638
|
+
end
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
class VerifiedAddress < Stripe::StripeObject
|
1642
|
+
# City, district, suburb, town, or village.
|
1643
|
+
attr_reader :city
|
1644
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1645
|
+
attr_reader :country
|
1646
|
+
# Address line 1, such as the street, PO Box, or company name.
|
1647
|
+
attr_reader :line1
|
1648
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
1649
|
+
attr_reader :line2
|
1650
|
+
# ZIP or postal code.
|
1651
|
+
attr_reader :postal_code
|
1652
|
+
# State, county, province, or region.
|
1653
|
+
attr_reader :state
|
1654
|
+
|
1655
|
+
def self.inner_class_types
|
1656
|
+
@inner_class_types = {}
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
def self.field_remappings
|
1660
|
+
@field_remappings = {}
|
1661
|
+
end
|
1662
|
+
end
|
1550
1663
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1551
1664
|
attr_reader :country
|
1552
1665
|
# Owner's email. Values are provided by PayPal directly
|
@@ -1559,11 +1672,58 @@ module Stripe
|
|
1559
1672
|
attr_reader :payer_name
|
1560
1673
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
1561
1674
|
attr_reader :seller_protection
|
1675
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
1676
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
1677
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
1678
|
+
attr_reader :shipping
|
1562
1679
|
# A unique ID generated by PayPal for this transaction.
|
1563
1680
|
attr_reader :transaction_id
|
1681
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
1682
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
1683
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
1684
|
+
attr_reader :verified_address
|
1685
|
+
# Owner's verified email. Values are verified or provided by PayPal directly
|
1686
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1687
|
+
attr_reader :verified_email
|
1688
|
+
# Owner's verified full name. Values are verified or provided by PayPal directly
|
1689
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1690
|
+
attr_reader :verified_name
|
1691
|
+
|
1692
|
+
def self.inner_class_types
|
1693
|
+
@inner_class_types = {
|
1694
|
+
seller_protection: SellerProtection,
|
1695
|
+
shipping: Shipping,
|
1696
|
+
verified_address: VerifiedAddress,
|
1697
|
+
}
|
1698
|
+
end
|
1699
|
+
|
1700
|
+
def self.field_remappings
|
1701
|
+
@field_remappings = {}
|
1702
|
+
end
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
class Paypay < Stripe::StripeObject
|
1706
|
+
def self.inner_class_types
|
1707
|
+
@inner_class_types = {}
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
def self.field_remappings
|
1711
|
+
@field_remappings = {}
|
1712
|
+
end
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
class Payto < Stripe::StripeObject
|
1716
|
+
# Bank-State-Branch number of the bank account.
|
1717
|
+
attr_reader :bsb_number
|
1718
|
+
# Last four digits of the bank account number.
|
1719
|
+
attr_reader :last4
|
1720
|
+
# ID of the mandate used to make this payment.
|
1721
|
+
attr_reader :mandate
|
1722
|
+
# The PayID alias for the bank account.
|
1723
|
+
attr_reader :pay_id
|
1564
1724
|
|
1565
1725
|
def self.inner_class_types
|
1566
|
-
@inner_class_types = {
|
1726
|
+
@inner_class_types = {}
|
1567
1727
|
end
|
1568
1728
|
|
1569
1729
|
def self.field_remappings
|
@@ -1574,6 +1734,8 @@ module Stripe
|
|
1574
1734
|
class Pix < Stripe::StripeObject
|
1575
1735
|
# Unique transaction id generated by BCB
|
1576
1736
|
attr_reader :bank_transaction_id
|
1737
|
+
# ID of the multi use Mandate generated by the PaymentIntent
|
1738
|
+
attr_reader :mandate
|
1577
1739
|
|
1578
1740
|
def self.inner_class_types
|
1579
1741
|
@inner_class_types = {}
|
@@ -1597,11 +1759,33 @@ module Stripe
|
|
1597
1759
|
end
|
1598
1760
|
end
|
1599
1761
|
|
1762
|
+
class Qris < Stripe::StripeObject
|
1763
|
+
def self.inner_class_types
|
1764
|
+
@inner_class_types = {}
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
def self.field_remappings
|
1768
|
+
@field_remappings = {}
|
1769
|
+
end
|
1770
|
+
end
|
1771
|
+
|
1772
|
+
class Rechnung < Stripe::StripeObject
|
1773
|
+
def self.inner_class_types
|
1774
|
+
@inner_class_types = {}
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
def self.field_remappings
|
1778
|
+
@field_remappings = {}
|
1779
|
+
end
|
1780
|
+
end
|
1781
|
+
|
1600
1782
|
class RevolutPay < Stripe::StripeObject
|
1601
1783
|
class Funding < Stripe::StripeObject
|
1602
1784
|
class Card < Stripe::StripeObject
|
1603
1785
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
1604
1786
|
attr_reader :brand
|
1787
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
1788
|
+
attr_reader :brand_product
|
1605
1789
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
1606
1790
|
attr_reader :country
|
1607
1791
|
# Two-digit number representing the card's expiration month.
|
@@ -1716,6 +1900,16 @@ module Stripe
|
|
1716
1900
|
end
|
1717
1901
|
end
|
1718
1902
|
|
1903
|
+
class Shopeepay < Stripe::StripeObject
|
1904
|
+
def self.inner_class_types
|
1905
|
+
@inner_class_types = {}
|
1906
|
+
end
|
1907
|
+
|
1908
|
+
def self.field_remappings
|
1909
|
+
@field_remappings = {}
|
1910
|
+
end
|
1911
|
+
end
|
1912
|
+
|
1719
1913
|
class Sofort < Stripe::StripeObject
|
1720
1914
|
# Bank code of bank associated with the bank account.
|
1721
1915
|
attr_reader :bank_code
|
@@ -1757,6 +1951,21 @@ module Stripe
|
|
1757
1951
|
end
|
1758
1952
|
end
|
1759
1953
|
|
1954
|
+
class StripeBalance < Stripe::StripeObject
|
1955
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1956
|
+
attr_reader :account
|
1957
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1958
|
+
attr_reader :source_type
|
1959
|
+
|
1960
|
+
def self.inner_class_types
|
1961
|
+
@inner_class_types = {}
|
1962
|
+
end
|
1963
|
+
|
1964
|
+
def self.field_remappings
|
1965
|
+
@field_remappings = {}
|
1966
|
+
end
|
1967
|
+
end
|
1968
|
+
|
1760
1969
|
class Swish < Stripe::StripeObject
|
1761
1970
|
# Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
|
1762
1971
|
attr_reader :fingerprint
|
@@ -1893,8 +2102,12 @@ module Stripe
|
|
1893
2102
|
attr_reader :fpx
|
1894
2103
|
# Attribute for field giropay
|
1895
2104
|
attr_reader :giropay
|
2105
|
+
# Attribute for field gopay
|
2106
|
+
attr_reader :gopay
|
1896
2107
|
# Attribute for field grabpay
|
1897
2108
|
attr_reader :grabpay
|
2109
|
+
# Attribute for field id_bank_transfer
|
2110
|
+
attr_reader :id_bank_transfer
|
1898
2111
|
# Attribute for field ideal
|
1899
2112
|
attr_reader :ideal
|
1900
2113
|
# Attribute for field interac_present
|
@@ -1931,10 +2144,18 @@ module Stripe
|
|
1931
2144
|
attr_reader :paynow
|
1932
2145
|
# Attribute for field paypal
|
1933
2146
|
attr_reader :paypal
|
2147
|
+
# Attribute for field paypay
|
2148
|
+
attr_reader :paypay
|
2149
|
+
# Attribute for field payto
|
2150
|
+
attr_reader :payto
|
1934
2151
|
# Attribute for field pix
|
1935
2152
|
attr_reader :pix
|
1936
2153
|
# Attribute for field promptpay
|
1937
2154
|
attr_reader :promptpay
|
2155
|
+
# Attribute for field qris
|
2156
|
+
attr_reader :qris
|
2157
|
+
# Attribute for field rechnung
|
2158
|
+
attr_reader :rechnung
|
1938
2159
|
# Attribute for field revolut_pay
|
1939
2160
|
attr_reader :revolut_pay
|
1940
2161
|
# Attribute for field samsung_pay
|
@@ -1945,10 +2166,14 @@ module Stripe
|
|
1945
2166
|
attr_reader :sepa_credit_transfer
|
1946
2167
|
# Attribute for field sepa_debit
|
1947
2168
|
attr_reader :sepa_debit
|
2169
|
+
# Attribute for field shopeepay
|
2170
|
+
attr_reader :shopeepay
|
1948
2171
|
# Attribute for field sofort
|
1949
2172
|
attr_reader :sofort
|
1950
2173
|
# Attribute for field stripe_account
|
1951
2174
|
attr_reader :stripe_account
|
2175
|
+
# Attribute for field stripe_balance
|
2176
|
+
attr_reader :stripe_balance
|
1952
2177
|
# Attribute for field swish
|
1953
2178
|
attr_reader :swish
|
1954
2179
|
# Attribute for field twint
|
@@ -1990,7 +2215,9 @@ module Stripe
|
|
1990
2215
|
eps: Eps,
|
1991
2216
|
fpx: Fpx,
|
1992
2217
|
giropay: Giropay,
|
2218
|
+
gopay: Gopay,
|
1993
2219
|
grabpay: Grabpay,
|
2220
|
+
id_bank_transfer: IdBankTransfer,
|
1994
2221
|
ideal: Ideal,
|
1995
2222
|
interac_present: InteracPresent,
|
1996
2223
|
kakao_pay: KakaoPay,
|
@@ -2009,15 +2236,21 @@ module Stripe
|
|
2009
2236
|
payco: Payco,
|
2010
2237
|
paynow: Paynow,
|
2011
2238
|
paypal: Paypal,
|
2239
|
+
paypay: Paypay,
|
2240
|
+
payto: Payto,
|
2012
2241
|
pix: Pix,
|
2013
2242
|
promptpay: Promptpay,
|
2243
|
+
qris: Qris,
|
2244
|
+
rechnung: Rechnung,
|
2014
2245
|
revolut_pay: RevolutPay,
|
2015
2246
|
samsung_pay: SamsungPay,
|
2016
2247
|
satispay: Satispay,
|
2017
2248
|
sepa_credit_transfer: SepaCreditTransfer,
|
2018
2249
|
sepa_debit: SepaDebit,
|
2250
|
+
shopeepay: Shopeepay,
|
2019
2251
|
sofort: Sofort,
|
2020
2252
|
stripe_account: StripeAccount,
|
2253
|
+
stripe_balance: StripeBalance,
|
2021
2254
|
swish: Swish,
|
2022
2255
|
twint: Twint,
|
2023
2256
|
us_bank_account: UsBankAccount,
|
@@ -201,15 +201,36 @@ module Stripe
|
|
201
201
|
@field_remappings = {}
|
202
202
|
end
|
203
203
|
end
|
204
|
+
|
205
|
+
class TaxId < Stripe::StripeObject
|
206
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
207
|
+
attr_reader :type
|
208
|
+
# The value of the tax ID.
|
209
|
+
attr_reader :value
|
210
|
+
|
211
|
+
def self.inner_class_types
|
212
|
+
@inner_class_types = {}
|
213
|
+
end
|
214
|
+
|
215
|
+
def self.field_remappings
|
216
|
+
@field_remappings = {}
|
217
|
+
end
|
218
|
+
end
|
204
219
|
# Customer’s business name for this Checkout Session
|
205
220
|
attr_reader :business_name
|
221
|
+
# Customer’s email for this Checkout Session
|
222
|
+
attr_reader :email
|
206
223
|
# Customer’s individual name for this Checkout Session
|
207
224
|
attr_reader :individual_name
|
225
|
+
# Customer’s phone number for this Checkout Session
|
226
|
+
attr_reader :phone
|
208
227
|
# Shipping information for this Checkout Session.
|
209
228
|
attr_reader :shipping_details
|
229
|
+
# Customer’s tax ids for this Checkout Session.
|
230
|
+
attr_reader :tax_ids
|
210
231
|
|
211
232
|
def self.inner_class_types
|
212
|
-
@inner_class_types = { shipping_details: ShippingDetails }
|
233
|
+
@inner_class_types = { shipping_details: ShippingDetails, tax_ids: TaxId }
|
213
234
|
end
|
214
235
|
|
215
236
|
def self.field_remappings
|
@@ -1010,6 +1031,8 @@ module Stripe
|
|
1010
1031
|
# Attribute for field installments
|
1011
1032
|
attr_reader :installments
|
1012
1033
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
1034
|
+
attr_reader :request_decremental_authorization
|
1035
|
+
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
1013
1036
|
attr_reader :request_extended_authorization
|
1014
1037
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
1015
1038
|
attr_reader :request_incremental_authorization
|
@@ -1465,6 +1488,8 @@ module Stripe
|
|
1465
1488
|
#
|
1466
1489
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
1467
1490
|
attr_reader :setup_future_usage
|
1491
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
1492
|
+
attr_reader :subsellers
|
1468
1493
|
|
1469
1494
|
def self.inner_class_types
|
1470
1495
|
@inner_class_types = {}
|
@@ -1475,11 +1500,84 @@ module Stripe
|
|
1475
1500
|
end
|
1476
1501
|
end
|
1477
1502
|
|
1503
|
+
class Payto < Stripe::StripeObject
|
1504
|
+
class MandateOptions < Stripe::StripeObject
|
1505
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1506
|
+
attr_reader :amount
|
1507
|
+
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
1508
|
+
attr_reader :amount_type
|
1509
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1510
|
+
attr_reader :end_date
|
1511
|
+
# The periodicity at which payments will be collected.
|
1512
|
+
attr_reader :payment_schedule
|
1513
|
+
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
1514
|
+
attr_reader :payments_per_period
|
1515
|
+
# The purpose for which payments are made. Defaults to retail.
|
1516
|
+
attr_reader :purpose
|
1517
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1518
|
+
attr_reader :start_date
|
1519
|
+
|
1520
|
+
def self.inner_class_types
|
1521
|
+
@inner_class_types = {}
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
def self.field_remappings
|
1525
|
+
@field_remappings = {}
|
1526
|
+
end
|
1527
|
+
end
|
1528
|
+
# Attribute for field mandate_options
|
1529
|
+
attr_reader :mandate_options
|
1530
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1531
|
+
#
|
1532
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
1533
|
+
#
|
1534
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
1535
|
+
#
|
1536
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
1537
|
+
attr_reader :setup_future_usage
|
1538
|
+
|
1539
|
+
def self.inner_class_types
|
1540
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
def self.field_remappings
|
1544
|
+
@field_remappings = {}
|
1545
|
+
end
|
1546
|
+
end
|
1547
|
+
|
1478
1548
|
class Pix < Stripe::StripeObject
|
1549
|
+
class MandateOptions < Stripe::StripeObject
|
1550
|
+
# Amount to be charged for future payments.
|
1551
|
+
attr_reader :amount
|
1552
|
+
# Determines if the amount includes the IOF tax.
|
1553
|
+
attr_reader :amount_includes_iof
|
1554
|
+
# Type of amount.
|
1555
|
+
attr_reader :amount_type
|
1556
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
1557
|
+
attr_reader :currency
|
1558
|
+
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
1559
|
+
attr_reader :end_date
|
1560
|
+
# Schedule at which the future payments will be charged.
|
1561
|
+
attr_reader :payment_schedule
|
1562
|
+
# Subscription name displayed to buyers in their bank app.
|
1563
|
+
attr_reader :reference
|
1564
|
+
# Start date of the mandate, in `YYYY-MM-DD`.
|
1565
|
+
attr_reader :start_date
|
1566
|
+
|
1567
|
+
def self.inner_class_types
|
1568
|
+
@inner_class_types = {}
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
def self.field_remappings
|
1572
|
+
@field_remappings = {}
|
1573
|
+
end
|
1574
|
+
end
|
1479
1575
|
# Determines if the amount includes the IOF tax.
|
1480
1576
|
attr_reader :amount_includes_iof
|
1481
1577
|
# The number of seconds after which Pix payment will expire.
|
1482
1578
|
attr_reader :expires_after_seconds
|
1579
|
+
# Attribute for field mandate_options
|
1580
|
+
attr_reader :mandate_options
|
1483
1581
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
1484
1582
|
#
|
1485
1583
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
@@ -1490,7 +1588,7 @@ module Stripe
|
|
1490
1588
|
attr_reader :setup_future_usage
|
1491
1589
|
|
1492
1590
|
def self.inner_class_types
|
1493
|
-
@inner_class_types = {}
|
1591
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
1494
1592
|
end
|
1495
1593
|
|
1496
1594
|
def self.field_remappings
|
@@ -1617,6 +1715,21 @@ module Stripe
|
|
1617
1715
|
class Filters < Stripe::StripeObject
|
1618
1716
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
1619
1717
|
attr_reader :account_subcategories
|
1718
|
+
# The institution to use to filter for possible accounts to link.
|
1719
|
+
attr_reader :institution
|
1720
|
+
|
1721
|
+
def self.inner_class_types
|
1722
|
+
@inner_class_types = {}
|
1723
|
+
end
|
1724
|
+
|
1725
|
+
def self.field_remappings
|
1726
|
+
@field_remappings = {}
|
1727
|
+
end
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
class ManualEntry < Stripe::StripeObject
|
1731
|
+
# Settings for configuring manual entry of account details.
|
1732
|
+
attr_reader :mode
|
1620
1733
|
|
1621
1734
|
def self.inner_class_types
|
1622
1735
|
@inner_class_types = {}
|
@@ -1628,6 +1741,8 @@ module Stripe
|
|
1628
1741
|
end
|
1629
1742
|
# Attribute for field filters
|
1630
1743
|
attr_reader :filters
|
1744
|
+
# Attribute for field manual_entry
|
1745
|
+
attr_reader :manual_entry
|
1631
1746
|
# The list of permissions to request. The `payment_method` permission must be included.
|
1632
1747
|
attr_reader :permissions
|
1633
1748
|
# Data features requested to be retrieved upon account creation.
|
@@ -1636,7 +1751,7 @@ module Stripe
|
|
1636
1751
|
attr_reader :return_url
|
1637
1752
|
|
1638
1753
|
def self.inner_class_types
|
1639
|
-
@inner_class_types = { filters: Filters }
|
1754
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
1640
1755
|
end
|
1641
1756
|
|
1642
1757
|
def self.field_remappings
|
@@ -1730,6 +1845,8 @@ module Stripe
|
|
1730
1845
|
attr_reader :paynow
|
1731
1846
|
# Attribute for field paypal
|
1732
1847
|
attr_reader :paypal
|
1848
|
+
# Attribute for field payto
|
1849
|
+
attr_reader :payto
|
1733
1850
|
# Attribute for field pix
|
1734
1851
|
attr_reader :pix
|
1735
1852
|
# Attribute for field revolut_pay
|
@@ -1781,6 +1898,7 @@ module Stripe
|
|
1781
1898
|
payco: Payco,
|
1782
1899
|
paynow: Paynow,
|
1783
1900
|
paypal: Paypal,
|
1901
|
+
payto: Payto,
|
1784
1902
|
pix: Pix,
|
1785
1903
|
revolut_pay: RevolutPay,
|
1786
1904
|
samsung_pay: SamsungPay,
|
@@ -1798,6 +1916,36 @@ module Stripe
|
|
1798
1916
|
end
|
1799
1917
|
|
1800
1918
|
class Permissions < Stripe::StripeObject
|
1919
|
+
class Update < Stripe::StripeObject
|
1920
|
+
# Determines which entity is allowed to update the line items.
|
1921
|
+
#
|
1922
|
+
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
1923
|
+
#
|
1924
|
+
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
1925
|
+
attr_reader :line_items
|
1926
|
+
# Determines which entity is allowed to update the shipping details.
|
1927
|
+
#
|
1928
|
+
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
1929
|
+
#
|
1930
|
+
# When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
1931
|
+
attr_reader :shipping_details
|
1932
|
+
|
1933
|
+
def self.inner_class_types
|
1934
|
+
@inner_class_types = {}
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
def self.field_remappings
|
1938
|
+
@field_remappings = {}
|
1939
|
+
end
|
1940
|
+
end
|
1941
|
+
# Permissions for updating the Checkout Session.
|
1942
|
+
attr_reader :update
|
1943
|
+
# Determines which entity is allowed to update the line items.
|
1944
|
+
#
|
1945
|
+
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
1946
|
+
#
|
1947
|
+
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
1948
|
+
attr_reader :update_line_items
|
1801
1949
|
# Determines which entity is allowed to update the shipping details.
|
1802
1950
|
#
|
1803
1951
|
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
@@ -1806,7 +1954,7 @@ module Stripe
|
|
1806
1954
|
attr_reader :update_shipping_details
|
1807
1955
|
|
1808
1956
|
def self.inner_class_types
|
1809
|
-
@inner_class_types = {}
|
1957
|
+
@inner_class_types = { update: Update }
|
1810
1958
|
end
|
1811
1959
|
|
1812
1960
|
def self.field_remappings
|
@@ -2086,6 +2234,8 @@ module Stripe
|
|
2086
2234
|
# during the payment flow unless an existing customer was provided when
|
2087
2235
|
# the Session was created.
|
2088
2236
|
attr_reader :customer
|
2237
|
+
# The ID of the account for this Session.
|
2238
|
+
attr_reader :customer_account
|
2089
2239
|
# Configure whether a Checkout Session creates a Customer when the Checkout Session completes.
|
2090
2240
|
attr_reader :customer_creation
|
2091
2241
|
# The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode.
|