stripe 20.2.0.pre.beta.1 → 21.1.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_operations/request.rb +18 -7
- data/lib/stripe/api_operations/save.rb +4 -4
- data/lib/stripe/api_requestor.rb +55 -38
- data/lib/stripe/api_resource.rb +1 -2
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/connection_manager.rb +3 -0
- data/lib/stripe/errors.rb +0 -6
- data/lib/stripe/event_types.rb +20 -193
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/events/v2_core_account_closed_event.rb +2 -2
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +2 -2
- data/lib/stripe/events/{v2_data_reporting_query_run_failed_event.rb → v2_core_claimable_sandbox_claimed_event.rb} +7 -7
- data/lib/stripe/events/{v2_money_management_outbound_transfer_created_event.rb → v2_core_claimable_sandbox_created_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_approval_request_rejected_event.rb → v2_core_claimable_sandbox_expired_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_batch_job_validation_failed_event.rb → v2_core_claimable_sandbox_expiring_event.rb} +7 -7
- data/lib/stripe/events/{v2_core_approval_request_approved_event.rb → v2_core_claimable_sandbox_updated_event.rb} +7 -7
- data/lib/stripe/object_types.rb +1 -53
- data/lib/stripe/params/account_create_params.rb +1 -299
- data/lib/stripe/params/account_session_create_params.rb +0 -191
- data/lib/stripe/params/account_update_params.rb +0 -261
- data/lib/stripe/params/balance_settings_update_params.rb +1 -9
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -1
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +11 -88
- data/lib/stripe/params/checkout/session_update_params.rb +1 -161
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/coupon_create_params.rb +2 -18
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -39
- 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 -64
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -772
- data/lib/stripe/params/invoice_item_create_params.rb +2 -34
- 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_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -64
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/cardholder_update_params.rb +0 -4
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -981
- data/lib/stripe/params/payment_intent_confirm_params.rb +147 -2438
- data/lib/stripe/params/payment_intent_create_params.rb +148 -2439
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +149 -2471
- data/lib/stripe/params/payment_link_update_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
- data/lib/stripe/params/payment_method_create_params.rb +0 -88
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +4 -1
- data/lib/stripe/params/product_update_params.rb +4 -1
- data/lib/stripe/params/quote_create_params.rb +4 -810
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +5 -818
- data/lib/stripe/params/reporting/report_run_create_params.rb +4 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -122
- data/lib/stripe/params/setup_intent_create_params.rb +3 -122
- data/lib/stripe/params/setup_intent_update_params.rb +3 -122
- data/lib/stripe/params/subscription_create_params.rb +6 -133
- data/lib/stripe/params/subscription_item_create_params.rb +3 -50
- data/lib/stripe/params/subscription_item_update_params.rb +2 -33
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -167
- data/lib/stripe/params/subscription_update_params.rb +5 -116
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -92
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -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/inbound_transfer_fail_params.rb +23 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +34 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -19
- 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 +143 -396
- data/lib/stripe/params/v2/core/account_link_create_params.rb +19 -1
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -29
- data/lib/stripe/params/v2/core/account_update_params.rb +142 -380
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +63 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +32 -0
- data/lib/stripe/params/v2/{billing/cadence_retrieve_params.rb → core/claimable_sandbox_retrieve_params.rb} +3 -3
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -1
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +2 -2
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -40
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +1 -22
- data/lib/stripe/params.rb +7 -364
- data/lib/stripe/request_options.rb +37 -2
- data/lib/stripe/resources/account.rb +1 -176
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/apps/install.rb +2 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +0 -4
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +275 -232
- data/lib/stripe/resources/checkout/session.rb +7 -91
- data/lib/stripe/resources/confirmation_token.rb +2 -133
- data/lib/stripe/resources/coupon.rb +7 -29
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +1 -19
- data/lib/stripe/resources/event.rb +3 -66
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +0 -92
- data/lib/stripe/resources/invoice.rb +1 -106
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/authorization.rb +0 -16
- data/lib/stripe/resources/issuing/card.rb +1 -17
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +0 -18
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -12
- data/lib/stripe/resources/payment_attempt_record.rb +5 -178
- data/lib/stripe/resources/payment_intent.rb +17 -1022
- data/lib/stripe/resources/payment_method.rb +2 -153
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +5 -178
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +2 -0
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +38 -18
- data/lib/stripe/resources/reporting/report_run.rb +2 -0
- data/lib/stripe/resources/reserve/hold.rb +1 -8
- data/lib/stripe/resources/reserve/plan.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +2 -37
- data/lib/stripe/resources/setup_intent.rb +2 -39
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -73
- data/lib/stripe/resources/subscription_item.rb +1 -22
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- 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/inbound_transfer.rb +35 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +37 -11
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -32
- data/lib/stripe/resources/treasury/received_credit.rb +1 -31
- data/lib/stripe/resources/treasury/received_debit.rb +1 -33
- data/lib/stripe/resources/v2/core/account.rb +293 -850
- data/lib/stripe/resources/v2/core/account_link.rb +18 -1
- data/lib/stripe/resources/v2/core/account_person_token.rb +2 -0
- data/lib/stripe/resources/v2/core/account_token.rb +3 -1
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +269 -0
- data/lib/stripe/resources/v2/core/event.rb +1 -1
- data/lib/stripe/resources/v2/core/event_base.rb +19 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +32 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +1 -91
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +1 -26
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -4
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -50
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -63
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +1 -31
- data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -50
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -2
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -2
- data/lib/stripe/resources.rb +19 -341
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/apps/install_service.rb +2 -2
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/checkout/session_service.rb +2 -0
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/event_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -11
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/radar_service.rb +1 -2
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -45
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +3 -3
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +4 -4
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -1
- 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_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +2 -2
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +2 -1
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +49 -0
- data/lib/stripe/services/v2/core_service.rb +2 -3
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -27
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +0 -13
- data/lib/stripe/services/v2/money_management_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -7
- data/lib/stripe/services.rb +2 -181
- data/lib/stripe/stripe_client.rb +7 -4
- data/lib/stripe/stripe_configuration.rb +10 -5
- data/lib/stripe/stripe_event_notification_handler.rb +16 -206
- data/lib/stripe/stripe_object.rb +82 -10
- data/lib/stripe/stripe_service.rb +13 -9
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +68 -3
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/v2/core/event_base.rbi +11 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -2
- data/rbi/stripe.rbi +63009 -123066
- metadata +16 -332
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_succeeded_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_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_created_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_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_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_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/events/v2_signals_account_evaluation_complete_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_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/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/payment_plan_create_params.rb +0 -128
- data/lib/stripe/params/payment_plan_list_params.rb +0 -25
- data/lib/stripe/params/payment_plan_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_plan_update_params.rb +0 -105
- 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/radar/billing_evaluation_create_params.rb +0 -231
- 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_list_params.rb +0 -37
- 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 -71
- 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/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_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/approval_request_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +0 -47
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +0 -17
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -53
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/data/query_run_create_params.rb +0 -50
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_list_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/data/report_run_create_params.rb +0 -48
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +0 -23
- 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/data/schema_list_params.rb +0 -26
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -30
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -35
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -113
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- 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 -112
- 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_disable_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/test_helpers/financial_address_generate_microdeposits_params.rb +0 -12
- 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/signals/account_activity_create_params.rb +0 -200
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +0 -192
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +0 -35
- data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -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/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -149
- 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/payment_plan.rb +0 -213
- 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/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1241
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -968
- data/lib/stripe/resources/radar/billing_evaluation.rb +0 -281
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -681
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -310
- data/lib/stripe/resources/tax/form.rb +0 -264
- 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/approval_request.rb +0 -395
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -536
- data/lib/stripe/resources/v2/data/query_run.rb +0 -255
- data/lib/stripe/resources/v2/data/report.rb +0 -104
- data/lib/stripe/resources/v2/data/report_run.rb +0 -246
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/data/schema.rb +0 -121
- 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/iam/activity_log.rb +0 -368
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +0 -33
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -255
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -260
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -137
- 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/resources/v2/signals/account_activity.rb +0 -252
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +0 -249
- data/lib/stripe/resources/v2/signals/account_signal.rb +0 -184
- 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/payment_plan_service.rb +0 -50
- 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/radar/billing_evaluation_service.rb +0 -19
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -30
- 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/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/approval_request_service.rb +0 -58
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/data/query_run_service.rb +0 -34
- data/lib/stripe/services/v2/data/report_run_service.rb +0 -36
- data/lib/stripe/services/v2/data/report_service.rb +0 -34
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/data/schema_service.rb +0 -32
- data/lib/stripe/services/v2/data_service.rb +0 -19
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -32
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -35
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -61
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- 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/signals/account_activity_service.rb +0 -43
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +0 -32
- data/lib/stripe/services/v2/signals/account_signal_service.rb +0 -32
- data/lib/stripe/services/v2/signals_service.rb +0 -17
|
@@ -318,8 +318,6 @@ module Stripe
|
|
|
318
318
|
class Card < ::Stripe::StripeObject
|
|
319
319
|
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
320
320
|
attr_reader :brand
|
|
321
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
322
|
-
attr_reader :brand_product
|
|
323
321
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
324
322
|
attr_reader :country
|
|
325
323
|
# Two-digit number representing the card's expiration month.
|
|
@@ -493,9 +491,9 @@ module Stripe
|
|
|
493
491
|
|
|
494
492
|
class Card < ::Stripe::StripeObject
|
|
495
493
|
class Checks < ::Stripe::StripeObject
|
|
496
|
-
# If
|
|
494
|
+
# If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
497
495
|
attr_reader :address_line1_check
|
|
498
|
-
# If
|
|
496
|
+
# If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
499
497
|
attr_reader :address_postal_code_check
|
|
500
498
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
501
499
|
attr_reader :cvc_check
|
|
@@ -509,19 +507,6 @@ module Stripe
|
|
|
509
507
|
end
|
|
510
508
|
end
|
|
511
509
|
|
|
512
|
-
class DecrementalAuthorization < ::Stripe::StripeObject
|
|
513
|
-
# Indicates whether or not the decremental authorization feature is supported.
|
|
514
|
-
attr_reader :status
|
|
515
|
-
|
|
516
|
-
def self.inner_class_types
|
|
517
|
-
@inner_class_types = {}
|
|
518
|
-
end
|
|
519
|
-
|
|
520
|
-
def self.field_remappings
|
|
521
|
-
@field_remappings = {}
|
|
522
|
-
end
|
|
523
|
-
end
|
|
524
|
-
|
|
525
510
|
class ExtendedAuthorization < ::Stripe::StripeObject
|
|
526
511
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
527
512
|
attr_reader :status
|
|
@@ -619,19 +604,6 @@ module Stripe
|
|
|
619
604
|
end
|
|
620
605
|
end
|
|
621
606
|
|
|
622
|
-
class PartialAuthorization < ::Stripe::StripeObject
|
|
623
|
-
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
624
|
-
attr_reader :status
|
|
625
|
-
|
|
626
|
-
def self.inner_class_types
|
|
627
|
-
@inner_class_types = {}
|
|
628
|
-
end
|
|
629
|
-
|
|
630
|
-
def self.field_remappings
|
|
631
|
-
@field_remappings = {}
|
|
632
|
-
end
|
|
633
|
-
end
|
|
634
|
-
|
|
635
607
|
class ThreeDSecure < ::Stripe::StripeObject
|
|
636
608
|
# For authenticated transactions: how the customer was authenticated by
|
|
637
609
|
# the issuing bank.
|
|
@@ -696,11 +668,144 @@ module Stripe
|
|
|
696
668
|
end
|
|
697
669
|
|
|
698
670
|
class Link < ::Stripe::StripeObject
|
|
671
|
+
class FundingSource < ::Stripe::StripeObject
|
|
672
|
+
class Card < ::Stripe::StripeObject
|
|
673
|
+
class Checks < ::Stripe::StripeObject
|
|
674
|
+
# If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
675
|
+
attr_reader :address_line1_check
|
|
676
|
+
# If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
677
|
+
attr_reader :address_postal_code_check
|
|
678
|
+
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
679
|
+
attr_reader :cvc_check
|
|
680
|
+
|
|
681
|
+
def self.inner_class_types
|
|
682
|
+
@inner_class_types = {}
|
|
683
|
+
end
|
|
684
|
+
|
|
685
|
+
def self.field_remappings
|
|
686
|
+
@field_remappings = {}
|
|
687
|
+
end
|
|
688
|
+
end
|
|
689
|
+
|
|
690
|
+
class NetworkToken < ::Stripe::StripeObject
|
|
691
|
+
# Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
|
|
692
|
+
attr_reader :used
|
|
693
|
+
|
|
694
|
+
def self.inner_class_types
|
|
695
|
+
@inner_class_types = {}
|
|
696
|
+
end
|
|
697
|
+
|
|
698
|
+
def self.field_remappings
|
|
699
|
+
@field_remappings = {}
|
|
700
|
+
end
|
|
701
|
+
end
|
|
702
|
+
|
|
703
|
+
class ThreeDSecure < ::Stripe::StripeObject
|
|
704
|
+
# For authenticated transactions: how the customer was authenticated by
|
|
705
|
+
# the issuing bank.
|
|
706
|
+
attr_reader :authentication_flow
|
|
707
|
+
# The Electronic Commerce Indicator (ECI). A protocol-level field
|
|
708
|
+
# indicating what degree of authentication was performed.
|
|
709
|
+
attr_reader :electronic_commerce_indicator
|
|
710
|
+
# The exemption requested via 3DS and accepted by the issuer at authentication time.
|
|
711
|
+
attr_reader :exemption_indicator
|
|
712
|
+
# Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
|
|
713
|
+
# the outcome of Stripe's internal risk assessment.
|
|
714
|
+
attr_reader :exemption_indicator_applied
|
|
715
|
+
# Indicates the outcome of 3D Secure authentication.
|
|
716
|
+
attr_reader :result
|
|
717
|
+
# Additional information about why 3D Secure succeeded or failed based
|
|
718
|
+
# on the `result`.
|
|
719
|
+
attr_reader :result_reason
|
|
720
|
+
# The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
|
|
721
|
+
# (dsTransId) for this payment.
|
|
722
|
+
attr_reader :transaction_id
|
|
723
|
+
# The version of 3D Secure that was used.
|
|
724
|
+
attr_reader :version
|
|
725
|
+
|
|
726
|
+
def self.inner_class_types
|
|
727
|
+
@inner_class_types = {}
|
|
728
|
+
end
|
|
729
|
+
|
|
730
|
+
def self.field_remappings
|
|
731
|
+
@field_remappings = {}
|
|
732
|
+
end
|
|
733
|
+
end
|
|
734
|
+
# The authorized amount.
|
|
735
|
+
attr_reader :amount_authorized
|
|
736
|
+
# Authorization code on the charge.
|
|
737
|
+
attr_reader :authorization_code
|
|
738
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
739
|
+
attr_reader :brand
|
|
740
|
+
# Check results by Card networks on Card address and CVC at time of payment.
|
|
741
|
+
attr_reader :checks
|
|
742
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
743
|
+
attr_reader :country
|
|
744
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
745
|
+
attr_reader :description
|
|
746
|
+
# The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.
|
|
747
|
+
attr_reader :electronic_commerce_indicator
|
|
748
|
+
# Two-digit number representing the card's expiration month.
|
|
749
|
+
attr_reader :exp_month
|
|
750
|
+
# Four-digit number representing the card's expiration year.
|
|
751
|
+
attr_reader :exp_year
|
|
752
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
753
|
+
#
|
|
754
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
755
|
+
attr_reader :fingerprint
|
|
756
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
757
|
+
attr_reader :funding
|
|
758
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
759
|
+
attr_reader :iin
|
|
760
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
761
|
+
attr_reader :issuer
|
|
762
|
+
# The last four digits of the card.
|
|
763
|
+
attr_reader :last4
|
|
764
|
+
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
765
|
+
attr_reader :network
|
|
766
|
+
# If this card has network token credentials, this contains the details of the network token credentials.
|
|
767
|
+
attr_reader :network_token
|
|
768
|
+
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
769
|
+
attr_reader :network_transaction_id
|
|
770
|
+
# Status of a card based on the card issuer.
|
|
771
|
+
attr_reader :regulated_status
|
|
772
|
+
# Populated if this transaction used 3D Secure authentication.
|
|
773
|
+
attr_reader :three_d_secure
|
|
774
|
+
# Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
775
|
+
attr_reader :transaction_link_id
|
|
776
|
+
|
|
777
|
+
def self.inner_class_types
|
|
778
|
+
@inner_class_types = {
|
|
779
|
+
checks: Checks,
|
|
780
|
+
network_token: NetworkToken,
|
|
781
|
+
three_d_secure: ThreeDSecure,
|
|
782
|
+
}
|
|
783
|
+
end
|
|
784
|
+
|
|
785
|
+
def self.field_remappings
|
|
786
|
+
@field_remappings = {}
|
|
787
|
+
end
|
|
788
|
+
end
|
|
789
|
+
# Attribute for field card
|
|
790
|
+
attr_reader :card
|
|
791
|
+
# The type of funding source used for this Link payment.
|
|
792
|
+
attr_reader :type
|
|
793
|
+
|
|
794
|
+
def self.inner_class_types
|
|
795
|
+
@inner_class_types = { card: Card }
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
def self.field_remappings
|
|
799
|
+
@field_remappings = {}
|
|
800
|
+
end
|
|
801
|
+
end
|
|
699
802
|
# The [funding source group code](https://docs.stripe.com/payments/link/link-payment-methods) applied to this Link payment at confirmation time.
|
|
700
803
|
attr_reader :funding_source_group
|
|
804
|
+
# Details about the funding sources used for this Link payment.
|
|
805
|
+
attr_reader :funding_sources
|
|
701
806
|
|
|
702
807
|
def self.inner_class_types
|
|
703
|
-
@inner_class_types = {}
|
|
808
|
+
@inner_class_types = { funding_sources: FundingSource }
|
|
704
809
|
end
|
|
705
810
|
|
|
706
811
|
def self.field_remappings
|
|
@@ -888,8 +993,6 @@ module Stripe
|
|
|
888
993
|
end
|
|
889
994
|
# The authorized amount.
|
|
890
995
|
attr_reader :amount_authorized
|
|
891
|
-
# The latest amount intended to be authorized by this charge.
|
|
892
|
-
attr_reader :amount_requested
|
|
893
996
|
# Authorization code on the charge.
|
|
894
997
|
attr_reader :authorization_code
|
|
895
998
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
@@ -900,8 +1003,6 @@ module Stripe
|
|
|
900
1003
|
attr_reader :checks
|
|
901
1004
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
902
1005
|
attr_reader :country
|
|
903
|
-
# Attribute for field decremental_authorization
|
|
904
|
-
attr_reader :decremental_authorization
|
|
905
1006
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
906
1007
|
attr_reader :description
|
|
907
1008
|
# The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.
|
|
@@ -944,8 +1045,6 @@ module Stripe
|
|
|
944
1045
|
attr_reader :network_transaction_id
|
|
945
1046
|
# Attribute for field overcapture
|
|
946
1047
|
attr_reader :overcapture
|
|
947
|
-
# Attribute for field partial_authorization
|
|
948
|
-
attr_reader :partial_authorization
|
|
949
1048
|
# Status of a card based on the card issuer.
|
|
950
1049
|
attr_reader :regulated_status
|
|
951
1050
|
# The payment_method_options.card.setup_credential_usage value that was passed when setup_future_usage was present at confirmation, one of `recurring`, `unscheduled`, or `installment`
|
|
@@ -962,14 +1061,12 @@ module Stripe
|
|
|
962
1061
|
def self.inner_class_types
|
|
963
1062
|
@inner_class_types = {
|
|
964
1063
|
checks: Checks,
|
|
965
|
-
decremental_authorization: DecrementalAuthorization,
|
|
966
1064
|
extended_authorization: ExtendedAuthorization,
|
|
967
1065
|
incremental_authorization: IncrementalAuthorization,
|
|
968
1066
|
installments: Installments,
|
|
969
1067
|
multicapture: Multicapture,
|
|
970
1068
|
network_token: NetworkToken,
|
|
971
1069
|
overcapture: Overcapture,
|
|
972
|
-
partial_authorization: PartialAuthorization,
|
|
973
1070
|
three_d_secure: ThreeDSecure,
|
|
974
1071
|
wallet: Wallet,
|
|
975
1072
|
}
|
|
@@ -1204,16 +1301,6 @@ module Stripe
|
|
|
1204
1301
|
end
|
|
1205
1302
|
end
|
|
1206
1303
|
|
|
1207
|
-
class Gopay < ::Stripe::StripeObject
|
|
1208
|
-
def self.inner_class_types
|
|
1209
|
-
@inner_class_types = {}
|
|
1210
|
-
end
|
|
1211
|
-
|
|
1212
|
-
def self.field_remappings
|
|
1213
|
-
@field_remappings = {}
|
|
1214
|
-
end
|
|
1215
|
-
end
|
|
1216
|
-
|
|
1217
1304
|
class Grabpay < ::Stripe::StripeObject
|
|
1218
1305
|
# Unique transaction id generated by GrabPay
|
|
1219
1306
|
attr_reader :transaction_id
|
|
@@ -1227,27 +1314,6 @@ module Stripe
|
|
|
1227
1314
|
end
|
|
1228
1315
|
end
|
|
1229
1316
|
|
|
1230
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
1231
|
-
# Account number of the bank account to transfer funds to.
|
|
1232
|
-
attr_reader :account_number
|
|
1233
|
-
# Bank where the account is located.
|
|
1234
|
-
attr_reader :bank
|
|
1235
|
-
# Local bank code of the bank.
|
|
1236
|
-
attr_reader :bank_code
|
|
1237
|
-
# Name of the bank associated with the bank account.
|
|
1238
|
-
attr_reader :bank_name
|
|
1239
|
-
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1240
|
-
attr_reader :display_name
|
|
1241
|
-
|
|
1242
|
-
def self.inner_class_types
|
|
1243
|
-
@inner_class_types = {}
|
|
1244
|
-
end
|
|
1245
|
-
|
|
1246
|
-
def self.field_remappings
|
|
1247
|
-
@field_remappings = {}
|
|
1248
|
-
end
|
|
1249
|
-
end
|
|
1250
|
-
|
|
1251
1317
|
class Ideal < ::Stripe::StripeObject
|
|
1252
1318
|
# The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1253
1319
|
attr_reader :bank
|
|
@@ -1462,14 +1528,147 @@ module Stripe
|
|
|
1462
1528
|
end
|
|
1463
1529
|
|
|
1464
1530
|
class Link < ::Stripe::StripeObject
|
|
1531
|
+
class FundingSource < ::Stripe::StripeObject
|
|
1532
|
+
class Card < ::Stripe::StripeObject
|
|
1533
|
+
class Checks < ::Stripe::StripeObject
|
|
1534
|
+
# If an address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
1535
|
+
attr_reader :address_line1_check
|
|
1536
|
+
# If an address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
1537
|
+
attr_reader :address_postal_code_check
|
|
1538
|
+
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
1539
|
+
attr_reader :cvc_check
|
|
1540
|
+
|
|
1541
|
+
def self.inner_class_types
|
|
1542
|
+
@inner_class_types = {}
|
|
1543
|
+
end
|
|
1544
|
+
|
|
1545
|
+
def self.field_remappings
|
|
1546
|
+
@field_remappings = {}
|
|
1547
|
+
end
|
|
1548
|
+
end
|
|
1549
|
+
|
|
1550
|
+
class NetworkToken < ::Stripe::StripeObject
|
|
1551
|
+
# Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
|
|
1552
|
+
attr_reader :used
|
|
1553
|
+
|
|
1554
|
+
def self.inner_class_types
|
|
1555
|
+
@inner_class_types = {}
|
|
1556
|
+
end
|
|
1557
|
+
|
|
1558
|
+
def self.field_remappings
|
|
1559
|
+
@field_remappings = {}
|
|
1560
|
+
end
|
|
1561
|
+
end
|
|
1562
|
+
|
|
1563
|
+
class ThreeDSecure < ::Stripe::StripeObject
|
|
1564
|
+
# For authenticated transactions: how the customer was authenticated by
|
|
1565
|
+
# the issuing bank.
|
|
1566
|
+
attr_reader :authentication_flow
|
|
1567
|
+
# The Electronic Commerce Indicator (ECI). A protocol-level field
|
|
1568
|
+
# indicating what degree of authentication was performed.
|
|
1569
|
+
attr_reader :electronic_commerce_indicator
|
|
1570
|
+
# The exemption requested via 3DS and accepted by the issuer at authentication time.
|
|
1571
|
+
attr_reader :exemption_indicator
|
|
1572
|
+
# Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
|
|
1573
|
+
# the outcome of Stripe's internal risk assessment.
|
|
1574
|
+
attr_reader :exemption_indicator_applied
|
|
1575
|
+
# Indicates the outcome of 3D Secure authentication.
|
|
1576
|
+
attr_reader :result
|
|
1577
|
+
# Additional information about why 3D Secure succeeded or failed based
|
|
1578
|
+
# on the `result`.
|
|
1579
|
+
attr_reader :result_reason
|
|
1580
|
+
# The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
|
|
1581
|
+
# (dsTransId) for this payment.
|
|
1582
|
+
attr_reader :transaction_id
|
|
1583
|
+
# The version of 3D Secure that was used.
|
|
1584
|
+
attr_reader :version
|
|
1585
|
+
|
|
1586
|
+
def self.inner_class_types
|
|
1587
|
+
@inner_class_types = {}
|
|
1588
|
+
end
|
|
1589
|
+
|
|
1590
|
+
def self.field_remappings
|
|
1591
|
+
@field_remappings = {}
|
|
1592
|
+
end
|
|
1593
|
+
end
|
|
1594
|
+
# The authorized amount.
|
|
1595
|
+
attr_reader :amount_authorized
|
|
1596
|
+
# Authorization code on the charge.
|
|
1597
|
+
attr_reader :authorization_code
|
|
1598
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1599
|
+
attr_reader :brand
|
|
1600
|
+
# Check results by Card networks on Card address and CVC at time of payment.
|
|
1601
|
+
attr_reader :checks
|
|
1602
|
+
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1603
|
+
attr_reader :country
|
|
1604
|
+
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
1605
|
+
attr_reader :description
|
|
1606
|
+
# The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.
|
|
1607
|
+
attr_reader :electronic_commerce_indicator
|
|
1608
|
+
# Two-digit number representing the card's expiration month.
|
|
1609
|
+
attr_reader :exp_month
|
|
1610
|
+
# Four-digit number representing the card's expiration year.
|
|
1611
|
+
attr_reader :exp_year
|
|
1612
|
+
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
1613
|
+
#
|
|
1614
|
+
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
1615
|
+
attr_reader :fingerprint
|
|
1616
|
+
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
1617
|
+
attr_reader :funding
|
|
1618
|
+
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
1619
|
+
attr_reader :iin
|
|
1620
|
+
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
1621
|
+
attr_reader :issuer
|
|
1622
|
+
# The last four digits of the card.
|
|
1623
|
+
attr_reader :last4
|
|
1624
|
+
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
1625
|
+
attr_reader :network
|
|
1626
|
+
# If this card has network token credentials, this contains the details of the network token credentials.
|
|
1627
|
+
attr_reader :network_token
|
|
1628
|
+
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
1629
|
+
attr_reader :network_transaction_id
|
|
1630
|
+
# Status of a card based on the card issuer.
|
|
1631
|
+
attr_reader :regulated_status
|
|
1632
|
+
# Populated if this transaction used 3D Secure authentication.
|
|
1633
|
+
attr_reader :three_d_secure
|
|
1634
|
+
# Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
1635
|
+
attr_reader :transaction_link_id
|
|
1636
|
+
|
|
1637
|
+
def self.inner_class_types
|
|
1638
|
+
@inner_class_types = {
|
|
1639
|
+
checks: Checks,
|
|
1640
|
+
network_token: NetworkToken,
|
|
1641
|
+
three_d_secure: ThreeDSecure,
|
|
1642
|
+
}
|
|
1643
|
+
end
|
|
1644
|
+
|
|
1645
|
+
def self.field_remappings
|
|
1646
|
+
@field_remappings = {}
|
|
1647
|
+
end
|
|
1648
|
+
end
|
|
1649
|
+
# Attribute for field card
|
|
1650
|
+
attr_reader :card
|
|
1651
|
+
# The type of funding source used for this Link payment.
|
|
1652
|
+
attr_reader :type
|
|
1653
|
+
|
|
1654
|
+
def self.inner_class_types
|
|
1655
|
+
@inner_class_types = { card: Card }
|
|
1656
|
+
end
|
|
1657
|
+
|
|
1658
|
+
def self.field_remappings
|
|
1659
|
+
@field_remappings = {}
|
|
1660
|
+
end
|
|
1661
|
+
end
|
|
1465
1662
|
# Two-letter ISO code representing the funding source country beneath the Link payment.
|
|
1466
1663
|
# You could use this attribute to get a sense of international fees.
|
|
1467
1664
|
attr_reader :country
|
|
1468
1665
|
# The [funding source group code](https://docs.stripe.com/payments/link/link-payment-methods) applied to this Link payment at confirmation time.
|
|
1469
1666
|
attr_reader :funding_source_group
|
|
1667
|
+
# Details about the funding sources used for this Link payment.
|
|
1668
|
+
attr_reader :funding_sources
|
|
1470
1669
|
|
|
1471
1670
|
def self.inner_class_types
|
|
1472
|
-
@inner_class_types = {}
|
|
1671
|
+
@inner_class_types = { funding_sources: FundingSource }
|
|
1473
1672
|
end
|
|
1474
1673
|
|
|
1475
1674
|
def self.field_remappings
|
|
@@ -1551,7 +1750,7 @@ module Stripe
|
|
|
1551
1750
|
end
|
|
1552
1751
|
|
|
1553
1752
|
class NzBankAccount < ::Stripe::StripeObject
|
|
1554
|
-
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod
|
|
1753
|
+
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod's billing details.
|
|
1555
1754
|
attr_reader :account_holder_name
|
|
1556
1755
|
# The numeric code for the bank account's bank.
|
|
1557
1756
|
attr_reader :bank_code
|
|
@@ -1664,52 +1863,6 @@ module Stripe
|
|
|
1664
1863
|
@field_remappings = {}
|
|
1665
1864
|
end
|
|
1666
1865
|
end
|
|
1667
|
-
|
|
1668
|
-
class Shipping < ::Stripe::StripeObject
|
|
1669
|
-
# City, district, suburb, town, or village.
|
|
1670
|
-
attr_reader :city
|
|
1671
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1672
|
-
attr_reader :country
|
|
1673
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1674
|
-
attr_reader :line1
|
|
1675
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1676
|
-
attr_reader :line2
|
|
1677
|
-
# ZIP or postal code.
|
|
1678
|
-
attr_reader :postal_code
|
|
1679
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1680
|
-
attr_reader :state
|
|
1681
|
-
|
|
1682
|
-
def self.inner_class_types
|
|
1683
|
-
@inner_class_types = {}
|
|
1684
|
-
end
|
|
1685
|
-
|
|
1686
|
-
def self.field_remappings
|
|
1687
|
-
@field_remappings = {}
|
|
1688
|
-
end
|
|
1689
|
-
end
|
|
1690
|
-
|
|
1691
|
-
class VerifiedAddress < ::Stripe::StripeObject
|
|
1692
|
-
# City, district, suburb, town, or village.
|
|
1693
|
-
attr_reader :city
|
|
1694
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1695
|
-
attr_reader :country
|
|
1696
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1697
|
-
attr_reader :line1
|
|
1698
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1699
|
-
attr_reader :line2
|
|
1700
|
-
# ZIP or postal code.
|
|
1701
|
-
attr_reader :postal_code
|
|
1702
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1703
|
-
attr_reader :state
|
|
1704
|
-
|
|
1705
|
-
def self.inner_class_types
|
|
1706
|
-
@inner_class_types = {}
|
|
1707
|
-
end
|
|
1708
|
-
|
|
1709
|
-
def self.field_remappings
|
|
1710
|
-
@field_remappings = {}
|
|
1711
|
-
end
|
|
1712
|
-
end
|
|
1713
1866
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1714
1867
|
attr_reader :country
|
|
1715
1868
|
# Owner's email. Values are provided by PayPal directly
|
|
@@ -1722,29 +1875,11 @@ module Stripe
|
|
|
1722
1875
|
attr_reader :payer_name
|
|
1723
1876
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1724
1877
|
attr_reader :seller_protection
|
|
1725
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1726
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1727
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1728
|
-
attr_reader :shipping
|
|
1729
1878
|
# A unique ID generated by PayPal for this transaction.
|
|
1730
1879
|
attr_reader :transaction_id
|
|
1731
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1732
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1733
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1734
|
-
attr_reader :verified_address
|
|
1735
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
1736
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1737
|
-
attr_reader :verified_email
|
|
1738
|
-
# Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1739
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1740
|
-
attr_reader :verified_name
|
|
1741
1880
|
|
|
1742
1881
|
def self.inner_class_types
|
|
1743
|
-
@inner_class_types = {
|
|
1744
|
-
seller_protection: SellerProtection,
|
|
1745
|
-
shipping: Shipping,
|
|
1746
|
-
verified_address: VerifiedAddress,
|
|
1747
|
-
}
|
|
1882
|
+
@inner_class_types = { seller_protection: SellerProtection }
|
|
1748
1883
|
end
|
|
1749
1884
|
|
|
1750
1885
|
def self.field_remappings
|
|
@@ -1753,6 +1888,9 @@ module Stripe
|
|
|
1753
1888
|
end
|
|
1754
1889
|
|
|
1755
1890
|
class Paypay < ::Stripe::StripeObject
|
|
1891
|
+
# Uniquely identifies this particular PayPay account. You can use this attribute to check whether two PayPay accounts are the same.
|
|
1892
|
+
attr_reader :fingerprint
|
|
1893
|
+
|
|
1756
1894
|
def self.inner_class_types
|
|
1757
1895
|
@inner_class_types = {}
|
|
1758
1896
|
end
|
|
@@ -1811,36 +1949,11 @@ module Stripe
|
|
|
1811
1949
|
end
|
|
1812
1950
|
end
|
|
1813
1951
|
|
|
1814
|
-
class Qris < ::Stripe::StripeObject
|
|
1815
|
-
def self.inner_class_types
|
|
1816
|
-
@inner_class_types = {}
|
|
1817
|
-
end
|
|
1818
|
-
|
|
1819
|
-
def self.field_remappings
|
|
1820
|
-
@field_remappings = {}
|
|
1821
|
-
end
|
|
1822
|
-
end
|
|
1823
|
-
|
|
1824
|
-
class Rechnung < ::Stripe::StripeObject
|
|
1825
|
-
# Payment portal URL.
|
|
1826
|
-
attr_reader :payment_portal_url
|
|
1827
|
-
|
|
1828
|
-
def self.inner_class_types
|
|
1829
|
-
@inner_class_types = {}
|
|
1830
|
-
end
|
|
1831
|
-
|
|
1832
|
-
def self.field_remappings
|
|
1833
|
-
@field_remappings = {}
|
|
1834
|
-
end
|
|
1835
|
-
end
|
|
1836
|
-
|
|
1837
1952
|
class RevolutPay < ::Stripe::StripeObject
|
|
1838
1953
|
class Funding < ::Stripe::StripeObject
|
|
1839
1954
|
class Card < ::Stripe::StripeObject
|
|
1840
1955
|
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
1841
1956
|
attr_reader :brand
|
|
1842
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
1843
|
-
attr_reader :brand_product
|
|
1844
1957
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1845
1958
|
attr_reader :country
|
|
1846
1959
|
# Two-digit number representing the card's expiration month.
|
|
@@ -1983,16 +2096,6 @@ module Stripe
|
|
|
1983
2096
|
end
|
|
1984
2097
|
end
|
|
1985
2098
|
|
|
1986
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
1987
|
-
def self.inner_class_types
|
|
1988
|
-
@inner_class_types = {}
|
|
1989
|
-
end
|
|
1990
|
-
|
|
1991
|
-
def self.field_remappings
|
|
1992
|
-
@field_remappings = {}
|
|
1993
|
-
end
|
|
1994
|
-
end
|
|
1995
|
-
|
|
1996
2099
|
class Sofort < ::Stripe::StripeObject
|
|
1997
2100
|
# Bank code of bank associated with the bank account.
|
|
1998
2101
|
attr_reader :bank_code
|
|
@@ -2034,19 +2137,6 @@ module Stripe
|
|
|
2034
2137
|
end
|
|
2035
2138
|
end
|
|
2036
2139
|
|
|
2037
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
2038
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2039
|
-
attr_reader :account
|
|
2040
|
-
|
|
2041
|
-
def self.inner_class_types
|
|
2042
|
-
@inner_class_types = {}
|
|
2043
|
-
end
|
|
2044
|
-
|
|
2045
|
-
def self.field_remappings
|
|
2046
|
-
@field_remappings = {}
|
|
2047
|
-
end
|
|
2048
|
-
end
|
|
2049
|
-
|
|
2050
2140
|
class Sunbit < ::Stripe::StripeObject
|
|
2051
2141
|
# The Sunbit transaction ID associated with this payment.
|
|
2052
2142
|
attr_reader :transaction_id
|
|
@@ -2161,16 +2251,6 @@ module Stripe
|
|
|
2161
2251
|
end
|
|
2162
2252
|
end
|
|
2163
2253
|
|
|
2164
|
-
class Wero < ::Stripe::StripeObject
|
|
2165
|
-
def self.inner_class_types
|
|
2166
|
-
@inner_class_types = {}
|
|
2167
|
-
end
|
|
2168
|
-
|
|
2169
|
-
def self.field_remappings
|
|
2170
|
-
@field_remappings = {}
|
|
2171
|
-
end
|
|
2172
|
-
end
|
|
2173
|
-
|
|
2174
2254
|
class Zip < ::Stripe::StripeObject
|
|
2175
2255
|
def self.inner_class_types
|
|
2176
2256
|
@inner_class_types = {}
|
|
@@ -2226,12 +2306,8 @@ module Stripe
|
|
|
2226
2306
|
attr_reader :fpx
|
|
2227
2307
|
# Attribute for field giropay
|
|
2228
2308
|
attr_reader :giropay
|
|
2229
|
-
# Attribute for field gopay
|
|
2230
|
-
attr_reader :gopay
|
|
2231
2309
|
# Attribute for field grabpay
|
|
2232
2310
|
attr_reader :grabpay
|
|
2233
|
-
# Attribute for field id_bank_transfer
|
|
2234
|
-
attr_reader :id_bank_transfer
|
|
2235
2311
|
# Attribute for field ideal
|
|
2236
2312
|
attr_reader :ideal
|
|
2237
2313
|
# Attribute for field interac_present
|
|
@@ -2276,10 +2352,6 @@ module Stripe
|
|
|
2276
2352
|
attr_reader :pix
|
|
2277
2353
|
# Attribute for field promptpay
|
|
2278
2354
|
attr_reader :promptpay
|
|
2279
|
-
# Attribute for field qris
|
|
2280
|
-
attr_reader :qris
|
|
2281
|
-
# Attribute for field rechnung
|
|
2282
|
-
attr_reader :rechnung
|
|
2283
2355
|
# Attribute for field revolut_pay
|
|
2284
2356
|
attr_reader :revolut_pay
|
|
2285
2357
|
# Attribute for field samsung_pay
|
|
@@ -2294,14 +2366,10 @@ module Stripe
|
|
|
2294
2366
|
attr_reader :sepa_debit
|
|
2295
2367
|
# Attribute for field sequra
|
|
2296
2368
|
attr_reader :sequra
|
|
2297
|
-
# Attribute for field shopeepay
|
|
2298
|
-
attr_reader :shopeepay
|
|
2299
2369
|
# Attribute for field sofort
|
|
2300
2370
|
attr_reader :sofort
|
|
2301
2371
|
# Attribute for field stripe_account
|
|
2302
2372
|
attr_reader :stripe_account
|
|
2303
|
-
# Attribute for field stripe_balance
|
|
2304
|
-
attr_reader :stripe_balance
|
|
2305
2373
|
# Attribute for field sunbit
|
|
2306
2374
|
attr_reader :sunbit
|
|
2307
2375
|
# Attribute for field swish
|
|
@@ -2320,8 +2388,6 @@ module Stripe
|
|
|
2320
2388
|
attr_reader :wechat
|
|
2321
2389
|
# Attribute for field wechat_pay
|
|
2322
2390
|
attr_reader :wechat_pay
|
|
2323
|
-
# Attribute for field wero
|
|
2324
|
-
attr_reader :wero
|
|
2325
2391
|
# Attribute for field zip
|
|
2326
2392
|
attr_reader :zip
|
|
2327
2393
|
|
|
@@ -2350,9 +2416,7 @@ module Stripe
|
|
|
2350
2416
|
eps: Eps,
|
|
2351
2417
|
fpx: Fpx,
|
|
2352
2418
|
giropay: Giropay,
|
|
2353
|
-
gopay: Gopay,
|
|
2354
2419
|
grabpay: Grabpay,
|
|
2355
|
-
id_bank_transfer: IdBankTransfer,
|
|
2356
2420
|
ideal: Ideal,
|
|
2357
2421
|
interac_present: InteracPresent,
|
|
2358
2422
|
kakao_pay: KakaoPay,
|
|
@@ -2375,8 +2439,6 @@ module Stripe
|
|
|
2375
2439
|
payto: Payto,
|
|
2376
2440
|
pix: Pix,
|
|
2377
2441
|
promptpay: Promptpay,
|
|
2378
|
-
qris: Qris,
|
|
2379
|
-
rechnung: Rechnung,
|
|
2380
2442
|
revolut_pay: RevolutPay,
|
|
2381
2443
|
samsung_pay: SamsungPay,
|
|
2382
2444
|
satispay: Satispay,
|
|
@@ -2384,10 +2446,8 @@ module Stripe
|
|
|
2384
2446
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
2385
2447
|
sepa_debit: SepaDebit,
|
|
2386
2448
|
sequra: Sequra,
|
|
2387
|
-
shopeepay: Shopeepay,
|
|
2388
2449
|
sofort: Sofort,
|
|
2389
2450
|
stripe_account: StripeAccount,
|
|
2390
|
-
stripe_balance: StripeBalance,
|
|
2391
2451
|
sunbit: Sunbit,
|
|
2392
2452
|
swish: Swish,
|
|
2393
2453
|
twint: Twint,
|
|
@@ -2395,7 +2455,6 @@ module Stripe
|
|
|
2395
2455
|
us_bank_account: UsBankAccount,
|
|
2396
2456
|
wechat: Wechat,
|
|
2397
2457
|
wechat_pay: WechatPay,
|
|
2398
|
-
wero: Wero,
|
|
2399
2458
|
zip: Zip,
|
|
2400
2459
|
}
|
|
2401
2460
|
end
|
|
@@ -2433,19 +2492,6 @@ module Stripe
|
|
|
2433
2492
|
end
|
|
2434
2493
|
end
|
|
2435
2494
|
|
|
2436
|
-
class Redaction < ::Stripe::StripeObject
|
|
2437
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
2438
|
-
attr_reader :status
|
|
2439
|
-
|
|
2440
|
-
def self.inner_class_types
|
|
2441
|
-
@inner_class_types = {}
|
|
2442
|
-
end
|
|
2443
|
-
|
|
2444
|
-
def self.field_remappings
|
|
2445
|
-
@field_remappings = {}
|
|
2446
|
-
end
|
|
2447
|
-
end
|
|
2448
|
-
|
|
2449
2495
|
class Shipping < ::Stripe::StripeObject
|
|
2450
2496
|
class Address < ::Stripe::StripeObject
|
|
2451
2497
|
# City, district, suburb, town, or village.
|
|
@@ -2575,8 +2621,6 @@ module Stripe
|
|
|
2575
2621
|
attr_reader :receipt_number
|
|
2576
2622
|
# This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
|
|
2577
2623
|
attr_reader :receipt_url
|
|
2578
|
-
# Redaction status of this charge. If not null, this charge is associated to a redaction job.
|
|
2579
|
-
attr_reader :redaction
|
|
2580
2624
|
# Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
|
2581
2625
|
attr_reader :refunded
|
|
2582
2626
|
# A list of refunds that have been applied to the charge.
|
|
@@ -2661,7 +2705,6 @@ module Stripe
|
|
|
2661
2705
|
payment_method_details: PaymentMethodDetails,
|
|
2662
2706
|
presentment_details: PresentmentDetails,
|
|
2663
2707
|
radar_options: RadarOptions,
|
|
2664
|
-
redaction: Redaction,
|
|
2665
2708
|
shipping: Shipping,
|
|
2666
2709
|
transfer_data: TransferData,
|
|
2667
2710
|
}
|