stripe 19.3.0.pre.beta.1 → 19.3.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 +9 -37
- 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 -228
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +2 -375
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +1 -337
- data/lib/stripe/params/balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_create_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 +50 -128
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +1 -79
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_create_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/dispute_update_params.rb +18 -11
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +2 -49
- 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 +10 -791
- 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 +2 -49
- data/lib/stripe/params/invoice_update_lines_params.rb +2 -49
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- 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 +116 -3016
- data/lib/stripe/params/payment_intent_create_params.rb +128 -3028
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +86 -3017
- data/lib/stripe/params/payment_link_create_params.rb +1 -16
- 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 +1 -75
- 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/quote_create_params.rb +3 -809
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -817
- data/lib/stripe/params/setup_intent_confirm_params.rb +4 -109
- data/lib/stripe/params/setup_intent_create_params.rb +4 -109
- data/lib/stripe/params/setup_intent_update_params.rb +4 -109
- data/lib/stripe/params/subscription_create_params.rb +34 -171
- 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 +5 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -167
- data/lib/stripe/params/subscription_update_params.rb +34 -155
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- data/lib/stripe/params/tax/registration_create_params.rb +0 -104
- 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 +1 -79
- 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/topup_create_params.rb +24 -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/core/account_create_params.rb +18 -282
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -13
- data/lib/stripe/params/v2/core/account_update_params.rb +25 -282
- data/lib/stripe/params.rb +0 -426
- data/lib/stripe/resources/account.rb +1 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +3 -3
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +7 -211
- data/lib/stripe/resources/checkout/session.rb +53 -75
- data/lib/stripe/resources/confirmation_token.rb +9 -131
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +2 -0
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +32 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +8 -33
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +1 -117
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- 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 +47 -1568
- data/lib/stripe/resources/payment_method.rb +9 -135
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +3 -179
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/reserve/hold.rb +18 -8
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +16 -35
- data/lib/stripe/resources/setup_intent.rb +1 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +23 -169
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- 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/commerce/product_catalog_import.rb +2 -0
- data/lib/stripe/resources/v2/core/account.rb +155 -717
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources.rb +0 -417
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/balance_transaction_service.rb +2 -2
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/credit_note_service.rb +2 -0
- data/lib/stripe/services/customer_service.rb +0 -15
- 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/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 +1 -57
- 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 +52694 -118800
- metadata +8 -382
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_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_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_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_list_params.rb +0 -25
- 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_draft_params.rb +0 -13
- 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 -58
- 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 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -82
- 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/authorization.rb +0 -82
- 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 -1792
- 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 -488
- 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 -219
- 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 -196
- 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 -230
- 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 -101
- 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 -582
|
@@ -318,8 +318,6 @@ module Stripe
|
|
|
318
318
|
class Card < ::Stripe::StripeObject
|
|
319
319
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
320
320
|
attr_reader :brand
|
|
321
|
-
# 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.)
|
|
322
|
-
attr_reader :brand_product
|
|
323
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.
|
|
324
322
|
attr_reader :country
|
|
325
323
|
# Two-digit number representing the card's expiration month.
|
|
@@ -451,6 +449,8 @@ module Stripe
|
|
|
451
449
|
end
|
|
452
450
|
|
|
453
451
|
class Bizum < ::Stripe::StripeObject
|
|
452
|
+
# A unique identifier for the buyer as determined by the local payment processor.
|
|
453
|
+
attr_reader :buyer_id
|
|
454
454
|
# The Bizum transaction ID associated with this payment.
|
|
455
455
|
attr_reader :transaction_id
|
|
456
456
|
|
|
@@ -507,19 +507,6 @@ module Stripe
|
|
|
507
507
|
end
|
|
508
508
|
end
|
|
509
509
|
|
|
510
|
-
class DecrementalAuthorization < ::Stripe::StripeObject
|
|
511
|
-
# Indicates whether or not the decremental authorization feature is supported.
|
|
512
|
-
attr_reader :status
|
|
513
|
-
|
|
514
|
-
def self.inner_class_types
|
|
515
|
-
@inner_class_types = {}
|
|
516
|
-
end
|
|
517
|
-
|
|
518
|
-
def self.field_remappings
|
|
519
|
-
@field_remappings = {}
|
|
520
|
-
end
|
|
521
|
-
end
|
|
522
|
-
|
|
523
510
|
class ExtendedAuthorization < ::Stripe::StripeObject
|
|
524
511
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
525
512
|
attr_reader :status
|
|
@@ -617,19 +604,6 @@ module Stripe
|
|
|
617
604
|
end
|
|
618
605
|
end
|
|
619
606
|
|
|
620
|
-
class PartialAuthorization < ::Stripe::StripeObject
|
|
621
|
-
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
622
|
-
attr_reader :status
|
|
623
|
-
|
|
624
|
-
def self.inner_class_types
|
|
625
|
-
@inner_class_types = {}
|
|
626
|
-
end
|
|
627
|
-
|
|
628
|
-
def self.field_remappings
|
|
629
|
-
@field_remappings = {}
|
|
630
|
-
end
|
|
631
|
-
end
|
|
632
|
-
|
|
633
607
|
class ThreeDSecure < ::Stripe::StripeObject
|
|
634
608
|
# For authenticated transactions: how the customer was authenticated by
|
|
635
609
|
# the issuing bank.
|
|
@@ -883,8 +857,6 @@ module Stripe
|
|
|
883
857
|
end
|
|
884
858
|
# The authorized amount.
|
|
885
859
|
attr_reader :amount_authorized
|
|
886
|
-
# The latest amount intended to be authorized by this charge.
|
|
887
|
-
attr_reader :amount_requested
|
|
888
860
|
# Authorization code on the charge.
|
|
889
861
|
attr_reader :authorization_code
|
|
890
862
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
@@ -895,8 +867,6 @@ module Stripe
|
|
|
895
867
|
attr_reader :checks
|
|
896
868
|
# 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.
|
|
897
869
|
attr_reader :country
|
|
898
|
-
# Attribute for field decremental_authorization
|
|
899
|
-
attr_reader :decremental_authorization
|
|
900
870
|
# 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.)
|
|
901
871
|
attr_reader :description
|
|
902
872
|
# Two-digit number representing the card's expiration month.
|
|
@@ -937,26 +907,24 @@ module Stripe
|
|
|
937
907
|
attr_reader :network_transaction_id
|
|
938
908
|
# Attribute for field overcapture
|
|
939
909
|
attr_reader :overcapture
|
|
940
|
-
# Attribute for field partial_authorization
|
|
941
|
-
attr_reader :partial_authorization
|
|
942
910
|
# Status of a card based on the card issuer.
|
|
943
911
|
attr_reader :regulated_status
|
|
944
912
|
# Populated if this transaction used 3D Secure authentication.
|
|
945
913
|
attr_reader :three_d_secure
|
|
914
|
+
# Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
915
|
+
attr_reader :transaction_link_id
|
|
946
916
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
947
917
|
attr_reader :wallet
|
|
948
918
|
|
|
949
919
|
def self.inner_class_types
|
|
950
920
|
@inner_class_types = {
|
|
951
921
|
checks: Checks,
|
|
952
|
-
decremental_authorization: DecrementalAuthorization,
|
|
953
922
|
extended_authorization: ExtendedAuthorization,
|
|
954
923
|
incremental_authorization: IncrementalAuthorization,
|
|
955
924
|
installments: Installments,
|
|
956
925
|
multicapture: Multicapture,
|
|
957
926
|
network_token: NetworkToken,
|
|
958
927
|
overcapture: Overcapture,
|
|
959
|
-
partial_authorization: PartialAuthorization,
|
|
960
928
|
three_d_secure: ThreeDSecure,
|
|
961
929
|
wallet: Wallet,
|
|
962
930
|
}
|
|
@@ -1191,16 +1159,6 @@ module Stripe
|
|
|
1191
1159
|
end
|
|
1192
1160
|
end
|
|
1193
1161
|
|
|
1194
|
-
class Gopay < ::Stripe::StripeObject
|
|
1195
|
-
def self.inner_class_types
|
|
1196
|
-
@inner_class_types = {}
|
|
1197
|
-
end
|
|
1198
|
-
|
|
1199
|
-
def self.field_remappings
|
|
1200
|
-
@field_remappings = {}
|
|
1201
|
-
end
|
|
1202
|
-
end
|
|
1203
|
-
|
|
1204
1162
|
class Grabpay < ::Stripe::StripeObject
|
|
1205
1163
|
# Unique transaction id generated by GrabPay
|
|
1206
1164
|
attr_reader :transaction_id
|
|
@@ -1214,27 +1172,6 @@ module Stripe
|
|
|
1214
1172
|
end
|
|
1215
1173
|
end
|
|
1216
1174
|
|
|
1217
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
1218
|
-
# Account number of the bank account to transfer funds to.
|
|
1219
|
-
attr_reader :account_number
|
|
1220
|
-
# Bank where the account is located.
|
|
1221
|
-
attr_reader :bank
|
|
1222
|
-
# Local bank code of the bank.
|
|
1223
|
-
attr_reader :bank_code
|
|
1224
|
-
# Name of the bank associated with the bank account.
|
|
1225
|
-
attr_reader :bank_name
|
|
1226
|
-
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1227
|
-
attr_reader :display_name
|
|
1228
|
-
|
|
1229
|
-
def self.inner_class_types
|
|
1230
|
-
@inner_class_types = {}
|
|
1231
|
-
end
|
|
1232
|
-
|
|
1233
|
-
def self.field_remappings
|
|
1234
|
-
@field_remappings = {}
|
|
1235
|
-
end
|
|
1236
|
-
end
|
|
1237
|
-
|
|
1238
1175
|
class Ideal < ::Stripe::StripeObject
|
|
1239
1176
|
# The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1240
1177
|
attr_reader :bank
|
|
@@ -1649,52 +1586,6 @@ module Stripe
|
|
|
1649
1586
|
@field_remappings = {}
|
|
1650
1587
|
end
|
|
1651
1588
|
end
|
|
1652
|
-
|
|
1653
|
-
class Shipping < ::Stripe::StripeObject
|
|
1654
|
-
# City, district, suburb, town, or village.
|
|
1655
|
-
attr_reader :city
|
|
1656
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1657
|
-
attr_reader :country
|
|
1658
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1659
|
-
attr_reader :line1
|
|
1660
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1661
|
-
attr_reader :line2
|
|
1662
|
-
# ZIP or postal code.
|
|
1663
|
-
attr_reader :postal_code
|
|
1664
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1665
|
-
attr_reader :state
|
|
1666
|
-
|
|
1667
|
-
def self.inner_class_types
|
|
1668
|
-
@inner_class_types = {}
|
|
1669
|
-
end
|
|
1670
|
-
|
|
1671
|
-
def self.field_remappings
|
|
1672
|
-
@field_remappings = {}
|
|
1673
|
-
end
|
|
1674
|
-
end
|
|
1675
|
-
|
|
1676
|
-
class VerifiedAddress < ::Stripe::StripeObject
|
|
1677
|
-
# City, district, suburb, town, or village.
|
|
1678
|
-
attr_reader :city
|
|
1679
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1680
|
-
attr_reader :country
|
|
1681
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1682
|
-
attr_reader :line1
|
|
1683
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1684
|
-
attr_reader :line2
|
|
1685
|
-
# ZIP or postal code.
|
|
1686
|
-
attr_reader :postal_code
|
|
1687
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1688
|
-
attr_reader :state
|
|
1689
|
-
|
|
1690
|
-
def self.inner_class_types
|
|
1691
|
-
@inner_class_types = {}
|
|
1692
|
-
end
|
|
1693
|
-
|
|
1694
|
-
def self.field_remappings
|
|
1695
|
-
@field_remappings = {}
|
|
1696
|
-
end
|
|
1697
|
-
end
|
|
1698
1589
|
# 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.
|
|
1699
1590
|
attr_reader :country
|
|
1700
1591
|
# Owner's email. Values are provided by PayPal directly
|
|
@@ -1707,39 +1598,11 @@ module Stripe
|
|
|
1707
1598
|
attr_reader :payer_name
|
|
1708
1599
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1709
1600
|
attr_reader :seller_protection
|
|
1710
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1711
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1712
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1713
|
-
attr_reader :shipping
|
|
1714
1601
|
# A unique ID generated by PayPal for this transaction.
|
|
1715
1602
|
attr_reader :transaction_id
|
|
1716
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1717
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1718
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1719
|
-
attr_reader :verified_address
|
|
1720
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
1721
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1722
|
-
attr_reader :verified_email
|
|
1723
|
-
# Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1724
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1725
|
-
attr_reader :verified_name
|
|
1726
1603
|
|
|
1727
1604
|
def self.inner_class_types
|
|
1728
|
-
@inner_class_types = {
|
|
1729
|
-
seller_protection: SellerProtection,
|
|
1730
|
-
shipping: Shipping,
|
|
1731
|
-
verified_address: VerifiedAddress,
|
|
1732
|
-
}
|
|
1733
|
-
end
|
|
1734
|
-
|
|
1735
|
-
def self.field_remappings
|
|
1736
|
-
@field_remappings = {}
|
|
1737
|
-
end
|
|
1738
|
-
end
|
|
1739
|
-
|
|
1740
|
-
class Paypay < ::Stripe::StripeObject
|
|
1741
|
-
def self.inner_class_types
|
|
1742
|
-
@inner_class_types = {}
|
|
1605
|
+
@inner_class_types = { seller_protection: SellerProtection }
|
|
1743
1606
|
end
|
|
1744
1607
|
|
|
1745
1608
|
def self.field_remappings
|
|
@@ -1769,6 +1632,8 @@ module Stripe
|
|
|
1769
1632
|
class Pix < ::Stripe::StripeObject
|
|
1770
1633
|
# Unique transaction id generated by BCB
|
|
1771
1634
|
attr_reader :bank_transaction_id
|
|
1635
|
+
# Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.
|
|
1636
|
+
attr_reader :fingerprint
|
|
1772
1637
|
# ID of the multi use Mandate generated by the PaymentIntent
|
|
1773
1638
|
attr_reader :mandate
|
|
1774
1639
|
|
|
@@ -1794,36 +1659,11 @@ module Stripe
|
|
|
1794
1659
|
end
|
|
1795
1660
|
end
|
|
1796
1661
|
|
|
1797
|
-
class Qris < ::Stripe::StripeObject
|
|
1798
|
-
def self.inner_class_types
|
|
1799
|
-
@inner_class_types = {}
|
|
1800
|
-
end
|
|
1801
|
-
|
|
1802
|
-
def self.field_remappings
|
|
1803
|
-
@field_remappings = {}
|
|
1804
|
-
end
|
|
1805
|
-
end
|
|
1806
|
-
|
|
1807
|
-
class Rechnung < ::Stripe::StripeObject
|
|
1808
|
-
# Payment portal URL.
|
|
1809
|
-
attr_reader :payment_portal_url
|
|
1810
|
-
|
|
1811
|
-
def self.inner_class_types
|
|
1812
|
-
@inner_class_types = {}
|
|
1813
|
-
end
|
|
1814
|
-
|
|
1815
|
-
def self.field_remappings
|
|
1816
|
-
@field_remappings = {}
|
|
1817
|
-
end
|
|
1818
|
-
end
|
|
1819
|
-
|
|
1820
1662
|
class RevolutPay < ::Stripe::StripeObject
|
|
1821
1663
|
class Funding < ::Stripe::StripeObject
|
|
1822
1664
|
class Card < ::Stripe::StripeObject
|
|
1823
1665
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1824
1666
|
attr_reader :brand
|
|
1825
|
-
# 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.)
|
|
1826
|
-
attr_reader :brand_product
|
|
1827
1667
|
# 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.
|
|
1828
1668
|
attr_reader :country
|
|
1829
1669
|
# Two-digit number representing the card's expiration month.
|
|
@@ -1953,16 +1793,6 @@ module Stripe
|
|
|
1953
1793
|
end
|
|
1954
1794
|
end
|
|
1955
1795
|
|
|
1956
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
1957
|
-
def self.inner_class_types
|
|
1958
|
-
@inner_class_types = {}
|
|
1959
|
-
end
|
|
1960
|
-
|
|
1961
|
-
def self.field_remappings
|
|
1962
|
-
@field_remappings = {}
|
|
1963
|
-
end
|
|
1964
|
-
end
|
|
1965
|
-
|
|
1966
1796
|
class Sofort < ::Stripe::StripeObject
|
|
1967
1797
|
# Bank code of bank associated with the bank account.
|
|
1968
1798
|
attr_reader :bank_code
|
|
@@ -2004,19 +1834,6 @@ module Stripe
|
|
|
2004
1834
|
end
|
|
2005
1835
|
end
|
|
2006
1836
|
|
|
2007
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
2008
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2009
|
-
attr_reader :account
|
|
2010
|
-
|
|
2011
|
-
def self.inner_class_types
|
|
2012
|
-
@inner_class_types = {}
|
|
2013
|
-
end
|
|
2014
|
-
|
|
2015
|
-
def self.field_remappings
|
|
2016
|
-
@field_remappings = {}
|
|
2017
|
-
end
|
|
2018
|
-
end
|
|
2019
|
-
|
|
2020
1837
|
class Sunbit < ::Stripe::StripeObject
|
|
2021
1838
|
# The Sunbit transaction ID associated with this payment.
|
|
2022
1839
|
attr_reader :transaction_id
|
|
@@ -2186,12 +2003,8 @@ module Stripe
|
|
|
2186
2003
|
attr_reader :fpx
|
|
2187
2004
|
# Attribute for field giropay
|
|
2188
2005
|
attr_reader :giropay
|
|
2189
|
-
# Attribute for field gopay
|
|
2190
|
-
attr_reader :gopay
|
|
2191
2006
|
# Attribute for field grabpay
|
|
2192
2007
|
attr_reader :grabpay
|
|
2193
|
-
# Attribute for field id_bank_transfer
|
|
2194
|
-
attr_reader :id_bank_transfer
|
|
2195
2008
|
# Attribute for field ideal
|
|
2196
2009
|
attr_reader :ideal
|
|
2197
2010
|
# Attribute for field interac_present
|
|
@@ -2228,18 +2041,12 @@ module Stripe
|
|
|
2228
2041
|
attr_reader :paynow
|
|
2229
2042
|
# Attribute for field paypal
|
|
2230
2043
|
attr_reader :paypal
|
|
2231
|
-
# Attribute for field paypay
|
|
2232
|
-
attr_reader :paypay
|
|
2233
2044
|
# Attribute for field payto
|
|
2234
2045
|
attr_reader :payto
|
|
2235
2046
|
# Attribute for field pix
|
|
2236
2047
|
attr_reader :pix
|
|
2237
2048
|
# Attribute for field promptpay
|
|
2238
2049
|
attr_reader :promptpay
|
|
2239
|
-
# Attribute for field qris
|
|
2240
|
-
attr_reader :qris
|
|
2241
|
-
# Attribute for field rechnung
|
|
2242
|
-
attr_reader :rechnung
|
|
2243
2050
|
# Attribute for field revolut_pay
|
|
2244
2051
|
attr_reader :revolut_pay
|
|
2245
2052
|
# Attribute for field samsung_pay
|
|
@@ -2252,14 +2059,10 @@ module Stripe
|
|
|
2252
2059
|
attr_reader :sepa_credit_transfer
|
|
2253
2060
|
# Attribute for field sepa_debit
|
|
2254
2061
|
attr_reader :sepa_debit
|
|
2255
|
-
# Attribute for field shopeepay
|
|
2256
|
-
attr_reader :shopeepay
|
|
2257
2062
|
# Attribute for field sofort
|
|
2258
2063
|
attr_reader :sofort
|
|
2259
2064
|
# Attribute for field stripe_account
|
|
2260
2065
|
attr_reader :stripe_account
|
|
2261
|
-
# Attribute for field stripe_balance
|
|
2262
|
-
attr_reader :stripe_balance
|
|
2263
2066
|
# Attribute for field sunbit
|
|
2264
2067
|
attr_reader :sunbit
|
|
2265
2068
|
# Attribute for field swish
|
|
@@ -2306,9 +2109,7 @@ module Stripe
|
|
|
2306
2109
|
eps: Eps,
|
|
2307
2110
|
fpx: Fpx,
|
|
2308
2111
|
giropay: Giropay,
|
|
2309
|
-
gopay: Gopay,
|
|
2310
2112
|
grabpay: Grabpay,
|
|
2311
|
-
id_bank_transfer: IdBankTransfer,
|
|
2312
2113
|
ideal: Ideal,
|
|
2313
2114
|
interac_present: InteracPresent,
|
|
2314
2115
|
kakao_pay: KakaoPay,
|
|
@@ -2327,22 +2128,17 @@ module Stripe
|
|
|
2327
2128
|
payco: Payco,
|
|
2328
2129
|
paynow: Paynow,
|
|
2329
2130
|
paypal: Paypal,
|
|
2330
|
-
paypay: Paypay,
|
|
2331
2131
|
payto: Payto,
|
|
2332
2132
|
pix: Pix,
|
|
2333
2133
|
promptpay: Promptpay,
|
|
2334
|
-
qris: Qris,
|
|
2335
|
-
rechnung: Rechnung,
|
|
2336
2134
|
revolut_pay: RevolutPay,
|
|
2337
2135
|
samsung_pay: SamsungPay,
|
|
2338
2136
|
satispay: Satispay,
|
|
2339
2137
|
scalapay: Scalapay,
|
|
2340
2138
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
2341
2139
|
sepa_debit: SepaDebit,
|
|
2342
|
-
shopeepay: Shopeepay,
|
|
2343
2140
|
sofort: Sofort,
|
|
2344
2141
|
stripe_account: StripeAccount,
|
|
2345
|
-
stripe_balance: StripeBalance,
|
|
2346
2142
|
sunbit: Sunbit,
|
|
2347
2143
|
swish: Swish,
|
|
2348
2144
|
twint: Twint,
|
|
@@ -201,36 +201,15 @@ 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`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_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
|
|
219
204
|
# Customer’s business name for this Checkout Session
|
|
220
205
|
attr_reader :business_name
|
|
221
|
-
# Customer’s email for this Checkout Session
|
|
222
|
-
attr_reader :email
|
|
223
206
|
# Customer’s individual name for this Checkout Session
|
|
224
207
|
attr_reader :individual_name
|
|
225
|
-
# Customer’s phone number for this Checkout Session
|
|
226
|
-
attr_reader :phone
|
|
227
208
|
# Shipping information for this Checkout Session.
|
|
228
209
|
attr_reader :shipping_details
|
|
229
|
-
# Customer’s tax ids for this Checkout Session.
|
|
230
|
-
attr_reader :tax_ids
|
|
231
210
|
|
|
232
211
|
def self.inner_class_types
|
|
233
|
-
@inner_class_types = { shipping_details: ShippingDetails
|
|
212
|
+
@inner_class_types = { shipping_details: ShippingDetails }
|
|
234
213
|
end
|
|
235
214
|
|
|
236
215
|
def self.field_remappings
|
|
@@ -1048,8 +1027,6 @@ module Stripe
|
|
|
1048
1027
|
# Attribute for field installments
|
|
1049
1028
|
attr_reader :installments
|
|
1050
1029
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1051
|
-
attr_reader :request_decremental_authorization
|
|
1052
|
-
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1053
1030
|
attr_reader :request_extended_authorization
|
|
1054
1031
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
|
1055
1032
|
attr_reader :request_incremental_authorization
|
|
@@ -1505,8 +1482,6 @@ module Stripe
|
|
|
1505
1482
|
#
|
|
1506
1483
|
# 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).
|
|
1507
1484
|
attr_reader :setup_future_usage
|
|
1508
|
-
# 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.
|
|
1509
|
-
attr_reader :subsellers
|
|
1510
1485
|
|
|
1511
1486
|
def self.inner_class_types
|
|
1512
1487
|
@inner_class_types = {}
|
|
@@ -1727,6 +1702,27 @@ module Stripe
|
|
|
1727
1702
|
end
|
|
1728
1703
|
end
|
|
1729
1704
|
|
|
1705
|
+
class Sunbit < ::Stripe::StripeObject
|
|
1706
|
+
# Controls when the funds will be captured from the customer's account.
|
|
1707
|
+
attr_reader :capture_method
|
|
1708
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1709
|
+
#
|
|
1710
|
+
# 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.
|
|
1711
|
+
#
|
|
1712
|
+
# 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.
|
|
1713
|
+
#
|
|
1714
|
+
# 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).
|
|
1715
|
+
attr_reader :setup_future_usage
|
|
1716
|
+
|
|
1717
|
+
def self.inner_class_types
|
|
1718
|
+
@inner_class_types = {}
|
|
1719
|
+
end
|
|
1720
|
+
|
|
1721
|
+
def self.field_remappings
|
|
1722
|
+
@field_remappings = {}
|
|
1723
|
+
end
|
|
1724
|
+
end
|
|
1725
|
+
|
|
1730
1726
|
class Swish < ::Stripe::StripeObject
|
|
1731
1727
|
# The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.
|
|
1732
1728
|
attr_reader :reference
|
|
@@ -1803,21 +1799,6 @@ module Stripe
|
|
|
1803
1799
|
class Filters < ::Stripe::StripeObject
|
|
1804
1800
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1805
1801
|
attr_reader :account_subcategories
|
|
1806
|
-
# The institution to use to filter for possible accounts to link.
|
|
1807
|
-
attr_reader :institution
|
|
1808
|
-
|
|
1809
|
-
def self.inner_class_types
|
|
1810
|
-
@inner_class_types = {}
|
|
1811
|
-
end
|
|
1812
|
-
|
|
1813
|
-
def self.field_remappings
|
|
1814
|
-
@field_remappings = {}
|
|
1815
|
-
end
|
|
1816
|
-
end
|
|
1817
|
-
|
|
1818
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
1819
|
-
# Settings for configuring manual entry of account details.
|
|
1820
|
-
attr_reader :mode
|
|
1821
1802
|
|
|
1822
1803
|
def self.inner_class_types
|
|
1823
1804
|
@inner_class_types = {}
|
|
@@ -1829,8 +1810,6 @@ module Stripe
|
|
|
1829
1810
|
end
|
|
1830
1811
|
# Attribute for field filters
|
|
1831
1812
|
attr_reader :filters
|
|
1832
|
-
# Attribute for field manual_entry
|
|
1833
|
-
attr_reader :manual_entry
|
|
1834
1813
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
1835
1814
|
attr_reader :permissions
|
|
1836
1815
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -1839,7 +1818,7 @@ module Stripe
|
|
|
1839
1818
|
attr_reader :return_url
|
|
1840
1819
|
|
|
1841
1820
|
def self.inner_class_types
|
|
1842
|
-
@inner_class_types = { filters: Filters
|
|
1821
|
+
@inner_class_types = { filters: Filters }
|
|
1843
1822
|
end
|
|
1844
1823
|
|
|
1845
1824
|
def self.field_remappings
|
|
@@ -1869,6 +1848,29 @@ module Stripe
|
|
|
1869
1848
|
@field_remappings = {}
|
|
1870
1849
|
end
|
|
1871
1850
|
end
|
|
1851
|
+
|
|
1852
|
+
class WechatPay < ::Stripe::StripeObject
|
|
1853
|
+
# The app ID registered with WeChat Pay. Only required when client is iOS or Android.
|
|
1854
|
+
attr_reader :app_id
|
|
1855
|
+
# The client type that the end customer will pay from
|
|
1856
|
+
attr_reader :client
|
|
1857
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1858
|
+
#
|
|
1859
|
+
# 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.
|
|
1860
|
+
#
|
|
1861
|
+
# 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.
|
|
1862
|
+
#
|
|
1863
|
+
# 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).
|
|
1864
|
+
attr_reader :setup_future_usage
|
|
1865
|
+
|
|
1866
|
+
def self.inner_class_types
|
|
1867
|
+
@inner_class_types = {}
|
|
1868
|
+
end
|
|
1869
|
+
|
|
1870
|
+
def self.field_remappings
|
|
1871
|
+
@field_remappings = {}
|
|
1872
|
+
end
|
|
1873
|
+
end
|
|
1872
1874
|
# Attribute for field acss_debit
|
|
1873
1875
|
attr_reader :acss_debit
|
|
1874
1876
|
# Attribute for field affirm
|
|
@@ -1949,6 +1951,8 @@ module Stripe
|
|
|
1949
1951
|
attr_reader :sepa_debit
|
|
1950
1952
|
# Attribute for field sofort
|
|
1951
1953
|
attr_reader :sofort
|
|
1954
|
+
# Attribute for field sunbit
|
|
1955
|
+
attr_reader :sunbit
|
|
1952
1956
|
# Attribute for field swish
|
|
1953
1957
|
attr_reader :swish
|
|
1954
1958
|
# Attribute for field twint
|
|
@@ -1957,6 +1961,8 @@ module Stripe
|
|
|
1957
1961
|
attr_reader :upi
|
|
1958
1962
|
# Attribute for field us_bank_account
|
|
1959
1963
|
attr_reader :us_bank_account
|
|
1964
|
+
# Attribute for field wechat_pay
|
|
1965
|
+
attr_reader :wechat_pay
|
|
1960
1966
|
|
|
1961
1967
|
def self.inner_class_types
|
|
1962
1968
|
@inner_class_types = {
|
|
@@ -2000,10 +2006,12 @@ module Stripe
|
|
|
2000
2006
|
scalapay: Scalapay,
|
|
2001
2007
|
sepa_debit: SepaDebit,
|
|
2002
2008
|
sofort: Sofort,
|
|
2009
|
+
sunbit: Sunbit,
|
|
2003
2010
|
swish: Swish,
|
|
2004
2011
|
twint: Twint,
|
|
2005
2012
|
upi: Upi,
|
|
2006
2013
|
us_bank_account: UsBankAccount,
|
|
2014
|
+
wechat_pay: WechatPay,
|
|
2007
2015
|
}
|
|
2008
2016
|
end
|
|
2009
2017
|
|
|
@@ -2013,36 +2021,6 @@ module Stripe
|
|
|
2013
2021
|
end
|
|
2014
2022
|
|
|
2015
2023
|
class Permissions < ::Stripe::StripeObject
|
|
2016
|
-
class Update < ::Stripe::StripeObject
|
|
2017
|
-
# Determines which entity is allowed to update the line items.
|
|
2018
|
-
#
|
|
2019
|
-
# 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.
|
|
2020
|
-
#
|
|
2021
|
-
# 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.
|
|
2022
|
-
attr_reader :line_items
|
|
2023
|
-
# Determines which entity is allowed to update the shipping details.
|
|
2024
|
-
#
|
|
2025
|
-
# 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.
|
|
2026
|
-
#
|
|
2027
|
-
# 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.
|
|
2028
|
-
attr_reader :shipping_details
|
|
2029
|
-
|
|
2030
|
-
def self.inner_class_types
|
|
2031
|
-
@inner_class_types = {}
|
|
2032
|
-
end
|
|
2033
|
-
|
|
2034
|
-
def self.field_remappings
|
|
2035
|
-
@field_remappings = {}
|
|
2036
|
-
end
|
|
2037
|
-
end
|
|
2038
|
-
# Permissions for updating the Checkout Session.
|
|
2039
|
-
attr_reader :update
|
|
2040
|
-
# Determines which entity is allowed to update the line items.
|
|
2041
|
-
#
|
|
2042
|
-
# 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.
|
|
2043
|
-
#
|
|
2044
|
-
# 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.
|
|
2045
|
-
attr_reader :update_line_items
|
|
2046
2024
|
# Determines which entity is allowed to update the shipping details.
|
|
2047
2025
|
#
|
|
2048
2026
|
# 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.
|
|
@@ -2051,7 +2029,7 @@ module Stripe
|
|
|
2051
2029
|
attr_reader :update_shipping_details
|
|
2052
2030
|
|
|
2053
2031
|
def self.inner_class_types
|
|
2054
|
-
@inner_class_types = {
|
|
2032
|
+
@inner_class_types = {}
|
|
2055
2033
|
end
|
|
2056
2034
|
|
|
2057
2035
|
def self.field_remappings
|