stripe 17.2.0.pre.beta.1 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +0 -34
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -233
- data/lib/stripe/object_types.rb +0 -55
- data/lib/stripe/params/account_create_params.rb +2 -301
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +1 -263
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -4
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
- data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
- data/lib/stripe/params/charge_capture_params.rb +0 -715
- data/lib/stripe/params/charge_update_params.rb +0 -715
- data/lib/stripe/params/checkout/session_create_params.rb +3 -193
- data/lib/stripe/params/checkout/session_list_params.rb +0 -4
- data/lib/stripe/params/checkout/session_update_params.rb +1 -288
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_list_params.rb +0 -4
- data/lib/stripe/params/customer_session_create_params.rb +3 -37
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
- data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -112
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
- data/lib/stripe/params/invoice_item_create_params.rb +1 -37
- data/lib/stripe/params/invoice_item_list_params.rb +0 -4
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -108
- 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 -723
- data/lib/stripe/params/payment_intent_confirm_params.rb +12 -1197
- data/lib/stripe/params/payment_intent_create_params.rb +12 -1205
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -50
- data/lib/stripe/params/payment_intent_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_update_params.rb +14 -1238
- data/lib/stripe/params/payment_method_attach_params.rb +1 -4
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
- data/lib/stripe/params/payment_method_create_params.rb +0 -97
- data/lib/stripe/params/payment_method_update_params.rb +0 -19
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/promotion_code_create_params.rb +0 -4
- data/lib/stripe/params/promotion_code_list_params.rb +0 -4
- data/lib/stripe/params/quote_create_params.rb +3 -805
- data/lib/stripe/params/quote_list_params.rb +0 -8
- data/lib/stripe/params/quote_update_params.rb +4 -813
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
- data/lib/stripe/params/setup_intent_create_params.rb +3 -231
- data/lib/stripe/params/setup_intent_list_params.rb +0 -4
- data/lib/stripe/params/setup_intent_update_params.rb +3 -231
- data/lib/stripe/params/subscription_create_params.rb +5 -259
- data/lib/stripe/params/subscription_item_create_params.rb +2 -46
- data/lib/stripe/params/subscription_item_update_params.rb +1 -29
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
- data/lib/stripe/params/subscription_update_params.rb +4 -238
- data/lib/stripe/params/tax_id_create_params.rb +1 -4
- data/lib/stripe/params/tax_id_list_params.rb +1 -4
- data/lib/stripe/params/terminal/configuration_create_params.rb +9 -22
- data/lib/stripe/params/terminal/configuration_update_params.rb +9 -22
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
- 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/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_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.rb +0 -164
- data/lib/stripe/resources/account.rb +2 -167
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_grant.rb +0 -2
- data/lib/stripe/resources/billing_portal/session.rb +0 -2
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +1 -237
- data/lib/stripe/resources/checkout/session.rb +4 -154
- data/lib/stripe/resources/confirmation_token.rb +0 -155
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +0 -2
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -2
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +0 -38
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -27
- data/lib/stripe/resources/financial_connections/session.rb +1 -67
- data/lib/stripe/resources/identity/verification_session.rb +0 -2
- data/lib/stripe/resources/invoice.rb +2 -153
- data/lib/stripe/resources/invoice_item.rb +0 -4
- 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 +1 -68
- data/lib/stripe/resources/mandate.rb +0 -71
- data/lib/stripe/resources/payment_attempt_record.rb +1 -203
- data/lib/stripe/resources/payment_intent.rb +6 -789
- data/lib/stripe/resources/payment_method.rb +0 -157
- data/lib/stripe/resources/payment_method_configuration.rb +0 -204
- data/lib/stripe/resources/payment_record.rb +1 -203
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/promotion_code.rb +0 -2
- data/lib/stripe/resources/quote.rb +2 -571
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/setup_attempt.rb +0 -63
- data/lib/stripe/resources/setup_intent.rb +1 -132
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +0 -232
- data/lib/stripe/resources/subscription_item.rb +1 -20
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax_id.rb +0 -4
- 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_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
- data/lib/stripe/resources/v2/core/event.rb +2 -2
- data/lib/stripe/resources.rb +0 -112
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- 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/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -8
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +1 -4
- data/lib/stripe/services.rb +0 -58
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +83044 -141384
- metadata +4 -338
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
- 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_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_updated_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_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 -61
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- 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/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/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_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -1124
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- 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 -1128
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
- 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/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/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
- data/lib/stripe/params/tax/association_find_params.rb +0 -18
- 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/terminal/onboarding_link_create_params.rb +0 -43
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- 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 -223
- 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 -229
- 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/account_close_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_create_params.rb +0 -2248
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
- data/lib/stripe/params/v2/core/account_list_params.rb +0 -23
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_update_params.rb +0 -2294
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
- 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 -50
- 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 -33
- 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/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 -98
- 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 -85
- 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 -80
- 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/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_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 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -521
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
- data/lib/stripe/resources/tax/association.rb +0 -86
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
- 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 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/core/account.rb +0 -3906
- data/lib/stripe/resources/v2/core/account_link.rb +0 -123
- data/lib/stripe/resources/v2/core/account_person.rb +0 -477
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
- 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 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
- 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 -109
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
- 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/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_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- 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/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/tax/association_service.rb +0 -19
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- 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 -61
- 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/account_link_service.rb +0 -21
- data/lib/stripe/services/v2/core/account_service.rb +0 -76
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
- 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/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 -73
- 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 -63
- 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/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
|
@@ -111,43 +111,6 @@ module Stripe
|
|
|
111
111
|
end
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
-
class Hooks < ::Stripe::StripeObject
|
|
115
|
-
class Inputs < ::Stripe::StripeObject
|
|
116
|
-
class Tax < ::Stripe::StripeObject
|
|
117
|
-
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
118
|
-
attr_reader :calculation
|
|
119
|
-
|
|
120
|
-
def self.inner_class_types
|
|
121
|
-
@inner_class_types = {}
|
|
122
|
-
end
|
|
123
|
-
|
|
124
|
-
def self.field_remappings
|
|
125
|
-
@field_remappings = {}
|
|
126
|
-
end
|
|
127
|
-
end
|
|
128
|
-
# Attribute for field tax
|
|
129
|
-
attr_reader :tax
|
|
130
|
-
|
|
131
|
-
def self.inner_class_types
|
|
132
|
-
@inner_class_types = { tax: Tax }
|
|
133
|
-
end
|
|
134
|
-
|
|
135
|
-
def self.field_remappings
|
|
136
|
-
@field_remappings = {}
|
|
137
|
-
end
|
|
138
|
-
end
|
|
139
|
-
# Attribute for field inputs
|
|
140
|
-
attr_reader :inputs
|
|
141
|
-
|
|
142
|
-
def self.inner_class_types
|
|
143
|
-
@inner_class_types = { inputs: Inputs }
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
def self.field_remappings
|
|
147
|
-
@field_remappings = {}
|
|
148
|
-
end
|
|
149
|
-
end
|
|
150
|
-
|
|
151
114
|
class LastPaymentError < ::Stripe::StripeObject
|
|
152
115
|
# For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
|
|
153
116
|
attr_reader :advice_code
|
|
@@ -1185,360 +1148,19 @@ module Stripe
|
|
|
1185
1148
|
end
|
|
1186
1149
|
|
|
1187
1150
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1188
|
-
class CarRental < ::Stripe::StripeObject
|
|
1189
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1190
|
-
# The name of the affiliate that originated the purchase.
|
|
1191
|
-
attr_reader :name
|
|
1192
|
-
|
|
1193
|
-
def self.inner_class_types
|
|
1194
|
-
@inner_class_types = {}
|
|
1195
|
-
end
|
|
1196
|
-
|
|
1197
|
-
def self.field_remappings
|
|
1198
|
-
@field_remappings = {}
|
|
1199
|
-
end
|
|
1200
|
-
end
|
|
1201
|
-
|
|
1202
|
-
class Delivery < ::Stripe::StripeObject
|
|
1203
|
-
class Recipient < ::Stripe::StripeObject
|
|
1204
|
-
# The email of the recipient the ticket is delivered to.
|
|
1205
|
-
attr_reader :email
|
|
1206
|
-
# The name of the recipient the ticket is delivered to.
|
|
1207
|
-
attr_reader :name
|
|
1208
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1209
|
-
attr_reader :phone
|
|
1210
|
-
|
|
1211
|
-
def self.inner_class_types
|
|
1212
|
-
@inner_class_types = {}
|
|
1213
|
-
end
|
|
1214
|
-
|
|
1215
|
-
def self.field_remappings
|
|
1216
|
-
@field_remappings = {}
|
|
1217
|
-
end
|
|
1218
|
-
end
|
|
1219
|
-
# The delivery method for the payment
|
|
1220
|
-
attr_reader :mode
|
|
1221
|
-
# Attribute for field recipient
|
|
1222
|
-
attr_reader :recipient
|
|
1223
|
-
|
|
1224
|
-
def self.inner_class_types
|
|
1225
|
-
@inner_class_types = { recipient: Recipient }
|
|
1226
|
-
end
|
|
1227
|
-
|
|
1228
|
-
def self.field_remappings
|
|
1229
|
-
@field_remappings = {}
|
|
1230
|
-
end
|
|
1231
|
-
end
|
|
1232
|
-
|
|
1233
|
-
class Distance < ::Stripe::StripeObject
|
|
1234
|
-
# Distance traveled.
|
|
1235
|
-
attr_reader :amount
|
|
1236
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1237
|
-
attr_reader :unit
|
|
1238
|
-
|
|
1239
|
-
def self.inner_class_types
|
|
1240
|
-
@inner_class_types = {}
|
|
1241
|
-
end
|
|
1242
|
-
|
|
1243
|
-
def self.field_remappings
|
|
1244
|
-
@field_remappings = {}
|
|
1245
|
-
end
|
|
1246
|
-
end
|
|
1247
|
-
|
|
1248
|
-
class Driver < ::Stripe::StripeObject
|
|
1249
|
-
# Driver's identification number.
|
|
1250
|
-
attr_reader :driver_identification_number
|
|
1251
|
-
# Driver's tax number.
|
|
1252
|
-
attr_reader :driver_tax_number
|
|
1253
|
-
# Full name of the driver on the reservation.
|
|
1254
|
-
attr_reader :name
|
|
1255
|
-
|
|
1256
|
-
def self.inner_class_types
|
|
1257
|
-
@inner_class_types = {}
|
|
1258
|
-
end
|
|
1259
|
-
|
|
1260
|
-
def self.field_remappings
|
|
1261
|
-
@field_remappings = {}
|
|
1262
|
-
end
|
|
1263
|
-
end
|
|
1264
|
-
|
|
1265
|
-
class PickupAddress < ::Stripe::StripeObject
|
|
1266
|
-
# City, district, suburb, town, or village.
|
|
1267
|
-
attr_reader :city
|
|
1268
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1269
|
-
attr_reader :country
|
|
1270
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1271
|
-
attr_reader :line1
|
|
1272
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1273
|
-
attr_reader :line2
|
|
1274
|
-
# ZIP or postal code.
|
|
1275
|
-
attr_reader :postal_code
|
|
1276
|
-
# State, county, province, or region.
|
|
1277
|
-
attr_reader :state
|
|
1278
|
-
|
|
1279
|
-
def self.inner_class_types
|
|
1280
|
-
@inner_class_types = {}
|
|
1281
|
-
end
|
|
1282
|
-
|
|
1283
|
-
def self.field_remappings
|
|
1284
|
-
@field_remappings = {}
|
|
1285
|
-
end
|
|
1286
|
-
end
|
|
1287
|
-
|
|
1288
|
-
class ReturnAddress < ::Stripe::StripeObject
|
|
1289
|
-
# City, district, suburb, town, or village.
|
|
1290
|
-
attr_reader :city
|
|
1291
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1292
|
-
attr_reader :country
|
|
1293
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1294
|
-
attr_reader :line1
|
|
1295
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1296
|
-
attr_reader :line2
|
|
1297
|
-
# ZIP or postal code.
|
|
1298
|
-
attr_reader :postal_code
|
|
1299
|
-
# State, county, province, or region.
|
|
1300
|
-
attr_reader :state
|
|
1301
|
-
|
|
1302
|
-
def self.inner_class_types
|
|
1303
|
-
@inner_class_types = {}
|
|
1304
|
-
end
|
|
1305
|
-
|
|
1306
|
-
def self.field_remappings
|
|
1307
|
-
@field_remappings = {}
|
|
1308
|
-
end
|
|
1309
|
-
end
|
|
1310
|
-
# Attribute for field affiliate
|
|
1311
|
-
attr_reader :affiliate
|
|
1312
|
-
# The booking number associated with the car rental.
|
|
1313
|
-
attr_reader :booking_number
|
|
1314
|
-
# Class code of the car.
|
|
1315
|
-
attr_reader :car_class_code
|
|
1316
|
-
# Make of the car.
|
|
1317
|
-
attr_reader :car_make
|
|
1318
|
-
# Model of the car.
|
|
1319
|
-
attr_reader :car_model
|
|
1320
|
-
# The name of the rental car company.
|
|
1321
|
-
attr_reader :company
|
|
1322
|
-
# The customer service phone number of the car rental company.
|
|
1323
|
-
attr_reader :customer_service_phone_number
|
|
1324
|
-
# Number of days the car is being rented.
|
|
1325
|
-
attr_reader :days_rented
|
|
1326
|
-
# Attribute for field delivery
|
|
1327
|
-
attr_reader :delivery
|
|
1328
|
-
# Attribute for field distance
|
|
1329
|
-
attr_reader :distance
|
|
1330
|
-
# The details of the drivers associated with the trip.
|
|
1331
|
-
attr_reader :drivers
|
|
1332
|
-
# List of additional charges being billed.
|
|
1333
|
-
attr_reader :extra_charges
|
|
1334
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
1335
|
-
attr_reader :no_show
|
|
1336
|
-
# Attribute for field pickup_address
|
|
1337
|
-
attr_reader :pickup_address
|
|
1338
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1339
|
-
attr_reader :pickup_at
|
|
1340
|
-
# Name of the pickup location.
|
|
1341
|
-
attr_reader :pickup_location_name
|
|
1342
|
-
# Rental rate.
|
|
1343
|
-
attr_reader :rate_amount
|
|
1344
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1345
|
-
attr_reader :rate_interval
|
|
1346
|
-
# The full name of the person or entity renting the car.
|
|
1347
|
-
attr_reader :renter_name
|
|
1348
|
-
# Attribute for field return_address
|
|
1349
|
-
attr_reader :return_address
|
|
1350
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
1351
|
-
attr_reader :return_at
|
|
1352
|
-
# Name of the return location.
|
|
1353
|
-
attr_reader :return_location_name
|
|
1354
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1355
|
-
attr_reader :tax_exempt
|
|
1356
|
-
# The vehicle identification number of the car.
|
|
1357
|
-
attr_reader :vehicle_identification_number
|
|
1358
|
-
|
|
1359
|
-
def self.inner_class_types
|
|
1360
|
-
@inner_class_types = {
|
|
1361
|
-
affiliate: Affiliate,
|
|
1362
|
-
delivery: Delivery,
|
|
1363
|
-
distance: Distance,
|
|
1364
|
-
drivers: Driver,
|
|
1365
|
-
pickup_address: PickupAddress,
|
|
1366
|
-
return_address: ReturnAddress,
|
|
1367
|
-
}
|
|
1368
|
-
end
|
|
1369
|
-
|
|
1370
|
-
def self.field_remappings
|
|
1371
|
-
@field_remappings = {}
|
|
1372
|
-
end
|
|
1373
|
-
end
|
|
1374
|
-
|
|
1375
|
-
class EventDetails < ::Stripe::StripeObject
|
|
1376
|
-
class Address < ::Stripe::StripeObject
|
|
1377
|
-
# City, district, suburb, town, or village.
|
|
1378
|
-
attr_reader :city
|
|
1379
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1380
|
-
attr_reader :country
|
|
1381
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1382
|
-
attr_reader :line1
|
|
1383
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1384
|
-
attr_reader :line2
|
|
1385
|
-
# ZIP or postal code.
|
|
1386
|
-
attr_reader :postal_code
|
|
1387
|
-
# State, county, province, or region.
|
|
1388
|
-
attr_reader :state
|
|
1389
|
-
|
|
1390
|
-
def self.inner_class_types
|
|
1391
|
-
@inner_class_types = {}
|
|
1392
|
-
end
|
|
1393
|
-
|
|
1394
|
-
def self.field_remappings
|
|
1395
|
-
@field_remappings = {}
|
|
1396
|
-
end
|
|
1397
|
-
end
|
|
1398
|
-
|
|
1399
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1400
|
-
# The name of the affiliate that originated the purchase.
|
|
1401
|
-
attr_reader :name
|
|
1402
|
-
|
|
1403
|
-
def self.inner_class_types
|
|
1404
|
-
@inner_class_types = {}
|
|
1405
|
-
end
|
|
1406
|
-
|
|
1407
|
-
def self.field_remappings
|
|
1408
|
-
@field_remappings = {}
|
|
1409
|
-
end
|
|
1410
|
-
end
|
|
1411
|
-
|
|
1412
|
-
class Delivery < ::Stripe::StripeObject
|
|
1413
|
-
class Recipient < ::Stripe::StripeObject
|
|
1414
|
-
# The email of the recipient the ticket is delivered to.
|
|
1415
|
-
attr_reader :email
|
|
1416
|
-
# The name of the recipient the ticket is delivered to.
|
|
1417
|
-
attr_reader :name
|
|
1418
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
1419
|
-
attr_reader :phone
|
|
1420
|
-
|
|
1421
|
-
def self.inner_class_types
|
|
1422
|
-
@inner_class_types = {}
|
|
1423
|
-
end
|
|
1424
|
-
|
|
1425
|
-
def self.field_remappings
|
|
1426
|
-
@field_remappings = {}
|
|
1427
|
-
end
|
|
1428
|
-
end
|
|
1429
|
-
# The delivery method for the payment
|
|
1430
|
-
attr_reader :mode
|
|
1431
|
-
# Attribute for field recipient
|
|
1432
|
-
attr_reader :recipient
|
|
1433
|
-
|
|
1434
|
-
def self.inner_class_types
|
|
1435
|
-
@inner_class_types = { recipient: Recipient }
|
|
1436
|
-
end
|
|
1437
|
-
|
|
1438
|
-
def self.field_remappings
|
|
1439
|
-
@field_remappings = {}
|
|
1440
|
-
end
|
|
1441
|
-
end
|
|
1442
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
1443
|
-
attr_reader :access_controlled_venue
|
|
1444
|
-
# Attribute for field address
|
|
1445
|
-
attr_reader :address
|
|
1446
|
-
# Attribute for field affiliate
|
|
1447
|
-
attr_reader :affiliate
|
|
1448
|
-
# The name of the company
|
|
1449
|
-
attr_reader :company
|
|
1450
|
-
# Attribute for field delivery
|
|
1451
|
-
attr_reader :delivery
|
|
1452
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
1453
|
-
attr_reader :ends_at
|
|
1454
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
1455
|
-
attr_reader :genre
|
|
1456
|
-
# The name of the event.
|
|
1457
|
-
attr_reader :name
|
|
1458
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
1459
|
-
attr_reader :starts_at
|
|
1460
|
-
|
|
1461
|
-
def self.inner_class_types
|
|
1462
|
-
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
1463
|
-
end
|
|
1464
|
-
|
|
1465
|
-
def self.field_remappings
|
|
1466
|
-
@field_remappings = {}
|
|
1467
|
-
end
|
|
1468
|
-
end
|
|
1469
|
-
|
|
1470
|
-
class Subscription < ::Stripe::StripeObject
|
|
1471
|
-
class Affiliate < ::Stripe::StripeObject
|
|
1472
|
-
# The name of the affiliate that originated the purchase.
|
|
1473
|
-
attr_reader :name
|
|
1474
|
-
|
|
1475
|
-
def self.inner_class_types
|
|
1476
|
-
@inner_class_types = {}
|
|
1477
|
-
end
|
|
1478
|
-
|
|
1479
|
-
def self.field_remappings
|
|
1480
|
-
@field_remappings = {}
|
|
1481
|
-
end
|
|
1482
|
-
end
|
|
1483
|
-
|
|
1484
|
-
class BillingInterval < ::Stripe::StripeObject
|
|
1485
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1486
|
-
attr_reader :count
|
|
1487
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1488
|
-
attr_reader :interval
|
|
1489
|
-
|
|
1490
|
-
def self.inner_class_types
|
|
1491
|
-
@inner_class_types = {}
|
|
1492
|
-
end
|
|
1493
|
-
|
|
1494
|
-
def self.field_remappings
|
|
1495
|
-
@field_remappings = {}
|
|
1496
|
-
end
|
|
1497
|
-
end
|
|
1498
|
-
# Attribute for field affiliate
|
|
1499
|
-
attr_reader :affiliate
|
|
1500
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
1501
|
-
attr_reader :auto_renewal
|
|
1502
|
-
# Attribute for field billing_interval
|
|
1503
|
-
attr_reader :billing_interval
|
|
1504
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
1505
|
-
attr_reader :ends_at
|
|
1506
|
-
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1507
|
-
attr_reader :name
|
|
1508
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
1509
|
-
attr_reader :starts_at
|
|
1510
|
-
|
|
1511
|
-
def self.inner_class_types
|
|
1512
|
-
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
1513
|
-
end
|
|
1514
|
-
|
|
1515
|
-
def self.field_remappings
|
|
1516
|
-
@field_remappings = {}
|
|
1517
|
-
end
|
|
1518
|
-
end
|
|
1519
|
-
# Attribute for field car_rental
|
|
1520
|
-
attr_reader :car_rental
|
|
1521
1151
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
1522
1152
|
#
|
|
1523
1153
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1524
1154
|
attr_reader :customer_reference
|
|
1525
|
-
# Attribute for field event_details
|
|
1526
|
-
attr_reader :event_details
|
|
1527
1155
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1528
1156
|
#
|
|
1529
1157
|
# Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
|
|
1530
1158
|
#
|
|
1531
1159
|
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
1532
1160
|
attr_reader :order_reference
|
|
1533
|
-
# Attribute for field subscription
|
|
1534
|
-
attr_reader :subscription
|
|
1535
1161
|
|
|
1536
1162
|
def self.inner_class_types
|
|
1537
|
-
@inner_class_types = {
|
|
1538
|
-
car_rental: CarRental,
|
|
1539
|
-
event_details: EventDetails,
|
|
1540
|
-
subscription: Subscription,
|
|
1541
|
-
}
|
|
1163
|
+
@inner_class_types = {}
|
|
1542
1164
|
end
|
|
1543
1165
|
|
|
1544
1166
|
def self.field_remappings
|
|
@@ -1916,43 +1538,6 @@ module Stripe
|
|
|
1916
1538
|
@field_remappings = {}
|
|
1917
1539
|
end
|
|
1918
1540
|
end
|
|
1919
|
-
|
|
1920
|
-
class StatementDetails < ::Stripe::StripeObject
|
|
1921
|
-
class Address < ::Stripe::StripeObject
|
|
1922
|
-
# City, district, suburb, town, or village.
|
|
1923
|
-
attr_reader :city
|
|
1924
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1925
|
-
attr_reader :country
|
|
1926
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1927
|
-
attr_reader :line1
|
|
1928
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1929
|
-
attr_reader :line2
|
|
1930
|
-
# ZIP or postal code.
|
|
1931
|
-
attr_reader :postal_code
|
|
1932
|
-
# State, county, province, or region.
|
|
1933
|
-
attr_reader :state
|
|
1934
|
-
|
|
1935
|
-
def self.inner_class_types
|
|
1936
|
-
@inner_class_types = {}
|
|
1937
|
-
end
|
|
1938
|
-
|
|
1939
|
-
def self.field_remappings
|
|
1940
|
-
@field_remappings = {}
|
|
1941
|
-
end
|
|
1942
|
-
end
|
|
1943
|
-
# Attribute for field address
|
|
1944
|
-
attr_reader :address
|
|
1945
|
-
# Phone number
|
|
1946
|
-
attr_reader :phone
|
|
1947
|
-
|
|
1948
|
-
def self.inner_class_types
|
|
1949
|
-
@inner_class_types = { address: Address }
|
|
1950
|
-
end
|
|
1951
|
-
|
|
1952
|
-
def self.field_remappings
|
|
1953
|
-
@field_remappings = {}
|
|
1954
|
-
end
|
|
1955
|
-
end
|
|
1956
1541
|
# Controls when the funds will be captured from the customer's account.
|
|
1957
1542
|
attr_reader :capture_method
|
|
1958
1543
|
# Installment details for this payment.
|
|
@@ -1963,8 +1548,6 @@ module Stripe
|
|
|
1963
1548
|
attr_reader :mandate_options
|
|
1964
1549
|
# Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
|
1965
1550
|
attr_reader :network
|
|
1966
|
-
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
1967
|
-
attr_reader :request_decremental_authorization
|
|
1968
1551
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
1969
1552
|
attr_reader :request_extended_authorization
|
|
1970
1553
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1973,8 +1556,6 @@ module Stripe
|
|
|
1973
1556
|
attr_reader :request_multicapture
|
|
1974
1557
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
|
1975
1558
|
attr_reader :request_overcapture
|
|
1976
|
-
# Request partial authorization on this PaymentIntent.
|
|
1977
|
-
attr_reader :request_partial_authorization
|
|
1978
1559
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
1979
1560
|
attr_reader :request_three_d_secure
|
|
1980
1561
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -1991,15 +1572,9 @@ module Stripe
|
|
|
1991
1572
|
attr_reader :statement_descriptor_suffix_kana
|
|
1992
1573
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
1993
1574
|
attr_reader :statement_descriptor_suffix_kanji
|
|
1994
|
-
# Attribute for field statement_details
|
|
1995
|
-
attr_reader :statement_details
|
|
1996
1575
|
|
|
1997
1576
|
def self.inner_class_types
|
|
1998
|
-
@inner_class_types = {
|
|
1999
|
-
installments: Installments,
|
|
2000
|
-
mandate_options: MandateOptions,
|
|
2001
|
-
statement_details: StatementDetails,
|
|
2002
|
-
}
|
|
1577
|
+
@inner_class_types = { installments: Installments, mandate_options: MandateOptions }
|
|
2003
1578
|
end
|
|
2004
1579
|
|
|
2005
1580
|
def self.field_remappings
|
|
@@ -2020,6 +1595,8 @@ module Stripe
|
|
|
2020
1595
|
@field_remappings = {}
|
|
2021
1596
|
end
|
|
2022
1597
|
end
|
|
1598
|
+
# Controls when the funds will be captured from the customer's account.
|
|
1599
|
+
attr_reader :capture_method
|
|
2023
1600
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
|
|
2024
1601
|
attr_reader :request_extended_authorization
|
|
2025
1602
|
# Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
|
|
@@ -2186,25 +1763,6 @@ module Stripe
|
|
|
2186
1763
|
end
|
|
2187
1764
|
end
|
|
2188
1765
|
|
|
2189
|
-
class Gopay < ::Stripe::StripeObject
|
|
2190
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2191
|
-
#
|
|
2192
|
-
# 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.
|
|
2193
|
-
#
|
|
2194
|
-
# 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.
|
|
2195
|
-
#
|
|
2196
|
-
# 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).
|
|
2197
|
-
attr_reader :setup_future_usage
|
|
2198
|
-
|
|
2199
|
-
def self.inner_class_types
|
|
2200
|
-
@inner_class_types = {}
|
|
2201
|
-
end
|
|
2202
|
-
|
|
2203
|
-
def self.field_remappings
|
|
2204
|
-
@field_remappings = {}
|
|
2205
|
-
end
|
|
2206
|
-
end
|
|
2207
|
-
|
|
2208
1766
|
class Grabpay < ::Stripe::StripeObject
|
|
2209
1767
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2210
1768
|
#
|
|
@@ -2224,29 +1782,6 @@ module Stripe
|
|
|
2224
1782
|
end
|
|
2225
1783
|
end
|
|
2226
1784
|
|
|
2227
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
2228
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
2229
|
-
attr_reader :expires_after
|
|
2230
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
2231
|
-
attr_reader :expires_at
|
|
2232
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2233
|
-
#
|
|
2234
|
-
# 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.
|
|
2235
|
-
#
|
|
2236
|
-
# 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.
|
|
2237
|
-
#
|
|
2238
|
-
# 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).
|
|
2239
|
-
attr_reader :setup_future_usage
|
|
2240
|
-
|
|
2241
|
-
def self.inner_class_types
|
|
2242
|
-
@inner_class_types = {}
|
|
2243
|
-
end
|
|
2244
|
-
|
|
2245
|
-
def self.field_remappings
|
|
2246
|
-
@field_remappings = {}
|
|
2247
|
-
end
|
|
2248
|
-
end
|
|
2249
|
-
|
|
2250
1785
|
class Ideal < ::Stripe::StripeObject
|
|
2251
1786
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2252
1787
|
#
|
|
@@ -2575,56 +2110,12 @@ module Stripe
|
|
|
2575
2110
|
end
|
|
2576
2111
|
|
|
2577
2112
|
class Paypal < ::Stripe::StripeObject
|
|
2578
|
-
class LineItem < ::Stripe::StripeObject
|
|
2579
|
-
class Tax < ::Stripe::StripeObject
|
|
2580
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2581
|
-
attr_reader :amount
|
|
2582
|
-
# The tax behavior for the line item.
|
|
2583
|
-
attr_reader :behavior
|
|
2584
|
-
|
|
2585
|
-
def self.inner_class_types
|
|
2586
|
-
@inner_class_types = {}
|
|
2587
|
-
end
|
|
2588
|
-
|
|
2589
|
-
def self.field_remappings
|
|
2590
|
-
@field_remappings = {}
|
|
2591
|
-
end
|
|
2592
|
-
end
|
|
2593
|
-
# Type of the line item.
|
|
2594
|
-
attr_reader :category
|
|
2595
|
-
# Description of the line item.
|
|
2596
|
-
attr_reader :description
|
|
2597
|
-
# Descriptive name of the line item.
|
|
2598
|
-
attr_reader :name
|
|
2599
|
-
# Quantity of the line item. Cannot be a negative number.
|
|
2600
|
-
attr_reader :quantity
|
|
2601
|
-
# Client facing stock keeping unit, article number or similar.
|
|
2602
|
-
attr_reader :sku
|
|
2603
|
-
# The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
2604
|
-
attr_reader :sold_by
|
|
2605
|
-
# Attribute for field tax
|
|
2606
|
-
attr_reader :tax
|
|
2607
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2608
|
-
attr_reader :unit_amount
|
|
2609
|
-
|
|
2610
|
-
def self.inner_class_types
|
|
2611
|
-
@inner_class_types = { tax: Tax }
|
|
2612
|
-
end
|
|
2613
|
-
|
|
2614
|
-
def self.field_remappings
|
|
2615
|
-
@field_remappings = {}
|
|
2616
|
-
end
|
|
2617
|
-
end
|
|
2618
2113
|
# Controls when the funds will be captured from the customer's account.
|
|
2619
2114
|
attr_reader :capture_method
|
|
2620
|
-
# The line items purchased by the customer.
|
|
2621
|
-
attr_reader :line_items
|
|
2622
2115
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2623
2116
|
attr_reader :preferred_locale
|
|
2624
2117
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
2625
2118
|
attr_reader :reference
|
|
2626
|
-
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
2627
|
-
attr_reader :reference_id
|
|
2628
2119
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2629
2120
|
#
|
|
2630
2121
|
# 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.
|
|
@@ -2633,19 +2124,7 @@ module Stripe
|
|
|
2633
2124
|
#
|
|
2634
2125
|
# 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).
|
|
2635
2126
|
attr_reader :setup_future_usage
|
|
2636
|
-
# 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.
|
|
2637
|
-
attr_reader :subsellers
|
|
2638
2127
|
|
|
2639
|
-
def self.inner_class_types
|
|
2640
|
-
@inner_class_types = { line_items: LineItem }
|
|
2641
|
-
end
|
|
2642
|
-
|
|
2643
|
-
def self.field_remappings
|
|
2644
|
-
@field_remappings = {}
|
|
2645
|
-
end
|
|
2646
|
-
end
|
|
2647
|
-
|
|
2648
|
-
class Paypay < ::Stripe::StripeObject
|
|
2649
2128
|
def self.inner_class_types
|
|
2650
2129
|
@inner_class_types = {}
|
|
2651
2130
|
end
|
|
@@ -2655,103 +2134,13 @@ module Stripe
|
|
|
2655
2134
|
end
|
|
2656
2135
|
end
|
|
2657
2136
|
|
|
2658
|
-
class Payto < ::Stripe::StripeObject
|
|
2659
|
-
class MandateOptions < ::Stripe::StripeObject
|
|
2660
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2661
|
-
attr_reader :amount
|
|
2662
|
-
# 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.
|
|
2663
|
-
attr_reader :amount_type
|
|
2664
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2665
|
-
attr_reader :end_date
|
|
2666
|
-
# The periodicity at which payments will be collected.
|
|
2667
|
-
attr_reader :payment_schedule
|
|
2668
|
-
# 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.
|
|
2669
|
-
attr_reader :payments_per_period
|
|
2670
|
-
# The purpose for which payments are made. Defaults to retail.
|
|
2671
|
-
attr_reader :purpose
|
|
2672
|
-
|
|
2673
|
-
def self.inner_class_types
|
|
2674
|
-
@inner_class_types = {}
|
|
2675
|
-
end
|
|
2676
|
-
|
|
2677
|
-
def self.field_remappings
|
|
2678
|
-
@field_remappings = {}
|
|
2679
|
-
end
|
|
2680
|
-
end
|
|
2681
|
-
# Attribute for field mandate_options
|
|
2682
|
-
attr_reader :mandate_options
|
|
2683
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2684
|
-
#
|
|
2685
|
-
# 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.
|
|
2686
|
-
#
|
|
2687
|
-
# 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.
|
|
2688
|
-
#
|
|
2689
|
-
# 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).
|
|
2690
|
-
attr_reader :setup_future_usage
|
|
2691
|
-
|
|
2692
|
-
def self.inner_class_types
|
|
2693
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
|
2694
|
-
end
|
|
2695
|
-
|
|
2696
|
-
def self.field_remappings
|
|
2697
|
-
@field_remappings = {}
|
|
2698
|
-
end
|
|
2699
|
-
end
|
|
2700
|
-
|
|
2701
2137
|
class Pix < ::Stripe::StripeObject
|
|
2702
|
-
class MandateOptions < ::Stripe::StripeObject
|
|
2703
|
-
# Amount to be charged for future payments.
|
|
2704
|
-
attr_reader :amount
|
|
2705
|
-
# Determines if the amount includes the IOF tax.
|
|
2706
|
-
attr_reader :amount_includes_iof
|
|
2707
|
-
# Type of amount.
|
|
2708
|
-
attr_reader :amount_type
|
|
2709
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
|
2710
|
-
attr_reader :currency
|
|
2711
|
-
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
2712
|
-
attr_reader :end_date
|
|
2713
|
-
# Schedule at which the future payments will be charged.
|
|
2714
|
-
attr_reader :payment_schedule
|
|
2715
|
-
# Subscription name displayed to buyers in their bank app.
|
|
2716
|
-
attr_reader :reference
|
|
2717
|
-
# Start date of the mandate, in `YYYY-MM-DD`.
|
|
2718
|
-
attr_reader :start_date
|
|
2719
|
-
|
|
2720
|
-
def self.inner_class_types
|
|
2721
|
-
@inner_class_types = {}
|
|
2722
|
-
end
|
|
2723
|
-
|
|
2724
|
-
def self.field_remappings
|
|
2725
|
-
@field_remappings = {}
|
|
2726
|
-
end
|
|
2727
|
-
end
|
|
2728
2138
|
# Determines if the amount includes the IOF tax.
|
|
2729
2139
|
attr_reader :amount_includes_iof
|
|
2730
2140
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
|
|
2731
2141
|
attr_reader :expires_after_seconds
|
|
2732
2142
|
# The timestamp at which the Pix expires.
|
|
2733
2143
|
attr_reader :expires_at
|
|
2734
|
-
# Attribute for field mandate_options
|
|
2735
|
-
attr_reader :mandate_options
|
|
2736
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2737
|
-
#
|
|
2738
|
-
# 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.
|
|
2739
|
-
#
|
|
2740
|
-
# 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.
|
|
2741
|
-
#
|
|
2742
|
-
# 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).
|
|
2743
|
-
attr_reader :setup_future_usage
|
|
2744
|
-
|
|
2745
|
-
def self.inner_class_types
|
|
2746
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
|
2747
|
-
end
|
|
2748
|
-
|
|
2749
|
-
def self.field_remappings
|
|
2750
|
-
@field_remappings = {}
|
|
2751
|
-
end
|
|
2752
|
-
end
|
|
2753
|
-
|
|
2754
|
-
class Promptpay < ::Stripe::StripeObject
|
|
2755
2144
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2756
2145
|
#
|
|
2757
2146
|
# 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.
|
|
@@ -2770,7 +2159,7 @@ module Stripe
|
|
|
2770
2159
|
end
|
|
2771
2160
|
end
|
|
2772
2161
|
|
|
2773
|
-
class
|
|
2162
|
+
class Promptpay < ::Stripe::StripeObject
|
|
2774
2163
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2775
2164
|
#
|
|
2776
2165
|
# 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.
|
|
@@ -2789,16 +2178,6 @@ module Stripe
|
|
|
2789
2178
|
end
|
|
2790
2179
|
end
|
|
2791
2180
|
|
|
2792
|
-
class Rechnung < ::Stripe::StripeObject
|
|
2793
|
-
def self.inner_class_types
|
|
2794
|
-
@inner_class_types = {}
|
|
2795
|
-
end
|
|
2796
|
-
|
|
2797
|
-
def self.field_remappings
|
|
2798
|
-
@field_remappings = {}
|
|
2799
|
-
end
|
|
2800
|
-
end
|
|
2801
|
-
|
|
2802
2181
|
class RevolutPay < ::Stripe::StripeObject
|
|
2803
2182
|
# Controls when the funds will be captured from the customer's account.
|
|
2804
2183
|
attr_reader :capture_method
|
|
@@ -2881,25 +2260,6 @@ module Stripe
|
|
|
2881
2260
|
end
|
|
2882
2261
|
end
|
|
2883
2262
|
|
|
2884
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
2885
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2886
|
-
#
|
|
2887
|
-
# 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.
|
|
2888
|
-
#
|
|
2889
|
-
# 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.
|
|
2890
|
-
#
|
|
2891
|
-
# 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).
|
|
2892
|
-
attr_reader :setup_future_usage
|
|
2893
|
-
|
|
2894
|
-
def self.inner_class_types
|
|
2895
|
-
@inner_class_types = {}
|
|
2896
|
-
end
|
|
2897
|
-
|
|
2898
|
-
def self.field_remappings
|
|
2899
|
-
@field_remappings = {}
|
|
2900
|
-
end
|
|
2901
|
-
end
|
|
2902
|
-
|
|
2903
2263
|
class Sofort < ::Stripe::StripeObject
|
|
2904
2264
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2905
2265
|
attr_reader :preferred_language
|
|
@@ -2921,25 +2281,6 @@ module Stripe
|
|
|
2921
2281
|
end
|
|
2922
2282
|
end
|
|
2923
2283
|
|
|
2924
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
2925
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2926
|
-
#
|
|
2927
|
-
# 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.
|
|
2928
|
-
#
|
|
2929
|
-
# 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.
|
|
2930
|
-
#
|
|
2931
|
-
# 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).
|
|
2932
|
-
attr_reader :setup_future_usage
|
|
2933
|
-
|
|
2934
|
-
def self.inner_class_types
|
|
2935
|
-
@inner_class_types = {}
|
|
2936
|
-
end
|
|
2937
|
-
|
|
2938
|
-
def self.field_remappings
|
|
2939
|
-
@field_remappings = {}
|
|
2940
|
-
end
|
|
2941
|
-
end
|
|
2942
|
-
|
|
2943
2284
|
class Swish < ::Stripe::StripeObject
|
|
2944
2285
|
# A reference for this payment to be displayed in the Swish app.
|
|
2945
2286
|
attr_reader :reference
|
|
@@ -2985,21 +2326,6 @@ module Stripe
|
|
|
2985
2326
|
class Filters < ::Stripe::StripeObject
|
|
2986
2327
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2987
2328
|
attr_reader :account_subcategories
|
|
2988
|
-
# The institution to use to filter for possible accounts to link.
|
|
2989
|
-
attr_reader :institution
|
|
2990
|
-
|
|
2991
|
-
def self.inner_class_types
|
|
2992
|
-
@inner_class_types = {}
|
|
2993
|
-
end
|
|
2994
|
-
|
|
2995
|
-
def self.field_remappings
|
|
2996
|
-
@field_remappings = {}
|
|
2997
|
-
end
|
|
2998
|
-
end
|
|
2999
|
-
|
|
3000
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
3001
|
-
# Settings for configuring manual entry of account details.
|
|
3002
|
-
attr_reader :mode
|
|
3003
2329
|
|
|
3004
2330
|
def self.inner_class_types
|
|
3005
2331
|
@inner_class_types = {}
|
|
@@ -3011,8 +2337,6 @@ module Stripe
|
|
|
3011
2337
|
end
|
|
3012
2338
|
# Attribute for field filters
|
|
3013
2339
|
attr_reader :filters
|
|
3014
|
-
# Attribute for field manual_entry
|
|
3015
|
-
attr_reader :manual_entry
|
|
3016
2340
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
3017
2341
|
attr_reader :permissions
|
|
3018
2342
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -3021,7 +2345,7 @@ module Stripe
|
|
|
3021
2345
|
attr_reader :return_url
|
|
3022
2346
|
|
|
3023
2347
|
def self.inner_class_types
|
|
3024
|
-
@inner_class_types = { filters: Filters
|
|
2348
|
+
@inner_class_types = { filters: Filters }
|
|
3025
2349
|
end
|
|
3026
2350
|
|
|
3027
2351
|
def self.field_remappings
|
|
@@ -3153,12 +2477,8 @@ module Stripe
|
|
|
3153
2477
|
attr_reader :fpx
|
|
3154
2478
|
# Attribute for field giropay
|
|
3155
2479
|
attr_reader :giropay
|
|
3156
|
-
# Attribute for field gopay
|
|
3157
|
-
attr_reader :gopay
|
|
3158
2480
|
# Attribute for field grabpay
|
|
3159
2481
|
attr_reader :grabpay
|
|
3160
|
-
# Attribute for field id_bank_transfer
|
|
3161
|
-
attr_reader :id_bank_transfer
|
|
3162
2482
|
# Attribute for field ideal
|
|
3163
2483
|
attr_reader :ideal
|
|
3164
2484
|
# Attribute for field interac_present
|
|
@@ -3195,18 +2515,10 @@ module Stripe
|
|
|
3195
2515
|
attr_reader :paynow
|
|
3196
2516
|
# Attribute for field paypal
|
|
3197
2517
|
attr_reader :paypal
|
|
3198
|
-
# Attribute for field paypay
|
|
3199
|
-
attr_reader :paypay
|
|
3200
|
-
# Attribute for field payto
|
|
3201
|
-
attr_reader :payto
|
|
3202
2518
|
# Attribute for field pix
|
|
3203
2519
|
attr_reader :pix
|
|
3204
2520
|
# Attribute for field promptpay
|
|
3205
2521
|
attr_reader :promptpay
|
|
3206
|
-
# Attribute for field qris
|
|
3207
|
-
attr_reader :qris
|
|
3208
|
-
# Attribute for field rechnung
|
|
3209
|
-
attr_reader :rechnung
|
|
3210
2522
|
# Attribute for field revolut_pay
|
|
3211
2523
|
attr_reader :revolut_pay
|
|
3212
2524
|
# Attribute for field samsung_pay
|
|
@@ -3215,12 +2527,8 @@ module Stripe
|
|
|
3215
2527
|
attr_reader :satispay
|
|
3216
2528
|
# Attribute for field sepa_debit
|
|
3217
2529
|
attr_reader :sepa_debit
|
|
3218
|
-
# Attribute for field shopeepay
|
|
3219
|
-
attr_reader :shopeepay
|
|
3220
2530
|
# Attribute for field sofort
|
|
3221
2531
|
attr_reader :sofort
|
|
3222
|
-
# Attribute for field stripe_balance
|
|
3223
|
-
attr_reader :stripe_balance
|
|
3224
2532
|
# Attribute for field swish
|
|
3225
2533
|
attr_reader :swish
|
|
3226
2534
|
# Attribute for field twint
|
|
@@ -3254,9 +2562,7 @@ module Stripe
|
|
|
3254
2562
|
eps: Eps,
|
|
3255
2563
|
fpx: Fpx,
|
|
3256
2564
|
giropay: Giropay,
|
|
3257
|
-
gopay: Gopay,
|
|
3258
2565
|
grabpay: Grabpay,
|
|
3259
|
-
id_bank_transfer: IdBankTransfer,
|
|
3260
2566
|
ideal: Ideal,
|
|
3261
2567
|
interac_present: InteracPresent,
|
|
3262
2568
|
kakao_pay: KakaoPay,
|
|
@@ -3275,19 +2581,13 @@ module Stripe
|
|
|
3275
2581
|
payco: Payco,
|
|
3276
2582
|
paynow: Paynow,
|
|
3277
2583
|
paypal: Paypal,
|
|
3278
|
-
paypay: Paypay,
|
|
3279
|
-
payto: Payto,
|
|
3280
2584
|
pix: Pix,
|
|
3281
2585
|
promptpay: Promptpay,
|
|
3282
|
-
qris: Qris,
|
|
3283
|
-
rechnung: Rechnung,
|
|
3284
2586
|
revolut_pay: RevolutPay,
|
|
3285
2587
|
samsung_pay: SamsungPay,
|
|
3286
2588
|
satispay: Satispay,
|
|
3287
2589
|
sepa_debit: SepaDebit,
|
|
3288
|
-
shopeepay: Shopeepay,
|
|
3289
2590
|
sofort: Sofort,
|
|
3290
|
-
stripe_balance: StripeBalance,
|
|
3291
2591
|
swish: Swish,
|
|
3292
2592
|
twint: Twint,
|
|
3293
2593
|
us_bank_account: UsBankAccount,
|
|
@@ -3454,20 +2754,10 @@ module Stripe
|
|
|
3454
2754
|
#
|
|
3455
2755
|
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
|
3456
2756
|
attr_reader :customer
|
|
3457
|
-
# ID of the Account this PaymentIntent belongs to, if one exists.
|
|
3458
|
-
#
|
|
3459
|
-
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
3460
|
-
#
|
|
3461
|
-
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
|
3462
|
-
attr_reader :customer_account
|
|
3463
2757
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
3464
2758
|
attr_reader :description
|
|
3465
2759
|
# The list of payment method types to exclude from use with this payment.
|
|
3466
2760
|
attr_reader :excluded_payment_method_types
|
|
3467
|
-
# The FX Quote used for the PaymentIntent.
|
|
3468
|
-
attr_reader :fx_quote
|
|
3469
|
-
# Attribute for field hooks
|
|
3470
|
-
attr_reader :hooks
|
|
3471
2761
|
# Unique identifier for the object.
|
|
3472
2762
|
attr_reader :id
|
|
3473
2763
|
# The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
|
|
@@ -3502,8 +2792,6 @@ module Stripe
|
|
|
3502
2792
|
attr_reader :receipt_email
|
|
3503
2793
|
# ID of the review associated with this PaymentIntent, if any.
|
|
3504
2794
|
attr_reader :review
|
|
3505
|
-
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
3506
|
-
attr_reader :secret_key_confirmation
|
|
3507
2795
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3508
2796
|
#
|
|
3509
2797
|
# 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.
|
|
@@ -3697,56 +2985,6 @@ module Stripe
|
|
|
3697
2985
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3698
2986
|
end
|
|
3699
2987
|
|
|
3700
|
-
# Perform a decremental authorization on an eligible
|
|
3701
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3702
|
-
# PaymentIntent's status must be requires_capture and
|
|
3703
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
3704
|
-
# must be available.
|
|
3705
|
-
#
|
|
3706
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
3707
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
3708
|
-
#
|
|
3709
|
-
# After decrement, the PaymentIntent object
|
|
3710
|
-
# returns with the updated
|
|
3711
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
3712
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
3713
|
-
#
|
|
3714
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
3715
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
3716
|
-
def decrement_authorization(params = {}, opts = {})
|
|
3717
|
-
request_stripe_object(
|
|
3718
|
-
method: :post,
|
|
3719
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
3720
|
-
params: params,
|
|
3721
|
-
opts: opts
|
|
3722
|
-
)
|
|
3723
|
-
end
|
|
3724
|
-
|
|
3725
|
-
# Perform a decremental authorization on an eligible
|
|
3726
|
-
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3727
|
-
# PaymentIntent's status must be requires_capture and
|
|
3728
|
-
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
3729
|
-
# must be available.
|
|
3730
|
-
#
|
|
3731
|
-
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
3732
|
-
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
3733
|
-
#
|
|
3734
|
-
# After decrement, the PaymentIntent object
|
|
3735
|
-
# returns with the updated
|
|
3736
|
-
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
3737
|
-
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
3738
|
-
#
|
|
3739
|
-
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
3740
|
-
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
3741
|
-
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
3742
|
-
request_stripe_object(
|
|
3743
|
-
method: :post,
|
|
3744
|
-
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
3745
|
-
params: params,
|
|
3746
|
-
opts: opts
|
|
3747
|
-
)
|
|
3748
|
-
end
|
|
3749
|
-
|
|
3750
2988
|
# Perform an incremental authorization on an eligible
|
|
3751
2989
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3752
2990
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -3831,26 +3069,6 @@ module Stripe
|
|
|
3831
3069
|
search(params, opts).auto_paging_each(&blk)
|
|
3832
3070
|
end
|
|
3833
3071
|
|
|
3834
|
-
# Trigger an external action on a PaymentIntent.
|
|
3835
|
-
def trigger_action(params = {}, opts = {})
|
|
3836
|
-
request_stripe_object(
|
|
3837
|
-
method: :post,
|
|
3838
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
3839
|
-
params: params,
|
|
3840
|
-
opts: opts
|
|
3841
|
-
)
|
|
3842
|
-
end
|
|
3843
|
-
|
|
3844
|
-
# Trigger an external action on a PaymentIntent.
|
|
3845
|
-
def self.trigger_action(intent, params = {}, opts = {})
|
|
3846
|
-
request_stripe_object(
|
|
3847
|
-
method: :post,
|
|
3848
|
-
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
3849
|
-
params: params,
|
|
3850
|
-
opts: opts
|
|
3851
|
-
)
|
|
3852
|
-
end
|
|
3853
|
-
|
|
3854
3072
|
# Updates properties on a PaymentIntent object without confirming.
|
|
3855
3073
|
#
|
|
3856
3074
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -3891,7 +3109,6 @@ module Stripe
|
|
|
3891
3109
|
@inner_class_types = {
|
|
3892
3110
|
amount_details: AmountDetails,
|
|
3893
3111
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3894
|
-
hooks: Hooks,
|
|
3895
3112
|
last_payment_error: LastPaymentError,
|
|
3896
3113
|
next_action: NextAction,
|
|
3897
3114
|
payment_details: PaymentDetails,
|