stripe 19.2.0.pre.beta.2 → 19.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 +3 -36
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -228
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +17 -364
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +16 -326
- data/lib/stripe/params/balance_settings_update_params.rb +42 -2
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_create_params.rb +4 -1
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +31 -141
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -70
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -790
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -48
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- data/lib/stripe/params/issuing/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 +3 -1645
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3038
- data/lib/stripe/params/payment_intent_create_params.rb +167 -3043
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +2 -39
- data/lib/stripe/params/payment_intent_update_params.rb +121 -3034
- data/lib/stripe/params/payment_link_create_params.rb +30 -16
- data/lib/stripe/params/payment_link_update_params.rb +29 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +24 -87
- data/lib/stripe/params/payment_method_configuration_list_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +24 -87
- data/lib/stripe/params/payment_method_create_params.rb +11 -75
- data/lib/stripe/params/payout_create_params.rb +1 -1
- 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 +21 -110
- data/lib/stripe/params/setup_intent_create_params.rb +21 -110
- data/lib/stripe/params/setup_intent_update_params.rb +21 -110
- data/lib/stripe/params/subscription_create_params.rb +11 -181
- data/lib/stripe/params/subscription_item_create_params.rb +3 -69
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -7
- data/lib/stripe/params/subscription_item_update_params.rb +2 -52
- data/lib/stripe/params/subscription_schedule_create_params.rb +9 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +9 -167
- data/lib/stripe/params/subscription_update_params.rb +11 -161
- 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 +52 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +4 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/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 +33 -288
- data/lib/stripe/params/v2/core/account_token_create_params.rb +28 -18
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -281
- data/lib/stripe/params.rb +1342 -795
- data/lib/stripe/railtie.rb +8 -0
- data/lib/stripe/resources/account.rb +5 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +42 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +36 -211
- data/lib/stripe/resources/checkout/session.rb +26 -82
- data/lib/stripe/resources/confirmation_token.rb +20 -125
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +2 -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 -57
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +3 -117
- data/lib/stripe/resources/invoice_item.rb +34 -3
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/dispute.rb +1 -1
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +13 -12
- data/lib/stripe/resources/payment_attempt_record.rb +41 -187
- data/lib/stripe/resources/payment_intent.rb +96 -1583
- data/lib/stripe/resources/payment_link.rb +40 -0
- data/lib/stripe/resources/payment_method.rb +21 -130
- data/lib/stripe/resources/payment_method_configuration.rb +20 -122
- data/lib/stripe/resources/payment_record.rb +41 -187
- 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/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +4 -26
- data/lib/stripe/resources/setup_intent.rb +27 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +10 -107
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +5 -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 +64 -16
- data/lib/stripe/resources/terminal/reader.rb +116 -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 +1 -1
- data/lib/stripe/resources/v2/core/account.rb +40 -607
- data/lib/stripe/resources/v2/core/account_token.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +1 -0
- data/lib/stripe/resources.rb +500 -301
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +0 -14
- 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 -41
- 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 +3 -38
- 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 -55
- data/lib/stripe/services/subscription_service.rb +2 -32
- 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/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +5 -1
- data/lib/stripe/services/v2/core/event_service.rb +2 -1
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +469 -268
- 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/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +25 -58
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +53183 -118054
- metadata +5 -377
- 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_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/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 -87
- 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 -103
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1181
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -734
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1766
- 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 -492
- 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/datum_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 -21
- 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 -581
|
@@ -68,19 +68,6 @@ module Stripe
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
class ReaderSecurity < ::Stripe::StripeObject
|
|
72
|
-
# Passcode used to access a reader's admin menu.
|
|
73
|
-
attr_reader :admin_menu_passcode
|
|
74
|
-
|
|
75
|
-
def self.inner_class_types
|
|
76
|
-
@inner_class_types = {}
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
def self.field_remappings
|
|
80
|
-
@field_remappings = {}
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
71
|
class RebootWindow < ::Stripe::StripeObject
|
|
85
72
|
# Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
86
73
|
attr_reader :end_hour
|
|
@@ -553,6 +540,19 @@ module Stripe
|
|
|
553
540
|
end
|
|
554
541
|
end
|
|
555
542
|
|
|
543
|
+
class VerifoneM425 < ::Stripe::StripeObject
|
|
544
|
+
# A File ID representing an image to display on the reader
|
|
545
|
+
attr_reader :splashscreen
|
|
546
|
+
|
|
547
|
+
def self.inner_class_types
|
|
548
|
+
@inner_class_types = {}
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
def self.field_remappings
|
|
552
|
+
@field_remappings = {}
|
|
553
|
+
end
|
|
554
|
+
end
|
|
555
|
+
|
|
556
556
|
class VerifoneP400 < ::Stripe::StripeObject
|
|
557
557
|
# A File ID representing an image to display on the reader
|
|
558
558
|
attr_reader :splashscreen
|
|
@@ -566,6 +566,45 @@ module Stripe
|
|
|
566
566
|
end
|
|
567
567
|
end
|
|
568
568
|
|
|
569
|
+
class VerifoneP630 < ::Stripe::StripeObject
|
|
570
|
+
# A File ID representing an image to display on the reader
|
|
571
|
+
attr_reader :splashscreen
|
|
572
|
+
|
|
573
|
+
def self.inner_class_types
|
|
574
|
+
@inner_class_types = {}
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
def self.field_remappings
|
|
578
|
+
@field_remappings = {}
|
|
579
|
+
end
|
|
580
|
+
end
|
|
581
|
+
|
|
582
|
+
class VerifoneUx700 < ::Stripe::StripeObject
|
|
583
|
+
# A File ID representing an image to display on the reader
|
|
584
|
+
attr_reader :splashscreen
|
|
585
|
+
|
|
586
|
+
def self.inner_class_types
|
|
587
|
+
@inner_class_types = {}
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
def self.field_remappings
|
|
591
|
+
@field_remappings = {}
|
|
592
|
+
end
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
class VerifoneV660p < ::Stripe::StripeObject
|
|
596
|
+
# A File ID representing an image to display on the reader
|
|
597
|
+
attr_reader :splashscreen
|
|
598
|
+
|
|
599
|
+
def self.inner_class_types
|
|
600
|
+
@inner_class_types = {}
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
def self.field_remappings
|
|
604
|
+
@field_remappings = {}
|
|
605
|
+
end
|
|
606
|
+
end
|
|
607
|
+
|
|
569
608
|
class Wifi < ::Stripe::StripeObject
|
|
570
609
|
class EnterpriseEapPeap < ::Stripe::StripeObject
|
|
571
610
|
# A File ID representing a PEM file containing the server certificate
|
|
@@ -662,8 +701,6 @@ module Stripe
|
|
|
662
701
|
attr_reader :object
|
|
663
702
|
# Attribute for field offline
|
|
664
703
|
attr_reader :offline
|
|
665
|
-
# Attribute for field reader_security
|
|
666
|
-
attr_reader :reader_security
|
|
667
704
|
# Attribute for field reboot_window
|
|
668
705
|
attr_reader :reboot_window
|
|
669
706
|
# Attribute for field stripe_s700
|
|
@@ -672,8 +709,16 @@ module Stripe
|
|
|
672
709
|
attr_reader :stripe_s710
|
|
673
710
|
# Attribute for field tipping
|
|
674
711
|
attr_reader :tipping
|
|
712
|
+
# Attribute for field verifone_m425
|
|
713
|
+
attr_reader :verifone_m425
|
|
675
714
|
# Attribute for field verifone_p400
|
|
676
715
|
attr_reader :verifone_p400
|
|
716
|
+
# Attribute for field verifone_p630
|
|
717
|
+
attr_reader :verifone_p630
|
|
718
|
+
# Attribute for field verifone_ux700
|
|
719
|
+
attr_reader :verifone_ux700
|
|
720
|
+
# Attribute for field verifone_v660p
|
|
721
|
+
attr_reader :verifone_v660p
|
|
677
722
|
# Attribute for field wifi
|
|
678
723
|
attr_reader :wifi
|
|
679
724
|
|
|
@@ -733,12 +778,15 @@ module Stripe
|
|
|
733
778
|
bbpos_wisepos_e: BbposWiseposE,
|
|
734
779
|
cellular: Cellular,
|
|
735
780
|
offline: Offline,
|
|
736
|
-
reader_security: ReaderSecurity,
|
|
737
781
|
reboot_window: RebootWindow,
|
|
738
782
|
stripe_s700: StripeS700,
|
|
739
783
|
stripe_s710: StripeS710,
|
|
740
784
|
tipping: Tipping,
|
|
785
|
+
verifone_m425: VerifoneM425,
|
|
741
786
|
verifone_p400: VerifoneP400,
|
|
787
|
+
verifone_p630: VerifoneP630,
|
|
788
|
+
verifone_ux700: VerifoneUx700,
|
|
789
|
+
verifone_v660p: VerifoneV660p,
|
|
742
790
|
wifi: Wifi,
|
|
743
791
|
}
|
|
744
792
|
end
|
|
@@ -18,6 +18,83 @@ module Stripe
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
class Action < ::Stripe::StripeObject
|
|
21
|
+
class ApiError < ::Stripe::StripeObject
|
|
22
|
+
# For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
|
|
23
|
+
attr_reader :advice_code
|
|
24
|
+
# For card errors, the ID of the failed charge.
|
|
25
|
+
attr_reader :charge
|
|
26
|
+
# For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
|
|
27
|
+
attr_reader :code
|
|
28
|
+
# For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
|
|
29
|
+
attr_reader :decline_code
|
|
30
|
+
# A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
|
|
31
|
+
attr_reader :doc_url
|
|
32
|
+
# A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
|
|
33
|
+
attr_reader :message
|
|
34
|
+
# For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
|
|
35
|
+
attr_reader :network_advice_code
|
|
36
|
+
# For payments declined by the network, an alphanumeric code which indicates the reason the payment failed.
|
|
37
|
+
attr_reader :network_decline_code
|
|
38
|
+
# If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
|
|
39
|
+
attr_reader :param
|
|
40
|
+
# A PaymentIntent guides you through the process of collecting a payment from your customer.
|
|
41
|
+
# We recommend that you create exactly one PaymentIntent for each order or
|
|
42
|
+
# customer session in your system. You can reference the PaymentIntent later to
|
|
43
|
+
# see the history of payment attempts for a particular session.
|
|
44
|
+
#
|
|
45
|
+
# A PaymentIntent transitions through
|
|
46
|
+
# [multiple statuses](/payments/paymentintents/lifecycle)
|
|
47
|
+
# throughout its lifetime as it interfaces with Stripe.js to perform
|
|
48
|
+
# authentication flows and ultimately creates at most one successful charge.
|
|
49
|
+
#
|
|
50
|
+
# Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
|
|
51
|
+
attr_reader :payment_intent
|
|
52
|
+
# PaymentMethod objects represent your customer's payment instruments.
|
|
53
|
+
# You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
|
|
54
|
+
# Customer objects to store instrument details for future payments.
|
|
55
|
+
#
|
|
56
|
+
# Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
|
|
57
|
+
attr_reader :payment_method
|
|
58
|
+
# If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
|
|
59
|
+
attr_reader :payment_method_type
|
|
60
|
+
# A URL to the request log entry in your dashboard.
|
|
61
|
+
attr_reader :request_log_url
|
|
62
|
+
# A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
|
|
63
|
+
# For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
|
|
64
|
+
# Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow.
|
|
65
|
+
#
|
|
66
|
+
# Create a SetupIntent when you're ready to collect your customer's payment credentials.
|
|
67
|
+
# Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
|
|
68
|
+
# The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides
|
|
69
|
+
# you through the setup process.
|
|
70
|
+
#
|
|
71
|
+
# Successful SetupIntents result in payment credentials that are optimized for future payments.
|
|
72
|
+
# For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
|
|
73
|
+
# [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
|
|
74
|
+
# to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
|
|
75
|
+
# If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer),
|
|
76
|
+
# it automatically attaches the resulting payment method to that Customer after successful setup.
|
|
77
|
+
# We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on
|
|
78
|
+
# PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.
|
|
79
|
+
#
|
|
80
|
+
# By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.
|
|
81
|
+
#
|
|
82
|
+
# Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
|
|
83
|
+
attr_reader :setup_intent
|
|
84
|
+
# Attribute for field source
|
|
85
|
+
attr_reader :source
|
|
86
|
+
# The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
|
|
87
|
+
attr_reader :type
|
|
88
|
+
|
|
89
|
+
def self.inner_class_types
|
|
90
|
+
@inner_class_types = {}
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
def self.field_remappings
|
|
94
|
+
@field_remappings = {}
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
21
98
|
class CollectInputs < ::Stripe::StripeObject
|
|
22
99
|
class Input < ::Stripe::StripeObject
|
|
23
100
|
class CustomText < ::Stripe::StripeObject
|
|
@@ -238,8 +315,6 @@ module Stripe
|
|
|
238
315
|
@field_remappings = {}
|
|
239
316
|
end
|
|
240
317
|
end
|
|
241
|
-
# Account the payment intent belongs to.
|
|
242
|
-
attr_reader :account
|
|
243
318
|
# Represents a per-transaction override of a reader configuration
|
|
244
319
|
attr_reader :collect_config
|
|
245
320
|
# Most recent PaymentIntent processed by the reader.
|
|
@@ -273,8 +348,6 @@ module Stripe
|
|
|
273
348
|
@field_remappings = {}
|
|
274
349
|
end
|
|
275
350
|
end
|
|
276
|
-
# Account the payment intent belongs to.
|
|
277
|
-
attr_reader :account
|
|
278
351
|
# Represents a per-transaction override of a reader configuration
|
|
279
352
|
attr_reader :confirm_config
|
|
280
353
|
# Most recent PaymentIntent processed by the reader.
|
|
@@ -289,6 +362,39 @@ module Stripe
|
|
|
289
362
|
end
|
|
290
363
|
end
|
|
291
364
|
|
|
365
|
+
class PrintContent < ::Stripe::StripeObject
|
|
366
|
+
class Image < ::Stripe::StripeObject
|
|
367
|
+
# Creation time of the object (in seconds since the Unix epoch).
|
|
368
|
+
attr_reader :created_at
|
|
369
|
+
# The original name of the uploaded file (e.g. `receipt.png`).
|
|
370
|
+
attr_reader :filename
|
|
371
|
+
# The size (in bytes) of the uploaded file.
|
|
372
|
+
attr_reader :size
|
|
373
|
+
# The format of the uploaded file.
|
|
374
|
+
attr_reader :type
|
|
375
|
+
|
|
376
|
+
def self.inner_class_types
|
|
377
|
+
@inner_class_types = {}
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
def self.field_remappings
|
|
381
|
+
@field_remappings = {}
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
# Metadata of an uploaded file
|
|
385
|
+
attr_reader :image
|
|
386
|
+
# The type of content to print. Currently supports `image`.
|
|
387
|
+
attr_reader :type
|
|
388
|
+
|
|
389
|
+
def self.inner_class_types
|
|
390
|
+
@inner_class_types = { image: Image }
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
def self.field_remappings
|
|
394
|
+
@field_remappings = {}
|
|
395
|
+
end
|
|
396
|
+
end
|
|
397
|
+
|
|
292
398
|
class ProcessPaymentIntent < ::Stripe::StripeObject
|
|
293
399
|
class ProcessConfig < ::Stripe::StripeObject
|
|
294
400
|
class Tipping < ::Stripe::StripeObject
|
|
@@ -320,8 +426,6 @@ module Stripe
|
|
|
320
426
|
@field_remappings = {}
|
|
321
427
|
end
|
|
322
428
|
end
|
|
323
|
-
# Account the payment intent belongs to.
|
|
324
|
-
attr_reader :account
|
|
325
429
|
# Most recent PaymentIntent processed by the reader.
|
|
326
430
|
attr_reader :payment_intent
|
|
327
431
|
# Represents a per-transaction override of a reader configuration
|
|
@@ -378,8 +482,6 @@ module Stripe
|
|
|
378
482
|
@field_remappings = {}
|
|
379
483
|
end
|
|
380
484
|
end
|
|
381
|
-
# Account the payment intent belongs to.
|
|
382
|
-
attr_reader :account
|
|
383
485
|
# The amount being refunded.
|
|
384
486
|
attr_reader :amount
|
|
385
487
|
# Charge that is being refunded.
|
|
@@ -456,6 +558,8 @@ module Stripe
|
|
|
456
558
|
@field_remappings = {}
|
|
457
559
|
end
|
|
458
560
|
end
|
|
561
|
+
# The reader action failed due to an [API error](https://docs.stripe.com/api/errors). Only present when `status` is `failed` and the underlying failure was an API error. Avoid parsing the `message` field for programmatic logic; use `type` or `code` instead. The `message` field is for display to humans only and may be updated at anytime. Requires [reader version](https://docs.stripe.com/terminal/readers/stripe-reader-s700-s710#reader-software-version) 2.42 or later. Readers on older versions always return null.
|
|
562
|
+
attr_reader :api_error
|
|
459
563
|
# Represents a reader action to collect customer inputs
|
|
460
564
|
attr_reader :collect_inputs
|
|
461
565
|
# Represents a reader action to collect a payment method
|
|
@@ -466,6 +570,8 @@ module Stripe
|
|
|
466
570
|
attr_reader :failure_code
|
|
467
571
|
# Detailed failure message, only set if status is `failed`.
|
|
468
572
|
attr_reader :failure_message
|
|
573
|
+
# Represents a reader action to print content
|
|
574
|
+
attr_reader :print_content
|
|
469
575
|
# Represents a reader action to process a payment intent
|
|
470
576
|
attr_reader :process_payment_intent
|
|
471
577
|
# Represents a reader action to process a setup intent
|
|
@@ -481,9 +587,11 @@ module Stripe
|
|
|
481
587
|
|
|
482
588
|
def self.inner_class_types
|
|
483
589
|
@inner_class_types = {
|
|
590
|
+
api_error: ApiError,
|
|
484
591
|
collect_inputs: CollectInputs,
|
|
485
592
|
collect_payment_method: CollectPaymentMethod,
|
|
486
593
|
confirm_payment_intent: ConfirmPaymentIntent,
|
|
594
|
+
print_content: PrintContent,
|
|
487
595
|
process_payment_intent: ProcessPaymentIntent,
|
|
488
596
|
process_setup_intent: ProcessSetupIntent,
|
|
489
597
|
refund_payment: RefundPayment,
|
|
@@ -41,8 +41,6 @@ module Stripe
|
|
|
41
41
|
attr_reader :destination
|
|
42
42
|
# If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer.
|
|
43
43
|
attr_reader :destination_payment
|
|
44
|
-
# The FX Quote used for the transfer.
|
|
45
|
-
attr_reader :fx_quote
|
|
46
44
|
# Unique identifier for the object.
|
|
47
45
|
attr_reader :id
|
|
48
46
|
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
@@ -116,8 +116,6 @@ module Stripe
|
|
|
116
116
|
attr_reader :country
|
|
117
117
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
118
118
|
attr_reader :created
|
|
119
|
-
# The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
120
|
-
attr_reader :display_name
|
|
121
119
|
# Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.
|
|
122
120
|
# Stripe or the platform can control Features via the requested field.
|
|
123
121
|
attr_reader :features
|
|
@@ -246,8 +246,6 @@ module Stripe
|
|
|
246
246
|
attr_reader :metadata
|
|
247
247
|
# String representing the object's type. Objects of the same type share the same value.
|
|
248
248
|
attr_reader :object
|
|
249
|
-
# The purpose of the OutboundPayment, if applicable.
|
|
250
|
-
attr_reader :purpose
|
|
251
249
|
# Details about a returned OutboundPayment. Only set when the status is `returned`.
|
|
252
250
|
attr_reader :returned_details
|
|
253
251
|
# The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer).
|
|
@@ -120,33 +120,6 @@ module Stripe
|
|
|
120
120
|
end
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
-
class NetworkDetails < ::Stripe::StripeObject
|
|
124
|
-
class Ach < ::Stripe::StripeObject
|
|
125
|
-
# ACH Addenda record
|
|
126
|
-
attr_reader :addenda
|
|
127
|
-
|
|
128
|
-
def self.inner_class_types
|
|
129
|
-
@inner_class_types = {}
|
|
130
|
-
end
|
|
131
|
-
|
|
132
|
-
def self.field_remappings
|
|
133
|
-
@field_remappings = {}
|
|
134
|
-
end
|
|
135
|
-
end
|
|
136
|
-
# Details about an ACH transaction.
|
|
137
|
-
attr_reader :ach
|
|
138
|
-
# The type of flow that originated the OutboundTransfer.
|
|
139
|
-
attr_reader :type
|
|
140
|
-
|
|
141
|
-
def self.inner_class_types
|
|
142
|
-
@inner_class_types = { ach: Ach }
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
def self.field_remappings
|
|
146
|
-
@field_remappings = {}
|
|
147
|
-
end
|
|
148
|
-
end
|
|
149
|
-
|
|
150
123
|
class ReturnedDetails < ::Stripe::StripeObject
|
|
151
124
|
# Reason for the return.
|
|
152
125
|
attr_reader :code
|
|
@@ -252,8 +225,6 @@ module Stripe
|
|
|
252
225
|
attr_reader :livemode
|
|
253
226
|
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
254
227
|
attr_reader :metadata
|
|
255
|
-
# Details about the network used for the OutboundTransfer.
|
|
256
|
-
attr_reader :network_details
|
|
257
228
|
# String representing the object's type. Objects of the same type share the same value.
|
|
258
229
|
attr_reader :object
|
|
259
230
|
# Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
|
@@ -403,7 +374,6 @@ module Stripe
|
|
|
403
374
|
def self.inner_class_types
|
|
404
375
|
@inner_class_types = {
|
|
405
376
|
destination_payment_method_details: DestinationPaymentMethodDetails,
|
|
406
|
-
network_details: NetworkDetails,
|
|
407
377
|
returned_details: ReturnedDetails,
|
|
408
378
|
status_transitions: StatusTransitions,
|
|
409
379
|
tracking_details: TrackingDetails,
|
|
@@ -167,33 +167,6 @@ module Stripe
|
|
|
167
167
|
end
|
|
168
168
|
end
|
|
169
169
|
|
|
170
|
-
class NetworkDetails < ::Stripe::StripeObject
|
|
171
|
-
class Ach < ::Stripe::StripeObject
|
|
172
|
-
# ACH Addenda record
|
|
173
|
-
attr_reader :addenda
|
|
174
|
-
|
|
175
|
-
def self.inner_class_types
|
|
176
|
-
@inner_class_types = {}
|
|
177
|
-
end
|
|
178
|
-
|
|
179
|
-
def self.field_remappings
|
|
180
|
-
@field_remappings = {}
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
|
-
# Details about an ACH transaction.
|
|
184
|
-
attr_reader :ach
|
|
185
|
-
# The type of flow that originated the ReceivedCredit.
|
|
186
|
-
attr_reader :type
|
|
187
|
-
|
|
188
|
-
def self.inner_class_types
|
|
189
|
-
@inner_class_types = { ach: Ach }
|
|
190
|
-
end
|
|
191
|
-
|
|
192
|
-
def self.field_remappings
|
|
193
|
-
@field_remappings = {}
|
|
194
|
-
end
|
|
195
|
-
end
|
|
196
|
-
|
|
197
170
|
class ReversalDetails < ::Stripe::StripeObject
|
|
198
171
|
# Time before which a ReceivedCredit can be reversed.
|
|
199
172
|
attr_reader :deadline
|
|
@@ -232,8 +205,6 @@ module Stripe
|
|
|
232
205
|
attr_reader :livemode
|
|
233
206
|
# The rails used to send the funds.
|
|
234
207
|
attr_reader :network
|
|
235
|
-
# Details specific to the money movement rails.
|
|
236
|
-
attr_reader :network_details
|
|
237
208
|
# String representing the object's type. Objects of the same type share the same value.
|
|
238
209
|
attr_reader :object
|
|
239
210
|
# Details describing when a ReceivedCredit may be reversed.
|
|
@@ -278,7 +249,6 @@ module Stripe
|
|
|
278
249
|
@inner_class_types = {
|
|
279
250
|
initiating_payment_method_details: InitiatingPaymentMethodDetails,
|
|
280
251
|
linked_flows: LinkedFlows,
|
|
281
|
-
network_details: NetworkDetails,
|
|
282
252
|
reversal_details: ReversalDetails,
|
|
283
253
|
}
|
|
284
254
|
end
|
|
@@ -120,8 +120,6 @@ module Stripe
|
|
|
120
120
|
attr_reader :issuing_transaction
|
|
121
121
|
# Set if the ReceivedDebit was created due to a [Payout](https://api.stripe.com#payouts) object.
|
|
122
122
|
attr_reader :payout
|
|
123
|
-
# The ReceivedCredit that Capital withheld from
|
|
124
|
-
attr_reader :received_credit_capital_withholding
|
|
125
123
|
# Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object.
|
|
126
124
|
attr_reader :topup
|
|
127
125
|
|
|
@@ -134,33 +132,6 @@ module Stripe
|
|
|
134
132
|
end
|
|
135
133
|
end
|
|
136
134
|
|
|
137
|
-
class NetworkDetails < ::Stripe::StripeObject
|
|
138
|
-
class Ach < ::Stripe::StripeObject
|
|
139
|
-
# ACH Addenda record
|
|
140
|
-
attr_reader :addenda
|
|
141
|
-
|
|
142
|
-
def self.inner_class_types
|
|
143
|
-
@inner_class_types = {}
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
def self.field_remappings
|
|
147
|
-
@field_remappings = {}
|
|
148
|
-
end
|
|
149
|
-
end
|
|
150
|
-
# Details about an ACH transaction.
|
|
151
|
-
attr_reader :ach
|
|
152
|
-
# The type of flow that originated the ReceivedDebit.
|
|
153
|
-
attr_reader :type
|
|
154
|
-
|
|
155
|
-
def self.inner_class_types
|
|
156
|
-
@inner_class_types = { ach: Ach }
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
def self.field_remappings
|
|
160
|
-
@field_remappings = {}
|
|
161
|
-
end
|
|
162
|
-
end
|
|
163
|
-
|
|
164
135
|
class ReversalDetails < ::Stripe::StripeObject
|
|
165
136
|
# Time before which a ReceivedDebit can be reversed.
|
|
166
137
|
attr_reader :deadline
|
|
@@ -199,8 +170,6 @@ module Stripe
|
|
|
199
170
|
attr_reader :livemode
|
|
200
171
|
# The network used for the ReceivedDebit.
|
|
201
172
|
attr_reader :network
|
|
202
|
-
# Details specific to the money movement rails.
|
|
203
|
-
attr_reader :network_details
|
|
204
173
|
# String representing the object's type. Objects of the same type share the same value.
|
|
205
174
|
attr_reader :object
|
|
206
175
|
# Details describing when a ReceivedDebit might be reversed.
|
|
@@ -245,7 +214,6 @@ module Stripe
|
|
|
245
214
|
@inner_class_types = {
|
|
246
215
|
initiating_payment_method_details: InitiatingPaymentMethodDetails,
|
|
247
216
|
linked_flows: LinkedFlows,
|
|
248
|
-
network_details: NetworkDetails,
|
|
249
217
|
reversal_details: ReversalDetails,
|
|
250
218
|
}
|
|
251
219
|
end
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module V2
|
|
6
6
|
module Commerce
|
|
7
|
-
# The
|
|
7
|
+
# The ProductCatalogImport object tracks the long-running background process that handles uploading, processing and validation.
|
|
8
8
|
class ProductCatalogImport < APIResource
|
|
9
9
|
OBJECT_NAME = "v2.commerce.product_catalog_import"
|
|
10
10
|
def self.object_name
|