stripe 19.4.0.pre.beta.1 → 19.4.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 +2 -63
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/error_object.rb +43 -19
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -236
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -60
- data/lib/stripe/params/account_create_params.rb +73 -398
- data/lib/stripe/params/account_person_create_params.rb +6 -0
- data/lib/stripe/params/account_person_update_params.rb +6 -0
- data/lib/stripe/params/account_reject_params.rb +4 -1
- data/lib/stripe/params/account_session_create_params.rb +21 -230
- data/lib/stripe/params/{quote_mark_draft_params.rb → account_unreject_params.rb} +1 -1
- data/lib/stripe/params/account_update_params.rb +81 -332
- data/lib/stripe/params/billing/alert_create_params.rb +1 -1
- 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 +24 -133
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_create_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +9 -38
- 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 +16 -844
- 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/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +4 -0
- data/lib/stripe/params/issuing/card_update_params.rb +4 -0
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +137 -3047
- data/lib/stripe/params/payment_intent_create_params.rb +152 -3062
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +105 -3049
- data/lib/stripe/params/payment_link_create_params.rb +0 -15
- data/lib/stripe/params/payment_link_update_params.rb +58 -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 -74
- data/lib/stripe/params/{account_notice_list_params.rb → payment_record_list_params.rb} +15 -5
- 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/promotion_code_create_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +31 -810
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +32 -818
- data/lib/stripe/params/setup_intent_confirm_params.rb +7 -108
- data/lib/stripe/params/setup_intent_create_params.rb +7 -108
- data/lib/stripe/params/setup_intent_update_params.rb +7 -108
- data/lib/stripe/params/subscription_create_params.rb +6 -170
- data/lib/stripe/params/subscription_item_create_params.rb +2 -62
- data/lib/stripe/params/subscription_item_update_params.rb +1 -45
- data/lib/stripe/params/subscription_resume_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +65 -171
- data/lib/stripe/params/subscription_schedule_list_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +66 -172
- data/lib/stripe/params/subscription_update_params.rb +6 -154
- data/lib/stripe/params/tax/calculation_create_params.rb +2 -6
- data/lib/stripe/params/tax/registration_create_params.rb +12 -90
- data/lib/stripe/params/tax_id_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -78
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +1 -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/token_create_params.rb +78 -0
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -4
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/core/account_create_params.rb +48 -403
- data/lib/stripe/params/v2/core/account_token_create_params.rb +44 -13
- data/lib/stripe/params/v2/core/account_update_params.rb +48 -396
- data/lib/stripe/params.rb +4 -426
- data/lib/stripe/resources/account.rb +87 -265
- data/lib/stripe/resources/account_session.rb +8 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/billing_portal/configuration.rb +1 -1
- data/lib/stripe/resources/capability.rb +2 -2
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +4 -230
- data/lib/stripe/resources/checkout/session.rb +20 -92
- data/lib/stripe/resources/confirmation_token.rb +1 -132
- data/lib/stripe/resources/coupon.rb +1 -26
- 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 +4 -24
- data/lib/stripe/resources/event.rb +1 -64
- 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 +25 -91
- data/lib/stripe/resources/invoice.rb +2 -118
- 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 +2 -16
- 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 +1 -19
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -12
- data/lib/stripe/resources/payment_attempt_record.rb +3 -179
- data/lib/stripe/resources/payment_intent.rb +23 -1574
- data/lib/stripe/resources/payment_method.rb +3 -154
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +10 -179
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +23 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +6 -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 +0 -35
- data/lib/stripe/resources/setup_intent.rb +3 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -167
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +49 -200
- data/lib/stripe/resources/tax/calculation.rb +1 -1
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +10 -106
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/tax_id.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- data/lib/stripe/resources/topup.rb +31 -1
- 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/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +100 -949
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources.rb +0 -425
- data/lib/stripe/services/account_person_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +14 -14
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/dispute_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/payment_method_service.rb +1 -1
- data/lib/stripe/services/payment_record_service.rb +11 -0
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -56
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +0 -209
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/telemetry_id.rb +65 -0
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +2 -54
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -3
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +46727 -112851
- metadata +7 -380
- 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_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_under_review_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_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_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_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_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -67
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_pause_params.rb +0 -50
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -53
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -88
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -144
- data/lib/stripe/resources/capital/financing_summary.rb +0 -84
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -927
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -106
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1183
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -736
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1801
- 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 -486
- 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 -234
- 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 -211
- 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 -232
- 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 -102
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/data_service.rb +0 -15
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -32
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/stripe_event_notification_handler.rb +0 -594
|
@@ -316,10 +316,8 @@ module Stripe
|
|
|
316
316
|
class AmazonPay < ::Stripe::StripeObject
|
|
317
317
|
class Funding < ::Stripe::StripeObject
|
|
318
318
|
class Card < ::Stripe::StripeObject
|
|
319
|
-
# Card brand. Can be `
|
|
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.
|
|
@@ -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.
|
|
@@ -885,8 +857,6 @@ module Stripe
|
|
|
885
857
|
end
|
|
886
858
|
# The authorized amount.
|
|
887
859
|
attr_reader :amount_authorized
|
|
888
|
-
# The latest amount intended to be authorized by this charge.
|
|
889
|
-
attr_reader :amount_requested
|
|
890
860
|
# Authorization code on the charge.
|
|
891
861
|
attr_reader :authorization_code
|
|
892
862
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
@@ -897,8 +867,6 @@ module Stripe
|
|
|
897
867
|
attr_reader :checks
|
|
898
868
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
899
869
|
attr_reader :country
|
|
900
|
-
# Attribute for field decremental_authorization
|
|
901
|
-
attr_reader :decremental_authorization
|
|
902
870
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
903
871
|
attr_reader :description
|
|
904
872
|
# Two-digit number representing the card's expiration month.
|
|
@@ -939,8 +907,6 @@ module Stripe
|
|
|
939
907
|
attr_reader :network_transaction_id
|
|
940
908
|
# Attribute for field overcapture
|
|
941
909
|
attr_reader :overcapture
|
|
942
|
-
# Attribute for field partial_authorization
|
|
943
|
-
attr_reader :partial_authorization
|
|
944
910
|
# Status of a card based on the card issuer.
|
|
945
911
|
attr_reader :regulated_status
|
|
946
912
|
# Populated if this transaction used 3D Secure authentication.
|
|
@@ -953,14 +919,12 @@ module Stripe
|
|
|
953
919
|
def self.inner_class_types
|
|
954
920
|
@inner_class_types = {
|
|
955
921
|
checks: Checks,
|
|
956
|
-
decremental_authorization: DecrementalAuthorization,
|
|
957
922
|
extended_authorization: ExtendedAuthorization,
|
|
958
923
|
incremental_authorization: IncrementalAuthorization,
|
|
959
924
|
installments: Installments,
|
|
960
925
|
multicapture: Multicapture,
|
|
961
926
|
network_token: NetworkToken,
|
|
962
927
|
overcapture: Overcapture,
|
|
963
|
-
partial_authorization: PartialAuthorization,
|
|
964
928
|
three_d_secure: ThreeDSecure,
|
|
965
929
|
wallet: Wallet,
|
|
966
930
|
}
|
|
@@ -1160,7 +1124,7 @@ module Stripe
|
|
|
1160
1124
|
class Fpx < ::Stripe::StripeObject
|
|
1161
1125
|
# Account holder type, if provided. Can be one of `individual` or `company`.
|
|
1162
1126
|
attr_reader :account_holder_type
|
|
1163
|
-
# The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
|
|
1127
|
+
# The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bnp_paribas`, `bank_rakyat`, `bsn`, `cimb`, `citibank`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `mbsb_bank`, `pb_enterprise`, or `bank_of_china`.
|
|
1164
1128
|
attr_reader :bank
|
|
1165
1129
|
# Unique transaction id generated by FPX for every request from the merchant
|
|
1166
1130
|
attr_reader :transaction_id
|
|
@@ -1195,16 +1159,6 @@ module Stripe
|
|
|
1195
1159
|
end
|
|
1196
1160
|
end
|
|
1197
1161
|
|
|
1198
|
-
class Gopay < ::Stripe::StripeObject
|
|
1199
|
-
def self.inner_class_types
|
|
1200
|
-
@inner_class_types = {}
|
|
1201
|
-
end
|
|
1202
|
-
|
|
1203
|
-
def self.field_remappings
|
|
1204
|
-
@field_remappings = {}
|
|
1205
|
-
end
|
|
1206
|
-
end
|
|
1207
|
-
|
|
1208
1162
|
class Grabpay < ::Stripe::StripeObject
|
|
1209
1163
|
# Unique transaction id generated by GrabPay
|
|
1210
1164
|
attr_reader :transaction_id
|
|
@@ -1218,27 +1172,6 @@ module Stripe
|
|
|
1218
1172
|
end
|
|
1219
1173
|
end
|
|
1220
1174
|
|
|
1221
|
-
class IdBankTransfer < ::Stripe::StripeObject
|
|
1222
|
-
# Account number of the bank account to transfer funds to.
|
|
1223
|
-
attr_reader :account_number
|
|
1224
|
-
# Bank where the account is located.
|
|
1225
|
-
attr_reader :bank
|
|
1226
|
-
# Local bank code of the bank.
|
|
1227
|
-
attr_reader :bank_code
|
|
1228
|
-
# Name of the bank associated with the bank account.
|
|
1229
|
-
attr_reader :bank_name
|
|
1230
|
-
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1231
|
-
attr_reader :display_name
|
|
1232
|
-
|
|
1233
|
-
def self.inner_class_types
|
|
1234
|
-
@inner_class_types = {}
|
|
1235
|
-
end
|
|
1236
|
-
|
|
1237
|
-
def self.field_remappings
|
|
1238
|
-
@field_remappings = {}
|
|
1239
|
-
end
|
|
1240
|
-
end
|
|
1241
|
-
|
|
1242
1175
|
class Ideal < ::Stripe::StripeObject
|
|
1243
1176
|
# The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1244
1177
|
attr_reader :bank
|
|
@@ -1653,52 +1586,6 @@ module Stripe
|
|
|
1653
1586
|
@field_remappings = {}
|
|
1654
1587
|
end
|
|
1655
1588
|
end
|
|
1656
|
-
|
|
1657
|
-
class Shipping < ::Stripe::StripeObject
|
|
1658
|
-
# City, district, suburb, town, or village.
|
|
1659
|
-
attr_reader :city
|
|
1660
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1661
|
-
attr_reader :country
|
|
1662
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1663
|
-
attr_reader :line1
|
|
1664
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1665
|
-
attr_reader :line2
|
|
1666
|
-
# ZIP or postal code.
|
|
1667
|
-
attr_reader :postal_code
|
|
1668
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1669
|
-
attr_reader :state
|
|
1670
|
-
|
|
1671
|
-
def self.inner_class_types
|
|
1672
|
-
@inner_class_types = {}
|
|
1673
|
-
end
|
|
1674
|
-
|
|
1675
|
-
def self.field_remappings
|
|
1676
|
-
@field_remappings = {}
|
|
1677
|
-
end
|
|
1678
|
-
end
|
|
1679
|
-
|
|
1680
|
-
class VerifiedAddress < ::Stripe::StripeObject
|
|
1681
|
-
# City, district, suburb, town, or village.
|
|
1682
|
-
attr_reader :city
|
|
1683
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1684
|
-
attr_reader :country
|
|
1685
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1686
|
-
attr_reader :line1
|
|
1687
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1688
|
-
attr_reader :line2
|
|
1689
|
-
# ZIP or postal code.
|
|
1690
|
-
attr_reader :postal_code
|
|
1691
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1692
|
-
attr_reader :state
|
|
1693
|
-
|
|
1694
|
-
def self.inner_class_types
|
|
1695
|
-
@inner_class_types = {}
|
|
1696
|
-
end
|
|
1697
|
-
|
|
1698
|
-
def self.field_remappings
|
|
1699
|
-
@field_remappings = {}
|
|
1700
|
-
end
|
|
1701
|
-
end
|
|
1702
1589
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1703
1590
|
attr_reader :country
|
|
1704
1591
|
# Owner's email. Values are provided by PayPal directly
|
|
@@ -1711,39 +1598,11 @@ module Stripe
|
|
|
1711
1598
|
attr_reader :payer_name
|
|
1712
1599
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1713
1600
|
attr_reader :seller_protection
|
|
1714
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1715
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1716
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1717
|
-
attr_reader :shipping
|
|
1718
1601
|
# A unique ID generated by PayPal for this transaction.
|
|
1719
1602
|
attr_reader :transaction_id
|
|
1720
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1721
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1722
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1723
|
-
attr_reader :verified_address
|
|
1724
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
1725
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1726
|
-
attr_reader :verified_email
|
|
1727
|
-
# Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1728
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1729
|
-
attr_reader :verified_name
|
|
1730
1603
|
|
|
1731
1604
|
def self.inner_class_types
|
|
1732
|
-
@inner_class_types = {
|
|
1733
|
-
seller_protection: SellerProtection,
|
|
1734
|
-
shipping: Shipping,
|
|
1735
|
-
verified_address: VerifiedAddress,
|
|
1736
|
-
}
|
|
1737
|
-
end
|
|
1738
|
-
|
|
1739
|
-
def self.field_remappings
|
|
1740
|
-
@field_remappings = {}
|
|
1741
|
-
end
|
|
1742
|
-
end
|
|
1743
|
-
|
|
1744
|
-
class Paypay < ::Stripe::StripeObject
|
|
1745
|
-
def self.inner_class_types
|
|
1746
|
-
@inner_class_types = {}
|
|
1605
|
+
@inner_class_types = { seller_protection: SellerProtection }
|
|
1747
1606
|
end
|
|
1748
1607
|
|
|
1749
1608
|
def self.field_remappings
|
|
@@ -1800,36 +1659,11 @@ module Stripe
|
|
|
1800
1659
|
end
|
|
1801
1660
|
end
|
|
1802
1661
|
|
|
1803
|
-
class Qris < ::Stripe::StripeObject
|
|
1804
|
-
def self.inner_class_types
|
|
1805
|
-
@inner_class_types = {}
|
|
1806
|
-
end
|
|
1807
|
-
|
|
1808
|
-
def self.field_remappings
|
|
1809
|
-
@field_remappings = {}
|
|
1810
|
-
end
|
|
1811
|
-
end
|
|
1812
|
-
|
|
1813
|
-
class Rechnung < ::Stripe::StripeObject
|
|
1814
|
-
# Payment portal URL.
|
|
1815
|
-
attr_reader :payment_portal_url
|
|
1816
|
-
|
|
1817
|
-
def self.inner_class_types
|
|
1818
|
-
@inner_class_types = {}
|
|
1819
|
-
end
|
|
1820
|
-
|
|
1821
|
-
def self.field_remappings
|
|
1822
|
-
@field_remappings = {}
|
|
1823
|
-
end
|
|
1824
|
-
end
|
|
1825
|
-
|
|
1826
1662
|
class RevolutPay < ::Stripe::StripeObject
|
|
1827
1663
|
class Funding < ::Stripe::StripeObject
|
|
1828
1664
|
class Card < ::Stripe::StripeObject
|
|
1829
|
-
# Card brand. Can be `
|
|
1665
|
+
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
1830
1666
|
attr_reader :brand
|
|
1831
|
-
# 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.)
|
|
1832
|
-
attr_reader :brand_product
|
|
1833
1667
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1834
1668
|
attr_reader :country
|
|
1835
1669
|
# Two-digit number representing the card's expiration month.
|
|
@@ -1959,16 +1793,6 @@ module Stripe
|
|
|
1959
1793
|
end
|
|
1960
1794
|
end
|
|
1961
1795
|
|
|
1962
|
-
class Shopeepay < ::Stripe::StripeObject
|
|
1963
|
-
def self.inner_class_types
|
|
1964
|
-
@inner_class_types = {}
|
|
1965
|
-
end
|
|
1966
|
-
|
|
1967
|
-
def self.field_remappings
|
|
1968
|
-
@field_remappings = {}
|
|
1969
|
-
end
|
|
1970
|
-
end
|
|
1971
|
-
|
|
1972
1796
|
class Sofort < ::Stripe::StripeObject
|
|
1973
1797
|
# Bank code of bank associated with the bank account.
|
|
1974
1798
|
attr_reader :bank_code
|
|
@@ -2010,19 +1834,6 @@ module Stripe
|
|
|
2010
1834
|
end
|
|
2011
1835
|
end
|
|
2012
1836
|
|
|
2013
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
2014
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
2015
|
-
attr_reader :account
|
|
2016
|
-
|
|
2017
|
-
def self.inner_class_types
|
|
2018
|
-
@inner_class_types = {}
|
|
2019
|
-
end
|
|
2020
|
-
|
|
2021
|
-
def self.field_remappings
|
|
2022
|
-
@field_remappings = {}
|
|
2023
|
-
end
|
|
2024
|
-
end
|
|
2025
|
-
|
|
2026
1837
|
class Sunbit < ::Stripe::StripeObject
|
|
2027
1838
|
# The Sunbit transaction ID associated with this payment.
|
|
2028
1839
|
attr_reader :transaction_id
|
|
@@ -2192,12 +2003,8 @@ module Stripe
|
|
|
2192
2003
|
attr_reader :fpx
|
|
2193
2004
|
# Attribute for field giropay
|
|
2194
2005
|
attr_reader :giropay
|
|
2195
|
-
# Attribute for field gopay
|
|
2196
|
-
attr_reader :gopay
|
|
2197
2006
|
# Attribute for field grabpay
|
|
2198
2007
|
attr_reader :grabpay
|
|
2199
|
-
# Attribute for field id_bank_transfer
|
|
2200
|
-
attr_reader :id_bank_transfer
|
|
2201
2008
|
# Attribute for field ideal
|
|
2202
2009
|
attr_reader :ideal
|
|
2203
2010
|
# Attribute for field interac_present
|
|
@@ -2234,18 +2041,12 @@ module Stripe
|
|
|
2234
2041
|
attr_reader :paynow
|
|
2235
2042
|
# Attribute for field paypal
|
|
2236
2043
|
attr_reader :paypal
|
|
2237
|
-
# Attribute for field paypay
|
|
2238
|
-
attr_reader :paypay
|
|
2239
2044
|
# Attribute for field payto
|
|
2240
2045
|
attr_reader :payto
|
|
2241
2046
|
# Attribute for field pix
|
|
2242
2047
|
attr_reader :pix
|
|
2243
2048
|
# Attribute for field promptpay
|
|
2244
2049
|
attr_reader :promptpay
|
|
2245
|
-
# Attribute for field qris
|
|
2246
|
-
attr_reader :qris
|
|
2247
|
-
# Attribute for field rechnung
|
|
2248
|
-
attr_reader :rechnung
|
|
2249
2050
|
# Attribute for field revolut_pay
|
|
2250
2051
|
attr_reader :revolut_pay
|
|
2251
2052
|
# Attribute for field samsung_pay
|
|
@@ -2258,14 +2059,10 @@ module Stripe
|
|
|
2258
2059
|
attr_reader :sepa_credit_transfer
|
|
2259
2060
|
# Attribute for field sepa_debit
|
|
2260
2061
|
attr_reader :sepa_debit
|
|
2261
|
-
# Attribute for field shopeepay
|
|
2262
|
-
attr_reader :shopeepay
|
|
2263
2062
|
# Attribute for field sofort
|
|
2264
2063
|
attr_reader :sofort
|
|
2265
2064
|
# Attribute for field stripe_account
|
|
2266
2065
|
attr_reader :stripe_account
|
|
2267
|
-
# Attribute for field stripe_balance
|
|
2268
|
-
attr_reader :stripe_balance
|
|
2269
2066
|
# Attribute for field sunbit
|
|
2270
2067
|
attr_reader :sunbit
|
|
2271
2068
|
# Attribute for field swish
|
|
@@ -2312,9 +2109,7 @@ module Stripe
|
|
|
2312
2109
|
eps: Eps,
|
|
2313
2110
|
fpx: Fpx,
|
|
2314
2111
|
giropay: Giropay,
|
|
2315
|
-
gopay: Gopay,
|
|
2316
2112
|
grabpay: Grabpay,
|
|
2317
|
-
id_bank_transfer: IdBankTransfer,
|
|
2318
2113
|
ideal: Ideal,
|
|
2319
2114
|
interac_present: InteracPresent,
|
|
2320
2115
|
kakao_pay: KakaoPay,
|
|
@@ -2333,22 +2128,17 @@ module Stripe
|
|
|
2333
2128
|
payco: Payco,
|
|
2334
2129
|
paynow: Paynow,
|
|
2335
2130
|
paypal: Paypal,
|
|
2336
|
-
paypay: Paypay,
|
|
2337
2131
|
payto: Payto,
|
|
2338
2132
|
pix: Pix,
|
|
2339
2133
|
promptpay: Promptpay,
|
|
2340
|
-
qris: Qris,
|
|
2341
|
-
rechnung: Rechnung,
|
|
2342
2134
|
revolut_pay: RevolutPay,
|
|
2343
2135
|
samsung_pay: SamsungPay,
|
|
2344
2136
|
satispay: Satispay,
|
|
2345
2137
|
scalapay: Scalapay,
|
|
2346
2138
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
2347
2139
|
sepa_debit: SepaDebit,
|
|
2348
|
-
shopeepay: Shopeepay,
|
|
2349
2140
|
sofort: Sofort,
|
|
2350
2141
|
stripe_account: StripeAccount,
|
|
2351
|
-
stripe_balance: StripeBalance,
|
|
2352
2142
|
sunbit: Sunbit,
|
|
2353
2143
|
swish: Swish,
|
|
2354
2144
|
twint: Twint,
|
|
@@ -2393,19 +2183,6 @@ module Stripe
|
|
|
2393
2183
|
end
|
|
2394
2184
|
end
|
|
2395
2185
|
|
|
2396
|
-
class Redaction < ::Stripe::StripeObject
|
|
2397
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
2398
|
-
attr_reader :status
|
|
2399
|
-
|
|
2400
|
-
def self.inner_class_types
|
|
2401
|
-
@inner_class_types = {}
|
|
2402
|
-
end
|
|
2403
|
-
|
|
2404
|
-
def self.field_remappings
|
|
2405
|
-
@field_remappings = {}
|
|
2406
|
-
end
|
|
2407
|
-
end
|
|
2408
|
-
|
|
2409
2186
|
class Shipping < ::Stripe::StripeObject
|
|
2410
2187
|
class Address < ::Stripe::StripeObject
|
|
2411
2188
|
# City, district, suburb, town, or village.
|
|
@@ -2535,8 +2312,6 @@ module Stripe
|
|
|
2535
2312
|
attr_reader :receipt_number
|
|
2536
2313
|
# 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.
|
|
2537
2314
|
attr_reader :receipt_url
|
|
2538
|
-
# Redaction status of this charge. If not null, this charge is associated to a redaction job.
|
|
2539
|
-
attr_reader :redaction
|
|
2540
2315
|
# Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
|
2541
2316
|
attr_reader :refunded
|
|
2542
2317
|
# A list of refunds that have been applied to the charge.
|
|
@@ -2631,7 +2406,6 @@ module Stripe
|
|
|
2631
2406
|
payment_method_details: PaymentMethodDetails,
|
|
2632
2407
|
presentment_details: PresentmentDetails,
|
|
2633
2408
|
radar_options: RadarOptions,
|
|
2634
|
-
redaction: Redaction,
|
|
2635
2409
|
shipping: Shipping,
|
|
2636
2410
|
transfer_data: TransferData,
|
|
2637
2411
|
}
|
|
@@ -201,36 +201,15 @@ module Stripe
|
|
|
201
201
|
@field_remappings = {}
|
|
202
202
|
end
|
|
203
203
|
end
|
|
204
|
-
|
|
205
|
-
class TaxId < ::Stripe::StripeObject
|
|
206
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
|
207
|
-
attr_reader :type
|
|
208
|
-
# The value of the tax ID.
|
|
209
|
-
attr_reader :value
|
|
210
|
-
|
|
211
|
-
def self.inner_class_types
|
|
212
|
-
@inner_class_types = {}
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
def self.field_remappings
|
|
216
|
-
@field_remappings = {}
|
|
217
|
-
end
|
|
218
|
-
end
|
|
219
204
|
# Customer’s business name for this Checkout Session
|
|
220
205
|
attr_reader :business_name
|
|
221
|
-
# Customer’s email for this Checkout Session
|
|
222
|
-
attr_reader :email
|
|
223
206
|
# Customer’s individual name for this Checkout Session
|
|
224
207
|
attr_reader :individual_name
|
|
225
|
-
# Customer’s phone number for this Checkout Session
|
|
226
|
-
attr_reader :phone
|
|
227
208
|
# Shipping information for this Checkout Session.
|
|
228
209
|
attr_reader :shipping_details
|
|
229
|
-
# Customer’s tax ids for this Checkout Session.
|
|
230
|
-
attr_reader :tax_ids
|
|
231
210
|
|
|
232
211
|
def self.inner_class_types
|
|
233
|
-
@inner_class_types = { shipping_details: ShippingDetails
|
|
212
|
+
@inner_class_types = { shipping_details: ShippingDetails }
|
|
234
213
|
end
|
|
235
214
|
|
|
236
215
|
def self.field_remappings
|
|
@@ -518,7 +497,7 @@ module Stripe
|
|
|
518
497
|
end
|
|
519
498
|
|
|
520
499
|
class TaxId < ::Stripe::StripeObject
|
|
521
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
|
500
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `pl_nip`, `it_cf`, `fo_vat`, `gi_tin`, `py_ruc`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, `ic_nif`, or `unknown`
|
|
522
501
|
attr_reader :type
|
|
523
502
|
# The value of the tax ID.
|
|
524
503
|
attr_reader :value
|
|
@@ -1048,8 +1027,6 @@ module Stripe
|
|
|
1048
1027
|
# Attribute for field installments
|
|
1049
1028
|
attr_reader :installments
|
|
1050
1029
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1051
|
-
attr_reader :request_decremental_authorization
|
|
1052
|
-
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1053
1030
|
attr_reader :request_extended_authorization
|
|
1054
1031
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
|
1055
1032
|
attr_reader :request_incremental_authorization
|
|
@@ -1461,6 +1438,14 @@ module Stripe
|
|
|
1461
1438
|
class Payco < ::Stripe::StripeObject
|
|
1462
1439
|
# Controls when the funds will be captured from the customer's account.
|
|
1463
1440
|
attr_reader :capture_method
|
|
1441
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1442
|
+
#
|
|
1443
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1444
|
+
#
|
|
1445
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1446
|
+
#
|
|
1447
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
1448
|
+
attr_reader :setup_future_usage
|
|
1464
1449
|
|
|
1465
1450
|
def self.inner_class_types
|
|
1466
1451
|
@inner_class_types = {}
|
|
@@ -1505,8 +1490,6 @@ module Stripe
|
|
|
1505
1490
|
#
|
|
1506
1491
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
1507
1492
|
attr_reader :setup_future_usage
|
|
1508
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1509
|
-
attr_reader :subsellers
|
|
1510
1493
|
|
|
1511
1494
|
def self.inner_class_types
|
|
1512
1495
|
@inner_class_types = {}
|
|
@@ -1637,6 +1620,14 @@ module Stripe
|
|
|
1637
1620
|
class SamsungPay < ::Stripe::StripeObject
|
|
1638
1621
|
# Controls when the funds will be captured from the customer's account.
|
|
1639
1622
|
attr_reader :capture_method
|
|
1623
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1624
|
+
#
|
|
1625
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1626
|
+
#
|
|
1627
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1628
|
+
#
|
|
1629
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
1630
|
+
attr_reader :setup_future_usage
|
|
1640
1631
|
|
|
1641
1632
|
def self.inner_class_types
|
|
1642
1633
|
@inner_class_types = {}
|
|
@@ -1824,21 +1815,6 @@ module Stripe
|
|
|
1824
1815
|
class Filters < ::Stripe::StripeObject
|
|
1825
1816
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1826
1817
|
attr_reader :account_subcategories
|
|
1827
|
-
# The institution to use to filter for possible accounts to link.
|
|
1828
|
-
attr_reader :institution
|
|
1829
|
-
|
|
1830
|
-
def self.inner_class_types
|
|
1831
|
-
@inner_class_types = {}
|
|
1832
|
-
end
|
|
1833
|
-
|
|
1834
|
-
def self.field_remappings
|
|
1835
|
-
@field_remappings = {}
|
|
1836
|
-
end
|
|
1837
|
-
end
|
|
1838
|
-
|
|
1839
|
-
class ManualEntry < ::Stripe::StripeObject
|
|
1840
|
-
# Settings for configuring manual entry of account details.
|
|
1841
|
-
attr_reader :mode
|
|
1842
1818
|
|
|
1843
1819
|
def self.inner_class_types
|
|
1844
1820
|
@inner_class_types = {}
|
|
@@ -1850,8 +1826,6 @@ module Stripe
|
|
|
1850
1826
|
end
|
|
1851
1827
|
# Attribute for field filters
|
|
1852
1828
|
attr_reader :filters
|
|
1853
|
-
# Attribute for field manual_entry
|
|
1854
|
-
attr_reader :manual_entry
|
|
1855
1829
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
1856
1830
|
attr_reader :permissions
|
|
1857
1831
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -1860,7 +1834,7 @@ module Stripe
|
|
|
1860
1834
|
attr_reader :return_url
|
|
1861
1835
|
|
|
1862
1836
|
def self.inner_class_types
|
|
1863
|
-
@inner_class_types = { filters: Filters
|
|
1837
|
+
@inner_class_types = { filters: Filters }
|
|
1864
1838
|
end
|
|
1865
1839
|
|
|
1866
1840
|
def self.field_remappings
|
|
@@ -2063,36 +2037,6 @@ module Stripe
|
|
|
2063
2037
|
end
|
|
2064
2038
|
|
|
2065
2039
|
class Permissions < ::Stripe::StripeObject
|
|
2066
|
-
class Update < ::Stripe::StripeObject
|
|
2067
|
-
# Determines which entity is allowed to update the line items.
|
|
2068
|
-
#
|
|
2069
|
-
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2070
|
-
#
|
|
2071
|
-
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2072
|
-
attr_reader :line_items
|
|
2073
|
-
# Determines which entity is allowed to update the shipping details.
|
|
2074
|
-
#
|
|
2075
|
-
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
2076
|
-
#
|
|
2077
|
-
# When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
2078
|
-
attr_reader :shipping_details
|
|
2079
|
-
|
|
2080
|
-
def self.inner_class_types
|
|
2081
|
-
@inner_class_types = {}
|
|
2082
|
-
end
|
|
2083
|
-
|
|
2084
|
-
def self.field_remappings
|
|
2085
|
-
@field_remappings = {}
|
|
2086
|
-
end
|
|
2087
|
-
end
|
|
2088
|
-
# Permissions for updating the Checkout Session.
|
|
2089
|
-
attr_reader :update
|
|
2090
|
-
# Determines which entity is allowed to update the line items.
|
|
2091
|
-
#
|
|
2092
|
-
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2093
|
-
#
|
|
2094
|
-
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2095
|
-
attr_reader :update_line_items
|
|
2096
2040
|
# Determines which entity is allowed to update the shipping details.
|
|
2097
2041
|
#
|
|
2098
2042
|
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
@@ -2101,7 +2045,7 @@ module Stripe
|
|
|
2101
2045
|
attr_reader :update_shipping_details
|
|
2102
2046
|
|
|
2103
2047
|
def self.inner_class_types
|
|
2104
|
-
@inner_class_types = {
|
|
2048
|
+
@inner_class_types = {}
|
|
2105
2049
|
end
|
|
2106
2050
|
|
|
2107
2051
|
def self.field_remappings
|
|
@@ -2137,19 +2081,6 @@ module Stripe
|
|
|
2137
2081
|
end
|
|
2138
2082
|
end
|
|
2139
2083
|
|
|
2140
|
-
class Redaction < ::Stripe::StripeObject
|
|
2141
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
2142
|
-
attr_reader :status
|
|
2143
|
-
|
|
2144
|
-
def self.inner_class_types
|
|
2145
|
-
@inner_class_types = {}
|
|
2146
|
-
end
|
|
2147
|
-
|
|
2148
|
-
def self.field_remappings
|
|
2149
|
-
@field_remappings = {}
|
|
2150
|
-
end
|
|
2151
|
-
end
|
|
2152
|
-
|
|
2153
2084
|
class SavedPaymentMethodOptions < ::Stripe::StripeObject
|
|
2154
2085
|
# Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout.
|
|
2155
2086
|
attr_reader :allow_redisplay_filters
|
|
@@ -2466,8 +2397,6 @@ module Stripe
|
|
|
2466
2397
|
attr_reader :presentment_details
|
|
2467
2398
|
# The ID of the original expired Checkout Session that triggered the recovery flow.
|
|
2468
2399
|
attr_reader :recovered_from
|
|
2469
|
-
# The redaction status of the Checkout Session. If the Session is not redacted, this field is null.
|
|
2470
|
-
attr_reader :redaction
|
|
2471
2400
|
# This parameter applies to `ui_mode: embedded_page`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
|
|
2472
2401
|
attr_reader :redirect_on_completion
|
|
2473
2402
|
# Applies to Checkout Sessions with `ui_mode: embedded_page` or `ui_mode: elements`. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site.
|
|
@@ -2604,7 +2533,6 @@ module Stripe
|
|
|
2604
2533
|
permissions: Permissions,
|
|
2605
2534
|
phone_number_collection: PhoneNumberCollection,
|
|
2606
2535
|
presentment_details: PresentmentDetails,
|
|
2607
|
-
redaction: Redaction,
|
|
2608
2536
|
saved_payment_method_options: SavedPaymentMethodOptions,
|
|
2609
2537
|
shipping_address_collection: ShippingAddressCollection,
|
|
2610
2538
|
shipping_cost: ShippingCost,
|