stripe 21.2.0.pre.alpha.1 → 21.2.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +5 -44
- data/lib/stripe/error_object.rb +0 -5
- data/lib/stripe/errors.rb +0 -15
- data/lib/stripe/event_types.rb +9 -697
- data/lib/stripe/events/{v2_billing_contract_canceled_event.rb → v1_customer_discount_created_event.rb} +10 -8
- data/lib/stripe/events/{v2_billing_contract_collection_current_event.rb → v1_customer_discount_deleted_event.rb} +10 -8
- data/lib/stripe/events/{v2_billing_contract_activated_event.rb → v1_customer_discount_updated_event.rb} +10 -8
- data/lib/stripe/object_types.rb +0 -120
- data/lib/stripe/params/account_create_params.rb +2 -101
- data/lib/stripe/params/account_link_create_params.rb +1 -4
- data/lib/stripe/params/account_person_create_params.rb +0 -60
- data/lib/stripe/params/account_person_update_params.rb +0 -60
- data/lib/stripe/params/account_session_create_params.rb +0 -258
- data/lib/stripe/params/account_update_params.rb +3 -109
- data/lib/stripe/params/balance_settings_update_params.rb +1 -9
- data/lib/stripe/params/billing/alert_create_params.rb +1 -264
- data/lib/stripe/params/billing/alert_list_params.rb +0 -4
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +1 -5
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -25
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -60
- data/lib/stripe/params/billing/meter_create_params.rb +0 -4
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -20
- data/lib/stripe/params/charge_capture_params.rb +0 -97
- data/lib/stripe/params/charge_update_params.rb +0 -97
- data/lib/stripe/params/checkout/session_create_params.rb +4 -1135
- data/lib/stripe/params/checkout/session_update_params.rb +1 -8
- data/lib/stripe/params/confirmation_token_create_params.rb +5 -71
- data/lib/stripe/params/coupon_create_params.rb +0 -30
- data/lib/stripe/params/customer_create_params.rb +0 -55
- data/lib/stripe/params/customer_session_create_params.rb +0 -4
- data/lib/stripe/params/customer_update_params.rb +0 -55
- data/lib/stripe/params/dispute_update_params.rb +0 -4
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_create_params.rb +0 -39
- data/lib/stripe/params/identity/verification_session_update_params.rb +1 -30
- data/lib/stripe/params/invoice_create_params.rb +2 -65
- data/lib/stripe/params/invoice_create_preview_params.rb +10 -538
- data/lib/stripe/params/invoice_item_create_params.rb +0 -13
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_update_params.rb +2 -52
- data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -37
- data/lib/stripe/params/issuing/authorization_create_params.rb +0 -63
- data/lib/stripe/params/issuing/card_create_params.rb +0 -26
- data/lib/stripe/params/issuing/card_list_params.rb +1 -34
- data/lib/stripe/params/issuing/card_update_params.rb +0 -17
- data/lib/stripe/params/issuing/dispute_update_params.rb +1 -22
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +1 -45
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +0 -8
- data/lib/stripe/params/order_create_params.rb +1 -35
- data/lib/stripe/params/order_update_params.rb +1 -35
- data/lib/stripe/params/payment_intent_capture_params.rb +3 -233
- data/lib/stripe/params/payment_intent_confirm_params.rb +27 -995
- data/lib/stripe/params/payment_intent_create_params.rb +27 -1011
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +3 -136
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +3 -136
- data/lib/stripe/params/payment_intent_update_params.rb +26 -991
- data/lib/stripe/params/payment_link_create_params.rb +1 -23
- data/lib/stripe/params/payment_link_update_params.rb +1 -4
- data/lib/stripe/params/payment_method_configuration_create_params.rb +6 -132
- data/lib/stripe/params/payment_method_configuration_update_params.rb +6 -132
- data/lib/stripe/params/payment_method_create_params.rb +5 -71
- data/lib/stripe/params/payment_method_update_params.rb +0 -16
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +1 -13
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +1 -123
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +1 -104
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +4 -147
- data/lib/stripe/params/payment_record_report_payment_params.rb +4 -147
- data/lib/stripe/params/payment_record_report_refund_params.rb +0 -24
- data/lib/stripe/params/payout_create_params.rb +0 -20
- data/lib/stripe/params/price_create_params.rb +0 -4
- data/lib/stripe/params/price_update_params.rb +0 -4
- data/lib/stripe/params/product_create_params.rb +0 -31
- data/lib/stripe/params/product_update_params.rb +0 -31
- data/lib/stripe/params/quote_create_params.rb +6 -414
- data/lib/stripe/params/quote_update_params.rb +6 -414
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +4 -104
- data/lib/stripe/params/refund_create_params.rb +0 -56
- data/lib/stripe/params/refund_list_params.rb +0 -8
- data/lib/stripe/params/setup_intent_confirm_params.rb +6 -159
- data/lib/stripe/params/setup_intent_create_params.rb +6 -159
- data/lib/stripe/params/setup_intent_update_params.rb +7 -144
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +1 -24
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +1 -43
- data/lib/stripe/params/subscription_create_params.rb +7 -202
- data/lib/stripe/params/subscription_item_create_params.rb +1 -53
- data/lib/stripe/params/subscription_item_update_params.rb +1 -53
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_resume_params.rb +1 -4
- data/lib/stripe/params/subscription_schedule_amend_params.rb +6 -233
- data/lib/stripe/params/subscription_schedule_create_params.rb +3 -187
- data/lib/stripe/params/subscription_schedule_update_params.rb +3 -187
- data/lib/stripe/params/subscription_update_params.rb +8 -210
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -42
- data/lib/stripe/params/tax/form_list_params.rb +0 -4
- data/lib/stripe/params/tax/registration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +0 -4
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +0 -16
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +0 -4
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +5 -71
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -37
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +0 -63
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +1 -45
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +0 -8
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +1 -24
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +0 -16
- data/lib/stripe/params/token_create_params.rb +0 -134
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +0 -28
- data/lib/stripe/params/v2/core/account_create_params.rb +168 -6065
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -60
- data/lib/stripe/params/v2/core/account_list_params.rb +1 -11
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -242
- data/lib/stripe/params/v2/core/account_update_params.rb +168 -6054
- data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +1 -8
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +1 -4
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +2 -39
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -4
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +1 -48
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +1 -26
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +1 -4
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +1 -33
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +3 -50
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +2 -8
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -85
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +1 -12
- data/lib/stripe/params/v2/money_management/payout_intent_create_params.rb +2 -26
- data/lib/stripe/params/v2/money_management/payout_intent_update_params.rb +2 -26
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +1 -7
- data/lib/stripe/params/v2/signals/account_activity_create_params.rb +1 -151
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +0 -65
- data/lib/stripe/params.rb +0 -774
- data/lib/stripe/resources/account.rb +2 -76
- data/lib/stripe/resources/account_session.rb +0 -306
- data/lib/stripe/resources/application_fee.rb +1 -24
- data/lib/stripe/resources/balance.rb +0 -168
- data/lib/stripe/resources/balance_settings.rb +0 -2
- data/lib/stripe/resources/bank_account.rb +2 -30
- data/lib/stripe/resources/billing/alert.rb +1 -309
- data/lib/stripe/resources/billing/alert_triggered.rb +1 -44
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_summary.rb +3 -198
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -177
- data/lib/stripe/resources/billing/credit_grant.rb +2 -100
- data/lib/stripe/resources/billing/meter.rb +0 -2
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
- data/lib/stripe/resources/capability.rb +3 -66
- data/lib/stripe/resources/capital/financing_offer.rb +1 -26
- data/lib/stripe/resources/capital/financing_summary.rb +0 -10
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +32 -355
- data/lib/stripe/resources/checkout/session.rb +8 -1348
- data/lib/stripe/resources/confirmation_token.rb +7 -272
- data/lib/stripe/resources/coupon.rb +0 -34
- data/lib/stripe/resources/customer.rb +0 -45
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -6
- data/lib/stripe/resources/customer_session.rb +0 -2
- data/lib/stripe/resources/discount.rb +1 -20
- data/lib/stripe/resources/dispute.rb +0 -2
- data/lib/stripe/resources/financial_connections/account.rb +0 -44
- data/lib/stripe/resources/financial_connections/session.rb +0 -16
- data/lib/stripe/resources/financial_connections/transaction.rb +1 -86
- data/lib/stripe/resources/identity/verification_report.rb +0 -212
- data/lib/stripe/resources/invoice.rb +1 -180
- data/lib/stripe/resources/invoice_item.rb +2 -138
- data/lib/stripe/resources/invoice_line_item.rb +1 -155
- data/lib/stripe/resources/invoice_rendering_template.rb +1 -117
- data/lib/stripe/resources/issuing/authorization.rb +2 -918
- data/lib/stripe/resources/issuing/card.rb +0 -48
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -22
- data/lib/stripe/resources/issuing/dispute.rb +1 -334
- data/lib/stripe/resources/issuing/token.rb +0 -12
- data/lib/stripe/resources/issuing/transaction.rb +1 -230
- data/lib/stripe/resources/mandate.rb +0 -34
- data/lib/stripe/resources/order.rb +0 -2
- data/lib/stripe/resources/payment_attempt_record.rb +16 -544
- data/lib/stripe/resources/payment_intent.rb +25 -1260
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +2 -96
- data/lib/stripe/resources/payment_link.rb +0 -24
- data/lib/stripe/resources/payment_method.rb +7 -296
- data/lib/stripe/resources/payment_method_configuration.rb +5 -209
- data/lib/stripe/resources/payment_record.rb +16 -420
- data/lib/stripe/resources/payout.rb +1 -28
- data/lib/stripe/resources/person.rb +2 -92
- data/lib/stripe/resources/price.rb +0 -2
- data/lib/stripe/resources/product.rb +0 -60
- data/lib/stripe/resources/quote.rb +1 -238
- data/lib/stripe/resources/quote_line.rb +4 -210
- data/lib/stripe/resources/quote_preview_invoice.rb +1 -177
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +4 -241
- data/lib/stripe/resources/radar/payment_evaluation.rb +3 -142
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/reserve/plan.rb +0 -2
- data/lib/stripe/resources/setup_attempt.rb +0 -35
- data/lib/stripe/resources/setup_intent.rb +1 -130
- data/lib/stripe/resources/shared_payment/granted_token.rb +1 -49
- data/lib/stripe/resources/shared_payment/issued_token.rb +1 -39
- data/lib/stripe/resources/subscription.rb +2 -159
- data/lib/stripe/resources/subscription_schedule.rb +4 -241
- data/lib/stripe/resources/tax/calculation.rb +0 -2
- data/lib/stripe/resources/tax/calculation_line_item.rb +1 -43
- data/lib/stripe/resources/tax/form.rb +3 -556
- data/lib/stripe/resources/tax/registration.rb +0 -16
- data/lib/stripe/resources/tax/transaction.rb +0 -2
- data/lib/stripe/resources/terminal/reader.rb +0 -173
- data/lib/stripe/resources/transfer.rb +0 -4
- data/lib/stripe/resources/treasury/inbound_transfer.rb +1 -15
- data/lib/stripe/resources/v2/core/account.rb +2327 -33898
- data/lib/stripe/resources/v2/core/account_link.rb +0 -68
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -79
- data/lib/stripe/resources/v2/core/event.rb +1 -64
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +1 -18
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -2
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -271
- data/lib/stripe/resources/v2/money_management/financial_address.rb +2 -155
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +1 -39
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -149
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -4
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -5
- data/lib/stripe/resources/v2/money_management/payout_intent.rb +1 -24
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -78
- data/lib/stripe/resources/v2/money_management/received_credit.rb +2 -317
- data/lib/stripe/resources/v2/money_management/received_debit.rb +2 -229
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -54
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -54
- data/lib/stripe/resources/v2/signals/account_activity.rb +0 -172
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +0 -48
- data/lib/stripe/resources/v2/signals/account_signal.rb +0 -236
- data/lib/stripe/resources.rb +9 -1058
- data/lib/stripe/services/account_service.rb +1 -31
- data/lib/stripe/services/billing/alert_service.rb +0 -9
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -4
- data/lib/stripe/services/checkout/session_service.rb +0 -11
- data/lib/stripe/services/coupon_service.rb +0 -30
- data/lib/stripe/services/credit_note_service.rb +0 -14
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -30
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -15
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -15
- data/lib/stripe/services/customer_payment_source_service.rb +0 -60
- data/lib/stripe/services/customer_service.rb +1 -46
- data/lib/stripe/services/customer_session_service.rb +0 -14
- data/lib/stripe/services/customer_tax_id_service.rb +0 -30
- data/lib/stripe/services/dispute_service.rb +0 -15
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/invoice_item_service.rb +0 -44
- data/lib/stripe/services/invoice_line_item_service.rb +0 -15
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -52
- data/lib/stripe/services/invoice_service.rb +0 -178
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -11
- data/lib/stripe/services/issuing_service.rb +1 -2
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -88
- data/lib/stripe/services/payment_intent_service.rb +0 -29
- data/lib/stripe/services/payment_method_service.rb +0 -26
- data/lib/stripe/services/payment_record_service.rb +0 -26
- data/lib/stripe/services/price_service.rb +0 -29
- data/lib/stripe/services/product_feature_service.rb +0 -30
- data/lib/stripe/services/product_service.rb +0 -44
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -14
- data/lib/stripe/services/radar_service.rb +1 -5
- data/lib/stripe/services/refund_service.rb +0 -29
- data/lib/stripe/services/subscription_item_service.rb +0 -44
- data/lib/stripe/services/subscription_schedule_service.rb +0 -59
- data/lib/stripe/services/subscription_service.rb +0 -55
- data/lib/stripe/services/tax/form_service.rb +0 -13
- data/lib/stripe/services/tax/registration_service.rb +0 -29
- data/lib/stripe/services/tax/settings_service.rb +0 -14
- data/lib/stripe/services/tax/transaction_service.rb +0 -14
- data/lib/stripe/services/tax_id_service.rb +0 -14
- data/lib/stripe/services/tax_rate_service.rb +0 -29
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/terminal/reader_service.rb +0 -44
- data/lib/stripe/services/test_helpers/issuing_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 -15
- data/lib/stripe/services/v2/core/account_service.rb +0 -26
- data/lib/stripe/services/v2/core/vault_service.rb +1 -2
- data/lib/stripe/services/v2/core_service.rb +1 -7
- data/lib/stripe/services/v2/data_service.rb +1 -3
- data/lib/stripe/services/v2/extend_service.rb +1 -2
- data/lib/stripe/services/v2/iam_service.rb +1 -2
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -10
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +0 -11
- data/lib/stripe/services/v2/money_management/{test_helper_service.rb → test_helpers_service.rb} +1 -12
- data/lib/stripe/services/v2/money_management_service.rb +2 -17
- data/lib/stripe/services/v2/signals_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +1 -6
- data/lib/stripe/services.rb +2 -299
- data/lib/stripe/stripe_client.rb +4 -29
- data/lib/stripe/stripe_event_notification_handler.rb +12 -743
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -1
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +52644 -174037
- metadata +5 -732
- data/lib/stripe/events/v1_account_signals_including_delinquency_created_event.rb +0 -68
- data/lib/stripe/events/v2_billing_contract_collection_blocked_event.rb +0 -44
- data/lib/stripe/events/v2_billing_contract_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_contract_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_contract_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_contract_ended_event.rb +0 -44
- data/lib/stripe/events/v2_billing_contract_term_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_contract_term_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_billing_contract_term_pricing_override_ended_event.rb +0 -61
- data/lib/stripe/events/v2_billing_contract_term_pricing_override_started_event.rb +0 -61
- data/lib/stripe/events/v2_billing_contract_term_recurring_price_ended_event.rb +0 -61
- data/lib/stripe/events/v2_billing_contract_term_recurring_price_started_event.rb +0 -61
- data/lib/stripe/events/v2_billing_contract_term_scheduled_fee_service_period_ended_event.rb +0 -61
- data/lib/stripe/events/v2_billing_contract_term_scheduled_fee_service_period_started_event.rb +0 -61
- data/lib/stripe/events/v2_billing_contract_term_updated_event.rb +0 -61
- data/lib/stripe/events/v2_billing_contract_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_custom_pricing_unit_overage_rate_created_event.rb +0 -67
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_signals_fraudulent_website_ready_event.rb +0 -48
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -117
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -119
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -115
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -117
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -100
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -102
- data/lib/stripe/events/v2_core_health_custom_payment_method_adapter_degraded_firing_event.rb +0 -84
- data/lib/stripe/events/v2_core_health_custom_payment_method_adapter_degraded_resolved_event.rb +0 -86
- data/lib/stripe/events/v2_core_health_elements_error_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_elements_error_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_firing_event.rb +0 -77
- data/lib/stripe/events/v2_core_health_invoice_count_dropped_resolved_event.rb +0 -79
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -68
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -68
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_firing_event.rb +0 -60
- data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_metronome_notification_latency_firing_event.rb +0 -60
- data/lib/stripe/events/v2_core_health_metronome_notification_latency_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -113
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -115
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +0 -72
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +0 -74
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -68
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -60
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_vault_network_token_activated_event.rb +0 -44
- data/lib/stripe/events/v2_core_vault_network_token_authorization_requirements_changed_event.rb +0 -48
- data/lib/stripe/events/v2_core_vault_network_token_deactivated_event.rb +0 -46
- data/lib/stripe/events/v2_core_vault_network_token_details_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_vault_network_token_suspended_event.rb +0 -44
- data/lib/stripe/events/v2_extend_extension_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_object_definition_created_event.rb +0 -61
- data/lib/stripe/events/v2_extend_object_definition_version_created_event.rb +0 -65
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +0 -38
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -38
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -38
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -38
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -40
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -38
- data/lib/stripe/events/v2_iam_stripe_access_grant_approved_event.rb +0 -38
- data/lib/stripe/events/v2_iam_stripe_access_grant_canceled_event.rb +0 -38
- data/lib/stripe/events/v2_iam_stripe_access_grant_denied_event.rb +0 -38
- data/lib/stripe/events/v2_iam_stripe_access_grant_removed_event.rb +0 -38
- data/lib/stripe/events/v2_iam_stripe_access_grant_requested_event.rb +0 -38
- data/lib/stripe/events/v2_iam_stripe_access_grant_updated_event.rb +0 -38
- data/lib/stripe/events/v2_money_management_debit_dispute_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_debit_dispute_submitted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_debit_dispute_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_earned_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_statement_created_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_financial_account_statement_restated_event.rb +0 -71
- data/lib/stripe/events/v2_money_management_financial_account_wallet_export_completed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_wallet_export_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_wallet_export_ready_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_funding_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_funding_intent_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_funding_intent_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_funding_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_funding_intent_requires_confirmation_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_funding_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_funding_intent_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_funding_intent_validating_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_funding_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_funding_check_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_funding_check_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_funding_check_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_funding_check_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_funding_check_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_funding_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_funding_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_mandate_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_mandate_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_mandate_expired_event.rb +0 -46
- data/lib/stripe/events/v2_money_management_inbound_transfer_mandate_refused_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_mandate_revoked_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_mandate_canceled_event.rb +0 -46
- data/lib/stripe/events/v2_money_management_received_debit_mandate_created_event.rb +0 -46
- data/lib/stripe/events/v2_money_management_received_debit_mandate_expired_event.rb +0 -46
- data/lib/stripe/events/v2_money_management_received_debit_mandate_pending_cancellation_event.rb +0 -46
- data/lib/stripe/events/v2_money_management_received_debit_mandate_updated_event.rb +0 -46
- data/lib/stripe/events/v2_money_management_received_debit_scheduled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_reward_program_reward_earned_event.rb +0 -113
- data/lib/stripe/events/v2_money_management_reward_program_reward_reversed_event.rb +0 -118
- data/lib/stripe/events/v2_money_management_spending_mandate_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_spending_mandate_created_event.rb +0 -46
- data/lib/stripe/events/v2_money_management_spending_mandate_expired_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_spending_mandate_pending_cancellation_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_spending_mandate_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -65
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -65
- data/lib/stripe/events/v2_payments_off_session_payment_paused_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_resumed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -63
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +0 -65
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +0 -38
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_customer_risk_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_merchant_delinquency_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_payment_delinquency_exposure_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_payment_retry_evaluation_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_signals_payment_retry_evaluation_completed_event.rb +0 -44
- data/lib/stripe/events/v2_signals_payment_retry_evaluation_created_event.rb +0 -44
- data/lib/stripe/events/v2_signals_payment_retry_evaluation_expired_event.rb +0 -44
- data/lib/stripe/events/v2_signals_payment_retry_evaluation_updated_event.rb +0 -44
- data/lib/stripe/events/v2_signals_payment_retry_evaluations_retry_recommended_event.rb +0 -46
- data/lib/stripe/params/account_signals_retrieve_params.rb +0 -13
- data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
- data/lib/stripe/params/billing/alert_notification_list_params.rb +0 -70
- data/lib/stripe/params/checkout/session_approve_params.rb +0 -79
- data/lib/stripe/params/crypto/customer_consumer_wallet_list_params.rb +0 -24
- data/lib/stripe/params/crypto/customer_payment_token_list_params.rb +0 -24
- data/lib/stripe/params/crypto/customer_retrieve_params.rb +0 -15
- data/lib/stripe/params/crypto/deposit_address_create_params.rb +0 -24
- data/lib/stripe/params/crypto/deposit_address_list_params.rb +0 -45
- data/lib/stripe/params/crypto/deposit_address_retrieve_params.rb +0 -15
- data/lib/stripe/params/crypto/onramp_session_checkout_params.rb +0 -56
- data/lib/stripe/params/crypto/onramp_session_create_params.rb +0 -122
- data/lib/stripe/params/crypto/onramp_session_list_params.rb +0 -62
- data/lib/stripe/params/crypto/onramp_session_quote_params.rb +0 -15
- data/lib/stripe/params/crypto/onramp_session_retrieve_params.rb +0 -15
- data/lib/stripe/params/crypto/onramp_transaction_limits_retrieve_params.rb +0 -33
- data/lib/stripe/params/customer_tax_exemption_create_params.rb +0 -96
- data/lib/stripe/params/customer_tax_exemption_delete_params.rb +0 -6
- data/lib/stripe/params/customer_tax_exemption_list_params.rb +0 -25
- data/lib/stripe/params/customer_tax_exemption_retrieve_params.rb +0 -13
- data/lib/stripe/params/delegated_checkout/order_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -176
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -230
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_list_orders_params.rb +0 -24
- data/lib/stripe/params/delegated_checkout/requested_session_order_list_params.rb +0 -24
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -216
- data/lib/stripe/params/financial_connections/consent_create_params.rb +0 -38
- data/lib/stripe/params/financial_connections/consent_retrieve_params.rb +0 -15
- data/lib/stripe/params/gift_card_activate_params.rb +0 -30
- data/lib/stripe/params/gift_card_cashout_params.rb +0 -16
- data/lib/stripe/params/gift_card_check_balance_params.rb +0 -16
- data/lib/stripe/params/gift_card_create_params.rb +0 -28
- data/lib/stripe/params/gift_card_operation_retrieve_params.rb +0 -13
- data/lib/stripe/params/gift_card_reload_params.rb +0 -22
- data/lib/stripe/params/gift_card_retrieve_params.rb +0 -13
- data/lib/stripe/params/gift_card_void_operation_params.rb +0 -19
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
- data/lib/stripe/params/invoice_rendering_template_create_params.rb +0 -97
- data/lib/stripe/params/invoice_rendering_template_update_params.rb +0 -97
- data/lib/stripe/params/issuing/credit_underwriting_record_report_offer_acceptance_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_close_params.rb +0 -18
- data/lib/stripe/params/issuing/dispute_provisional_credit_params.rb +0 -21
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +0 -26
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +0 -26
- data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +0 -26
- data/lib/stripe/params/issuing/program_create_params.rb +0 -21
- data/lib/stripe/params/issuing/program_list_params.rb +0 -24
- data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_update_params.rb +0 -21
- data/lib/stripe/params/orchestration/payment_attempt_retrieve_params.rb +0 -15
- data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +0 -76
- data/lib/stripe/params/payment_attempt_record_report_authorized_params.rb +0 -122
- data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +0 -31
- data/lib/stripe/params/payment_attempt_record_report_early_fraud_warning_params.rb +0 -22
- data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +0 -141
- data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +0 -126
- data/lib/stripe/params/payment_attempt_record_report_informational_params.rb +0 -93
- data/lib/stripe/params/payment_attempt_record_report_refund_params.rb +0 -103
- data/lib/stripe/params/payment_intent_reauthorize_params.rb +0 -19
- data/lib/stripe/params/payment_intent_simulate_crypto_deposit_params.rb +0 -31
- data/lib/stripe/params/payment_intent_update_crypto_refund_address_params.rb +0 -19
- data/lib/stripe/params/payment_location_capability_list_params.rb +0 -16
- data/lib/stripe/params/payment_location_capability_retrieve_params.rb +0 -16
- data/lib/stripe/params/payment_location_capability_update_params.rb +0 -19
- data/lib/stripe/params/payment_location_create_params.rb +0 -54
- data/lib/stripe/params/payment_location_delete_params.rb +0 -6
- data/lib/stripe/params/payment_location_list_params.rb +0 -22
- data/lib/stripe/params/payment_location_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_location_update_params.rb +0 -63
- data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
- data/lib/stripe/params/payment_record_report_dispute_params.rb +0 -109
- data/lib/stripe/params/payment_record_search_params.rb +0 -22
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -115
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -72
- data/lib/stripe/params/radar/customer_evaluation_create_params.rb +0 -86
- data/lib/stripe/params/radar/customer_evaluation_retrieve_params.rb +0 -15
- data/lib/stripe/params/radar/customer_evaluation_update_params.rb +0 -21
- data/lib/stripe/params/radar/issuing_authorization_evaluation_create_params.rb +0 -197
- data/lib/stripe/params/risk/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/risk/form_update_params.rb +0 -190
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/tax/certificate_create_params.rb +0 -21
- data/lib/stripe/params/tax/certificate_delete_params.rb +0 -8
- data/lib/stripe/params/tax/certificate_list_params.rb +0 -33
- data/lib/stripe/params/tax/certificate_retrieve_params.rb +0 -15
- data/lib/stripe/params/tax/form_create_params.rb +0 -504
- data/lib/stripe/params/tax_fund_list_params.rb +0 -42
- data/lib/stripe/params/tax_fund_retrieve_params.rb +0 -13
- data/lib/stripe/params/terminal/reader_activate_gift_card_params.rb +0 -44
- data/lib/stripe/params/terminal/reader_cashout_gift_card_params.rb +0 -24
- data/lib/stripe/params/terminal/reader_check_gift_card_balance_params.rb +0 -24
- data/lib/stripe/params/terminal/reader_reload_gift_card_params.rb +0 -37
- data/lib/stripe/params/test_helpers/issuing/dispute_close_params.rb +0 -20
- data/lib/stripe/params/test_helpers/issuing/dispute_provisional_credit_params.rb +0 -23
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +0 -28
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +0 -28
- data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +0 -28
- data/lib/stripe/params/test_helpers/payment_intent_simulate_crypto_deposit_params.rb +0 -33
- data/lib/stripe/params/v2/billing/contract_activate_params.rb +0 -17
- data/lib/stripe/params/v2/billing/contract_cancel_params.rb +0 -48
- data/lib/stripe/params/v2/billing/contract_create_params.rb +0 -485
- data/lib/stripe/params/v2/billing/contract_delete_params.rb +0 -10
- data/lib/stripe/params/v2/billing/contract_list_params.rb +0 -23
- data/lib/stripe/params/v2/billing/contract_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/contract_update_params.rb +0 -711
- data/lib/stripe/params/v2/billing/contracts/term_list_contract_terms_params.rb +0 -22
- data/lib/stripe/params/v2/billing/contracts/term_retrieve_contract_term_params.rb +0 -12
- data/lib/stripe/params/v2/billing/contracts/terms/quantity_change_list_contract_term_quantity_changes_params.rb +0 -21
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
- data/lib/stripe/params/v2/billing/group_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/group_create_params.rb +0 -493
- data/lib/stripe/params/v2/billing/group_list_params.rb +0 -26
- data/lib/stripe/params/v2/billing/group_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/group_update_params.rb +0 -333
- data/lib/stripe/params/v2/billing/groups/invoice_create_params.rb +0 -12
- data/lib/stripe/params/v2/billing/groups/spend_modifier_rule_list_params.rb +0 -22
- data/lib/stripe/params/v2/billing/groups/spend_modifier_rule_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -1141
- data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -121
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -102
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
- data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +0 -48
- data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +0 -48
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -54
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_remove_discounts_params.rb +0 -17
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/rate_card_modify_rates_params.rb +0 -177
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +0 -33
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +0 -22
- data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -109
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -315
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
- data/lib/stripe/params/v2/core/account_evaluation_create_params.rb +0 -76
- data/lib/stripe/params/v2/core/account_reject_params.rb +0 -23
- data/lib/stripe/params/v2/core/account_session_create_params.rb +0 -627
- data/lib/stripe/params/v2/core/account_unreject_params.rb +0 -17
- data/lib/stripe/params/v2/core/connection_session_create_params.rb +0 -23
- data/lib/stripe/params/v2/core/connection_session_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/fee_batch_list_params.rb +0 -43
- data/lib/stripe/params/v2/core/fee_batch_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/fee_entry_list_params.rb +0 -51
- data/lib/stripe/params/v2/core/fee_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/health/alert_list_params.rb +0 -53
- data/lib/stripe/params/v2/core/health/alert_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/health/alerts/history_list_params.rb +0 -21
- data/lib/stripe/params/v2/core/vault/network_token_create_from_credential_params.rb +0 -33
- data/lib/stripe/params/v2/core/vault/network_token_create_params.rb +0 -59
- data/lib/stripe/params/v2/core/vault/network_token_generate_cryptogram_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/network_token_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/data/analytics/metric_query_create_params.rb +0 -68
- data/lib/stripe/params/v2/data/operation_search_params.rb +0 -27
- data/lib/stripe/params/v2/extend/object_definition_list_params.rb +0 -17
- data/lib/stripe/params/v2/extend/object_definition_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/object_definitions/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/extend/object_definitions/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/iam/api_key_create_params.rb +0 -68
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +0 -20
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +0 -46
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +0 -26
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -49
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/debit_dispute_create_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/debit_dispute_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/debit_dispute_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/earned_credit_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/earned_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb +0 -25
- data/lib/stripe/params/v2/money_management/financial_accounts/statement_retrieve_params.rb +0 -19
- data/lib/stripe/params/v2/money_management/financial_accounts/wallet_export_export_credentials_params.rb +0 -30
- data/lib/stripe/params/v2/money_management/financial_accounts/wallet_export_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/money_management/funding_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/funding_intent_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/funding_intent_create_params.rb +0 -79
- data/lib/stripe/params/v2/money_management/funding_intent_list_params.rb +0 -37
- data/lib/stripe/params/v2/money_management/funding_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/funding_intent_update_params.rb +0 -59
- data/lib/stripe/params/v2/money_management/funding_session_create_params.rb +0 -51
- data/lib/stripe/params/v2/money_management/inbound_funding_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_funding_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/inbound_transfer_mandate_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/inbound_transfer_mandate_create_params.rb +0 -85
- data/lib/stripe/params/v2/money_management/inbound_transfer_mandate_list_params.rb +0 -26
- data/lib/stripe/params/v2/money_management/inbound_transfer_mandate_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_mandate_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_mandate_list_params.rb +0 -26
- data/lib/stripe/params/v2/money_management/received_debit_mandate_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/reward_program_activate_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/reward_program_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/reward_program_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/reward_program_enrollment_activate_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/reward_program_enrollment_create_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/reward_program_enrollment_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/reward_program_enrollment_list_params.rb +0 -24
- data/lib/stripe/params/v2/money_management/reward_program_enrollment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/reward_program_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/reward_program_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/reward_program_update_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/reward_programs/rule_activate_params.rb +0 -12
- data/lib/stripe/params/v2/money_management/reward_programs/rule_create_params.rb +0 -88
- data/lib/stripe/params/v2/money_management/reward_programs/rule_deactivate_params.rb +0 -12
- data/lib/stripe/params/v2/money_management/reward_programs/rule_list_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/reward_programs/rule_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/money_management/reward_programs/rule_update_params.rb +0 -87
- data/lib/stripe/params/v2/money_management/spending_mandate_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/spending_mandate_list_params.rb +0 -26
- data/lib/stripe/params/v2/money_management/spending_mandate_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/test_helper_earned_credits_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_debit_params.rb +0 -25
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -354
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_pause_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_resume_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +0 -35
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_list_params.rb +0 -47
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +0 -20
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +0 -12
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +0 -28
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_list_params.rb +0 -22
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/provisioning/catalog/provider_list_params.rb +0 -26
- data/lib/stripe/params/v2/provisioning/catalog/service_list_params.rb +0 -29
- data/lib/stripe/params/v2/provisioning/eligibility_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/provisioning/payment_method_request_create_params.rb +0 -62
- data/lib/stripe/params/v2/provisioning/payment_profile_retrieve_params.rb +0 -18
- data/lib/stripe/params/v2/provisioning/payment_profile_update_limit_params.rb +0 -46
- data/lib/stripe/params/v2/provisioning/project_create_params.rb +0 -23
- data/lib/stripe/params/v2/provisioning/provider_connection_list_params.rb +0 -17
- data/lib/stripe/params/v2/provisioning/provider_connection_request_create_params.rb +0 -41
- data/lib/stripe/params/v2/provisioning/provider_connection_request_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/provisioning/provider_connection_request_submit_information_params.rb +0 -21
- data/lib/stripe/params/v2/provisioning/provider_connection_unlink_params.rb +0 -10
- data/lib/stripe/params/v2/provisioning/resource_create_params.rb +0 -48
- data/lib/stripe/params/v2/provisioning/resource_link_params.rb +0 -40
- data/lib/stripe/params/v2/provisioning/resource_remove_params.rb +0 -10
- data/lib/stripe/params/v2/provisioning/resource_retrieve_params.rb +0 -19
- data/lib/stripe/params/v2/provisioning/resource_reveal_access_configuration_params.rb +0 -10
- data/lib/stripe/params/v2/provisioning/resource_rotate_credentials_params.rb +0 -10
- data/lib/stripe/params/v2/provisioning/resource_submit_information_params.rb +0 -17
- data/lib/stripe/params/v2/provisioning/resource_unlink_params.rb +0 -10
- data/lib/stripe/params/v2/provisioning/resource_update_params.rb +0 -24
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/risk/form_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/risk/form_update_params.rb +0 -115
- data/lib/stripe/params/v2/signals/payment_retry_evaluation_cancel_params.rb +0 -17
- data/lib/stripe/params/v2/signals/payment_retry_evaluation_create_params.rb +0 -20
- data/lib/stripe/params/v2/signals/payment_retry_evaluation_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/payment_retry_evaluation_update_params.rb +0 -20
- data/lib/stripe/params/v2/signals/payment_retry_signal_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/integration_configuration_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/integration_configuration_update_params.rb +0 -49
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +0 -124
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +0 -17
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +0 -124
- data/lib/stripe/params/v2/tax/operation_resolve_address_params.rb +0 -37
- data/lib/stripe/resources/account_signals.rb +0 -104
- data/lib/stripe/resources/balance_transfer.rb +0 -139
- data/lib/stripe/resources/billing/alert_notification.rb +0 -57
- data/lib/stripe/resources/billing/alert_recovered.rb +0 -60
- data/lib/stripe/resources/crypto/customer.rb +0 -73
- data/lib/stripe/resources/crypto/customer_consumer_wallet.rb +0 -35
- data/lib/stripe/resources/crypto/customer_payment_token.rb +0 -84
- data/lib/stripe/resources/crypto/deposit_address.rb +0 -82
- data/lib/stripe/resources/crypto/onramp_session.rb +0 -224
- data/lib/stripe/resources/crypto/onramp_transaction_limits.rb +0 -33
- data/lib/stripe/resources/customer_tax_exemption.rb +0 -116
- data/lib/stripe/resources/delegated_checkout/order.rb +0 -142
- data/lib/stripe/resources/delegated_checkout/order_event.rb +0 -118
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -895
- data/lib/stripe/resources/financial_connections/consent.rb +0 -69
- data/lib/stripe/resources/gift_card.rb +0 -146
- data/lib/stripe/resources/gift_card_operation.rb +0 -280
- data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
- data/lib/stripe/resources/issuing/program.rb +0 -69
- data/lib/stripe/resources/orchestration/payment_attempt.rb +0 -31
- data/lib/stripe/resources/payment_location.rb +0 -165
- data/lib/stripe/resources/payment_location_capability.rb +0 -94
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- data/lib/stripe/resources/profile.rb +0 -80
- data/lib/stripe/resources/radar/account_evaluation.rb +0 -180
- data/lib/stripe/resources/radar/customer_evaluation.rb +0 -155
- data/lib/stripe/resources/radar/issuing_authorization_evaluation.rb +0 -245
- data/lib/stripe/resources/radar/rule.rb +0 -30
- data/lib/stripe/resources/risk/form.rb +0 -276
- data/lib/stripe/resources/risk_signals.rb +0 -24
- data/lib/stripe/resources/tax/certificate.rb +0 -81
- data/lib/stripe/resources/tax/form_correction.rb +0 -43
- data/lib/stripe/resources/tax_fund.rb +0 -179
- data/lib/stripe/resources/transit_balance.rb +0 -45
- data/lib/stripe/resources/v2/billing/contract.rb +0 -631
- data/lib/stripe/resources/v2/billing/contract_term.rb +0 -316
- data/lib/stripe/resources/v2/billing/contract_term_quantity_change.rb +0 -44
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/group.rb +0 -662
- data/lib/stripe/resources/v2/billing/group_invoice.rb +0 -35
- data/lib/stripe/resources/v2/billing/group_spend_modifier.rb +0 -85
- data/lib/stripe/resources/v2/billing/intent.rb +0 -673
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -711
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -140
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -101
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/one_time_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -97
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -719
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -41
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -71
- data/lib/stripe/resources/v2/billing/rate_card_custom_pricing_unit_overage_rate.rb +0 -48
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -131
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -97
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -37
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -306
- data/lib/stripe/resources/v2/core/account_evaluation.rb +0 -108
- data/lib/stripe/resources/v2/core/account_session.rb +0 -1283
- data/lib/stripe/resources/v2/core/connection_session.rb +0 -58
- data/lib/stripe/resources/v2/core/fee_batch.rb +0 -217
- data/lib/stripe/resources/v2/core/fee_entry.rb +0 -169
- data/lib/stripe/resources/v2/core/health/alert.rb +0 -614
- data/lib/stripe/resources/v2/core/health/alert_history_entry.rb +0 -584
- data/lib/stripe/resources/v2/core/vault/network_token.rb +0 -63
- data/lib/stripe/resources/v2/data/analytics/metric_query_result.rb +0 -106
- data/lib/stripe/resources/v2/data/search_result_list.rb +0 -382
- data/lib/stripe/resources/v2/extend/object_definition.rb +0 -40
- data/lib/stripe/resources/v2/extend/object_definition_version.rb +0 -168
- data/lib/stripe/resources/v2/iam/api_key.rb +0 -133
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -66
- data/lib/stripe/resources/v2/money_management/debit_dispute.rb +0 -113
- data/lib/stripe/resources/v2/money_management/earned_credit.rb +0 -113
- data/lib/stripe/resources/v2/money_management/earned_credit_simulation.rb +0 -31
- data/lib/stripe/resources/v2/money_management/financial_account_statement.rb +0 -110
- data/lib/stripe/resources/v2/money_management/financial_account_wallet_export.rb +0 -53
- data/lib/stripe/resources/v2/money_management/financial_account_wallet_export_credentials.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_address_debit_simulation.rb +0 -31
- data/lib/stripe/resources/v2/money_management/funding_intent.rb +0 -335
- data/lib/stripe/resources/v2/money_management/funding_session.rb +0 -69
- data/lib/stripe/resources/v2/money_management/inbound_funding.rb +0 -184
- data/lib/stripe/resources/v2/money_management/inbound_transfer_mandate.rb +0 -159
- data/lib/stripe/resources/v2/money_management/received_debit_mandate.rb +0 -121
- data/lib/stripe/resources/v2/money_management/reward_program.rb +0 -40
- data/lib/stripe/resources/v2/money_management/reward_program_enrollment.rb +0 -57
- data/lib/stripe/resources/v2/money_management/reward_program_rule.rb +0 -128
- data/lib/stripe/resources/v2/money_management/spending_mandate.rb +0 -121
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -364
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +0 -77
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +0 -65
- data/lib/stripe/resources/v2/provisioning/eligibility.rb +0 -34
- data/lib/stripe/resources/v2/provisioning/payment_method_request.rb +0 -33
- data/lib/stripe/resources/v2/provisioning/payment_profile.rb +0 -111
- data/lib/stripe/resources/v2/provisioning/project.rb +0 -56
- data/lib/stripe/resources/v2/provisioning/provider.rb +0 -56
- data/lib/stripe/resources/v2/provisioning/provider_connection.rb +0 -82
- data/lib/stripe/resources/v2/provisioning/provider_connection_request.rb +0 -65
- data/lib/stripe/resources/v2/provisioning/provider_service_detail.rb +0 -221
- data/lib/stripe/resources/v2/provisioning/resource.rb +0 -85
- data/lib/stripe/resources/v2/provisioning/resource_access_configuration.rb +0 -37
- data/lib/stripe/resources/v2/reporting/report.rb +0 -117
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -160
- data/lib/stripe/resources/v2/risk/form.rb +0 -175
- data/lib/stripe/resources/v2/signals/payment_retry_evaluation.rb +0 -47
- data/lib/stripe/resources/v2/signals/payment_retry_signal.rb +0 -56
- data/lib/stripe/resources/v2/tax/integration_configuration.rb +0 -78
- data/lib/stripe/resources/v2/tax/manual_rule.rb +0 -145
- data/lib/stripe/resources/v2/tax/operations_resolve_address_result.rb +0 -82
- data/lib/stripe/services/account_signals_service.rb +0 -17
- data/lib/stripe/services/balance_transfer_service.rb +0 -17
- data/lib/stripe/services/billing/alert_notification_service.rb +0 -19
- data/lib/stripe/services/crypto/customer_consumer_wallet_service.rb +0 -19
- data/lib/stripe/services/crypto/customer_payment_token_service.rb +0 -19
- data/lib/stripe/services/crypto/customer_service.rb +0 -27
- data/lib/stripe/services/crypto/deposit_address_service.rb +0 -43
- data/lib/stripe/services/crypto/onramp_session_service.rb +0 -69
- data/lib/stripe/services/crypto/onramp_transaction_limits_service.rb +0 -19
- data/lib/stripe/services/crypto_service.rb +0 -16
- data/lib/stripe/services/customer_tax_exemption_service.rb +0 -50
- data/lib/stripe/services/delegated_checkout/order_service.rb +0 -19
- data/lib/stripe/services/delegated_checkout/requested_session_order_service.rb +0 -19
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -70
- data/lib/stripe/services/delegated_checkout_service.rb +0 -14
- data/lib/stripe/services/financial_connections/consent_service.rb +0 -30
- data/lib/stripe/services/gift_card_operation_service.rb +0 -17
- data/lib/stripe/services/gift_card_service.rb +0 -77
- data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
- data/lib/stripe/services/issuing/program_service.rb +0 -52
- data/lib/stripe/services/orchestration/payment_attempt_service.rb +0 -19
- data/lib/stripe/services/orchestration_service.rb +0 -13
- data/lib/stripe/services/payment_location_capability_service.rb +0 -39
- data/lib/stripe/services/payment_location_service.rb +0 -61
- data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
- data/lib/stripe/services/radar/customer_evaluation_service.rb +0 -41
- data/lib/stripe/services/radar/issuing_authorization_evaluation_service.rb +0 -19
- data/lib/stripe/services/risk/form_service.rb +0 -47
- data/lib/stripe/services/risk_service.rb +0 -13
- data/lib/stripe/services/tax/certificate_service.rb +0 -52
- data/lib/stripe/services/tax_fund_service.rb +0 -22
- data/lib/stripe/services/test_helpers/issuing/dispute_service.rb +0 -65
- data/lib/stripe/services/test_helpers/payment_intent_service.rb +0 -19
- data/lib/stripe/services/v2/billing/contract_service.rb +0 -114
- data/lib/stripe/services/v2/billing/contracts/term_service.rb +0 -42
- data/lib/stripe/services/v2/billing/contracts/terms/quantity_change_service.rb +0 -25
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
- data/lib/stripe/services/v2/billing/group_service.rb +0 -82
- data/lib/stripe/services/v2/billing/groups/invoice_service.rb +0 -23
- data/lib/stripe/services/v2/billing/groups/spend_modifier_rule_service.rb +0 -34
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -98
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -69
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/one_time_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -54
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -79
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
- data/lib/stripe/services/v2/billing/rate_cards/custom_pricing_unit_overage_rate_service.rb +0 -56
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -61
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -47
- data/lib/stripe/services/v2/core/account_evaluation_service.rb +0 -21
- data/lib/stripe/services/v2/core/account_session_service.rb +0 -23
- data/lib/stripe/services/v2/core/connection_session_service.rb +0 -32
- data/lib/stripe/services/v2/core/fee_batch_service.rb +0 -32
- data/lib/stripe/services/v2/core/fee_entry_service.rb +0 -32
- data/lib/stripe/services/v2/core/health/alert_service.rb +0 -41
- data/lib/stripe/services/v2/core/health/alerts/history_service.rb +0 -25
- data/lib/stripe/services/v2/core/health_service.rb +0 -17
- data/lib/stripe/services/v2/core/vault/network_token_service.rb +0 -69
- data/lib/stripe/services/v2/data/analytics/metric_query_service.rb +0 -23
- data/lib/stripe/services/v2/data/analytics_service.rb +0 -17
- data/lib/stripe/services/v2/data/operation_service.rb +0 -22
- data/lib/stripe/services/v2/extend/object_definition_service.rb +0 -39
- data/lib/stripe/services/v2/extend/object_definitions/version_service.rb +0 -34
- data/lib/stripe/services/v2/iam/api_key_service.rb +0 -76
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +0 -43
- data/lib/stripe/services/v2/money_management/earned_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_accounts/statement_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/financial_accounts/wallet_export_service.rb +0 -36
- data/lib/stripe/services/v2/money_management/funding_intent_service.rb +0 -86
- data/lib/stripe/services/v2/money_management/funding_session_service.rb +0 -21
- data/lib/stripe/services/v2/money_management/inbound_funding_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/inbound_transfer_mandate_service.rb +0 -59
- data/lib/stripe/services/v2/money_management/received_debit_mandate_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/reward_program_enrollment_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/reward_program_service.rb +0 -87
- data/lib/stripe/services/v2/money_management/reward_programs/rule_service.rb +0 -91
- data/lib/stripe/services/v2/money_management/spending_mandate_service.rb +0 -43
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -76
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +0 -83
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +0 -56
- data/lib/stripe/services/v2/payments_service.rb +0 -17
- data/lib/stripe/services/v2/provisioning/catalog/provider_service.rb +0 -23
- data/lib/stripe/services/v2/provisioning/catalog/service_service.rb +0 -23
- data/lib/stripe/services/v2/provisioning/catalog_service.rb +0 -18
- data/lib/stripe/services/v2/provisioning/eligibility_service.rb +0 -22
- data/lib/stripe/services/v2/provisioning/payment_method_request_service.rb +0 -25
- data/lib/stripe/services/v2/provisioning/payment_profile_service.rb +0 -36
- data/lib/stripe/services/v2/provisioning/project_service.rb +0 -21
- data/lib/stripe/services/v2/provisioning/provider_connection_request_service.rb +0 -43
- data/lib/stripe/services/v2/provisioning/provider_connection_service.rb +0 -32
- data/lib/stripe/services/v2/provisioning/resource_service.rb +0 -112
- data/lib/stripe/services/v2/provisioning_service.rb +0 -24
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/risk/form_service.rb +0 -32
- data/lib/stripe/services/v2/risk_service.rb +0 -15
- data/lib/stripe/services/v2/signals/payment_retry_evaluation_service.rb +0 -62
- data/lib/stripe/services/v2/signals/payment_retry_signal_service.rb +0 -21
- data/lib/stripe/services/v2/tax/integration_configuration_service.rb +0 -32
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +0 -73
- data/lib/stripe/services/v2/tax/operation_service.rb +0 -21
- data/lib/stripe/services/v2/tax_service.rb +0 -18
- data/lib/stripe/workload_identity_exchange.rb +0 -242
- data/rbi/stripe/workload_identity_exchange.rbi +0 -21
|
@@ -73,78 +73,7 @@ module Stripe
|
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
class AutomaticPassThroughFee < ::Stripe::StripeObject
|
|
77
|
-
# Whether the fee is calculated on the amount due before or after tax.
|
|
78
|
-
attr_reader :calculation_basis
|
|
79
|
-
# Indicates whether a pass-through fee is calculated and added to this session.
|
|
80
|
-
attr_reader :enabled
|
|
81
|
-
# The provider that performed this session's latest pass-through fee calculation.
|
|
82
|
-
attr_reader :provider
|
|
83
|
-
# The status of the most recent pass-through fee calculation for this session.
|
|
84
|
-
attr_reader :status
|
|
85
|
-
# The type of fee calculated for this session.
|
|
86
|
-
attr_reader :type
|
|
87
|
-
|
|
88
|
-
def self.inner_class_types
|
|
89
|
-
@inner_class_types = {}
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
def self.field_remappings
|
|
93
|
-
@field_remappings = {}
|
|
94
|
-
end
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
class AutomaticSurcharge < ::Stripe::StripeObject
|
|
98
|
-
# Determines which amount serves as the basis for calculating the surcharge.
|
|
99
|
-
attr_reader :calculation_basis
|
|
100
|
-
# Indicates whether automatic surcharge is enabled for the session.
|
|
101
|
-
attr_reader :enabled
|
|
102
|
-
# The surcharge provider used for this session.
|
|
103
|
-
attr_reader :provider
|
|
104
|
-
# The status of the most recent surcharge calculation for this session.
|
|
105
|
-
attr_reader :status
|
|
106
|
-
# Specifies whether the surcharge is considered inclusive or exclusive of taxes.
|
|
107
|
-
attr_reader :tax_behavior
|
|
108
|
-
|
|
109
|
-
def self.inner_class_types
|
|
110
|
-
@inner_class_types = {}
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
def self.field_remappings
|
|
114
|
-
@field_remappings = {}
|
|
115
|
-
end
|
|
116
|
-
end
|
|
117
|
-
|
|
118
76
|
class AutomaticTax < ::Stripe::StripeObject
|
|
119
|
-
class EnablementDetails < ::Stripe::StripeObject
|
|
120
|
-
class IntegrationConfigurationDisabledReason < ::Stripe::StripeObject
|
|
121
|
-
# The parameter that prevented `automatic_tax` from being enabled (for example `line_items[][tax_rates]`).
|
|
122
|
-
attr_reader :conflicting_field
|
|
123
|
-
|
|
124
|
-
def self.inner_class_types
|
|
125
|
-
@inner_class_types = {}
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
def self.field_remappings
|
|
129
|
-
@field_remappings = {}
|
|
130
|
-
end
|
|
131
|
-
end
|
|
132
|
-
# Present when `source=tax_integration_configuration` and `automatic_tax[enabled]=false`.
|
|
133
|
-
attr_reader :integration_configuration_disabled_reason
|
|
134
|
-
# How `automatic_tax` was set: `explicit`, `managed_payments`, or `tax_integration_configuration`.
|
|
135
|
-
attr_reader :source
|
|
136
|
-
|
|
137
|
-
def self.inner_class_types
|
|
138
|
-
@inner_class_types = {
|
|
139
|
-
integration_configuration_disabled_reason: IntegrationConfigurationDisabledReason,
|
|
140
|
-
}
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
def self.field_remappings
|
|
144
|
-
@field_remappings = {}
|
|
145
|
-
end
|
|
146
|
-
end
|
|
147
|
-
|
|
148
77
|
class Liability < ::Stripe::StripeObject
|
|
149
78
|
# The connected account being referenced when `type` is `account`.
|
|
150
79
|
attr_reader :account
|
|
@@ -163,8 +92,6 @@ module Stripe
|
|
|
163
92
|
attr_reader :address_collection_precision
|
|
164
93
|
# Indicates whether automatic tax is enabled for the session
|
|
165
94
|
attr_reader :enabled
|
|
166
|
-
# How `automatic_tax` was set (`explicit`, `managed_payments`, or `tax_integration_configuration`) and why it may have been disabled.
|
|
167
|
-
attr_reader :enablement_details
|
|
168
95
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
|
169
96
|
attr_reader :liability
|
|
170
97
|
# The tax provider powering automatic tax.
|
|
@@ -173,7 +100,7 @@ module Stripe
|
|
|
173
100
|
attr_reader :status
|
|
174
101
|
|
|
175
102
|
def self.inner_class_types
|
|
176
|
-
@inner_class_types = {
|
|
103
|
+
@inner_class_types = { liability: Liability }
|
|
177
104
|
end
|
|
178
105
|
|
|
179
106
|
def self.field_remappings
|
|
@@ -385,295 +312,6 @@ module Stripe
|
|
|
385
312
|
end
|
|
386
313
|
end
|
|
387
314
|
|
|
388
|
-
class CurrentAttempt < ::Stripe::StripeObject
|
|
389
|
-
class BillingDetails < ::Stripe::StripeObject
|
|
390
|
-
class Address < ::Stripe::StripeObject
|
|
391
|
-
# City, district, suburb, town, or village.
|
|
392
|
-
attr_reader :city
|
|
393
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
394
|
-
attr_reader :country
|
|
395
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
396
|
-
attr_reader :line1
|
|
397
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
398
|
-
attr_reader :line2
|
|
399
|
-
# ZIP or postal code.
|
|
400
|
-
attr_reader :postal_code
|
|
401
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
402
|
-
attr_reader :state
|
|
403
|
-
|
|
404
|
-
def self.inner_class_types
|
|
405
|
-
@inner_class_types = {}
|
|
406
|
-
end
|
|
407
|
-
|
|
408
|
-
def self.field_remappings
|
|
409
|
-
@field_remappings = {}
|
|
410
|
-
end
|
|
411
|
-
end
|
|
412
|
-
# Attribute for field address
|
|
413
|
-
attr_reader :address
|
|
414
|
-
# Customer name.
|
|
415
|
-
attr_reader :name
|
|
416
|
-
|
|
417
|
-
def self.inner_class_types
|
|
418
|
-
@inner_class_types = { address: Address }
|
|
419
|
-
end
|
|
420
|
-
|
|
421
|
-
def self.field_remappings
|
|
422
|
-
@field_remappings = {}
|
|
423
|
-
end
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
class PaymentMethodDetails < ::Stripe::StripeObject
|
|
427
|
-
class AuBecsDebit < ::Stripe::StripeObject
|
|
428
|
-
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
429
|
-
attr_reader :fingerprint
|
|
430
|
-
|
|
431
|
-
def self.inner_class_types
|
|
432
|
-
@inner_class_types = {}
|
|
433
|
-
end
|
|
434
|
-
|
|
435
|
-
def self.field_remappings
|
|
436
|
-
@field_remappings = {}
|
|
437
|
-
end
|
|
438
|
-
end
|
|
439
|
-
|
|
440
|
-
class BacsDebit < ::Stripe::StripeObject
|
|
441
|
-
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
442
|
-
attr_reader :fingerprint
|
|
443
|
-
|
|
444
|
-
def self.inner_class_types
|
|
445
|
-
@inner_class_types = {}
|
|
446
|
-
end
|
|
447
|
-
|
|
448
|
-
def self.field_remappings
|
|
449
|
-
@field_remappings = {}
|
|
450
|
-
end
|
|
451
|
-
end
|
|
452
|
-
|
|
453
|
-
class Boleto < ::Stripe::StripeObject
|
|
454
|
-
# Uniquely identifies this particular boleto payment method. You can use this attribute to check whether two boleto payment methods are the same.
|
|
455
|
-
attr_reader :fingerprint
|
|
456
|
-
|
|
457
|
-
def self.inner_class_types
|
|
458
|
-
@inner_class_types = {}
|
|
459
|
-
end
|
|
460
|
-
|
|
461
|
-
def self.field_remappings
|
|
462
|
-
@field_remappings = {}
|
|
463
|
-
end
|
|
464
|
-
end
|
|
465
|
-
|
|
466
|
-
class Card < ::Stripe::StripeObject
|
|
467
|
-
class Wallet < ::Stripe::StripeObject
|
|
468
|
-
# The type of the wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, `meta_pay`, or `link`.
|
|
469
|
-
attr_reader :type
|
|
470
|
-
|
|
471
|
-
def self.inner_class_types
|
|
472
|
-
@inner_class_types = {}
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
def self.field_remappings
|
|
476
|
-
@field_remappings = {}
|
|
477
|
-
end
|
|
478
|
-
end
|
|
479
|
-
# The brand of the card, accounting for customer's brand choice on dual-branded cards.
|
|
480
|
-
attr_reader :brand
|
|
481
|
-
# 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.
|
|
482
|
-
attr_reader :country
|
|
483
|
-
# Two-digit number representing the card's expiration month.
|
|
484
|
-
attr_reader :exp_month
|
|
485
|
-
# Four-digit number representing the card's expiration year.
|
|
486
|
-
attr_reader :exp_year
|
|
487
|
-
# 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.
|
|
488
|
-
#
|
|
489
|
-
# *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.*
|
|
490
|
-
attr_reader :fingerprint
|
|
491
|
-
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
492
|
-
attr_reader :funding
|
|
493
|
-
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
494
|
-
attr_reader :iin
|
|
495
|
-
# The last four digits of the card.
|
|
496
|
-
attr_reader :last4
|
|
497
|
-
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
498
|
-
attr_reader :wallet
|
|
499
|
-
|
|
500
|
-
def self.inner_class_types
|
|
501
|
-
@inner_class_types = { wallet: Wallet }
|
|
502
|
-
end
|
|
503
|
-
|
|
504
|
-
def self.field_remappings
|
|
505
|
-
@field_remappings = {}
|
|
506
|
-
end
|
|
507
|
-
end
|
|
508
|
-
|
|
509
|
-
class Custom < ::Stripe::StripeObject
|
|
510
|
-
# ID of the Dashboard-only CustomPaymentMethodType. Not expandable.
|
|
511
|
-
attr_reader :type
|
|
512
|
-
|
|
513
|
-
def self.inner_class_types
|
|
514
|
-
@inner_class_types = {}
|
|
515
|
-
end
|
|
516
|
-
|
|
517
|
-
def self.field_remappings
|
|
518
|
-
@field_remappings = {}
|
|
519
|
-
end
|
|
520
|
-
end
|
|
521
|
-
|
|
522
|
-
class Link < ::Stripe::StripeObject
|
|
523
|
-
# Unique, encrypted bank account identifier.
|
|
524
|
-
attr_reader :fingerprint
|
|
525
|
-
|
|
526
|
-
def self.inner_class_types
|
|
527
|
-
@inner_class_types = {}
|
|
528
|
-
end
|
|
529
|
-
|
|
530
|
-
def self.field_remappings
|
|
531
|
-
@field_remappings = {}
|
|
532
|
-
end
|
|
533
|
-
end
|
|
534
|
-
|
|
535
|
-
class Pix < ::Stripe::StripeObject
|
|
536
|
-
# Uniquely identifies this particular Pix account. You can use this attribute to check whether two Pix accounts are the same.
|
|
537
|
-
attr_reader :fingerprint
|
|
538
|
-
|
|
539
|
-
def self.inner_class_types
|
|
540
|
-
@inner_class_types = {}
|
|
541
|
-
end
|
|
542
|
-
|
|
543
|
-
def self.field_remappings
|
|
544
|
-
@field_remappings = {}
|
|
545
|
-
end
|
|
546
|
-
end
|
|
547
|
-
|
|
548
|
-
class SepaDebit < ::Stripe::StripeObject
|
|
549
|
-
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
550
|
-
attr_reader :fingerprint
|
|
551
|
-
|
|
552
|
-
def self.inner_class_types
|
|
553
|
-
@inner_class_types = {}
|
|
554
|
-
end
|
|
555
|
-
|
|
556
|
-
def self.field_remappings
|
|
557
|
-
@field_remappings = {}
|
|
558
|
-
end
|
|
559
|
-
end
|
|
560
|
-
|
|
561
|
-
class UsBankAccount < ::Stripe::StripeObject
|
|
562
|
-
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
563
|
-
attr_reader :fingerprint
|
|
564
|
-
|
|
565
|
-
def self.inner_class_types
|
|
566
|
-
@inner_class_types = {}
|
|
567
|
-
end
|
|
568
|
-
|
|
569
|
-
def self.field_remappings
|
|
570
|
-
@field_remappings = {}
|
|
571
|
-
end
|
|
572
|
-
end
|
|
573
|
-
# Indicates whether this payment method can be shown again to its customer in a checkout flow.
|
|
574
|
-
attr_reader :allow_redisplay
|
|
575
|
-
# Attribute for field au_becs_debit
|
|
576
|
-
attr_reader :au_becs_debit
|
|
577
|
-
# Attribute for field bacs_debit
|
|
578
|
-
attr_reader :bacs_debit
|
|
579
|
-
# Attribute for field boleto
|
|
580
|
-
attr_reader :boleto
|
|
581
|
-
# Attribute for field card
|
|
582
|
-
attr_reader :card
|
|
583
|
-
# Attribute for field custom
|
|
584
|
-
attr_reader :custom
|
|
585
|
-
# Attribute for field link
|
|
586
|
-
attr_reader :link
|
|
587
|
-
# Attribute for field pix
|
|
588
|
-
attr_reader :pix
|
|
589
|
-
# Attribute for field sepa_debit
|
|
590
|
-
attr_reader :sepa_debit
|
|
591
|
-
# The type of payment method the customer is attempting to pay with. An additional hash is included in the payment method details with a name matching this value. It contains additional information specific to the payment method type.
|
|
592
|
-
attr_reader :type
|
|
593
|
-
# Attribute for field us_bank_account
|
|
594
|
-
attr_reader :us_bank_account
|
|
595
|
-
|
|
596
|
-
def self.inner_class_types
|
|
597
|
-
@inner_class_types = {
|
|
598
|
-
au_becs_debit: AuBecsDebit,
|
|
599
|
-
bacs_debit: BacsDebit,
|
|
600
|
-
boleto: Boleto,
|
|
601
|
-
card: Card,
|
|
602
|
-
custom: Custom,
|
|
603
|
-
link: Link,
|
|
604
|
-
pix: Pix,
|
|
605
|
-
sepa_debit: SepaDebit,
|
|
606
|
-
us_bank_account: UsBankAccount,
|
|
607
|
-
}
|
|
608
|
-
end
|
|
609
|
-
|
|
610
|
-
def self.field_remappings
|
|
611
|
-
@field_remappings = {}
|
|
612
|
-
end
|
|
613
|
-
end
|
|
614
|
-
|
|
615
|
-
class ShippingDetails < ::Stripe::StripeObject
|
|
616
|
-
class Address < ::Stripe::StripeObject
|
|
617
|
-
# City, district, suburb, town, or village.
|
|
618
|
-
attr_reader :city
|
|
619
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
620
|
-
attr_reader :country
|
|
621
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
622
|
-
attr_reader :line1
|
|
623
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
624
|
-
attr_reader :line2
|
|
625
|
-
# ZIP or postal code.
|
|
626
|
-
attr_reader :postal_code
|
|
627
|
-
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
628
|
-
attr_reader :state
|
|
629
|
-
|
|
630
|
-
def self.inner_class_types
|
|
631
|
-
@inner_class_types = {}
|
|
632
|
-
end
|
|
633
|
-
|
|
634
|
-
def self.field_remappings
|
|
635
|
-
@field_remappings = {}
|
|
636
|
-
end
|
|
637
|
-
end
|
|
638
|
-
# Attribute for field address
|
|
639
|
-
attr_reader :address
|
|
640
|
-
# Customer name.
|
|
641
|
-
attr_reader :name
|
|
642
|
-
|
|
643
|
-
def self.inner_class_types
|
|
644
|
-
@inner_class_types = { address: Address }
|
|
645
|
-
end
|
|
646
|
-
|
|
647
|
-
def self.field_remappings
|
|
648
|
-
@field_remappings = {}
|
|
649
|
-
end
|
|
650
|
-
end
|
|
651
|
-
# The customer's billing information, if provided.
|
|
652
|
-
attr_reader :billing_details
|
|
653
|
-
# The customer's email.
|
|
654
|
-
attr_reader :email
|
|
655
|
-
# The attempt ID you will pass to the [Checkout Session approve](api/checkout/sessions/approve) endpoint to approve the attempt.
|
|
656
|
-
attr_reader :id
|
|
657
|
-
# Information about the payment method the customer is attempting to pay with. Relevant payment method information is provided when available. Some payment details are only available after the payment has completed and can't be returned in the manual approval flow.
|
|
658
|
-
attr_reader :payment_method_details
|
|
659
|
-
# The customer's phone number.
|
|
660
|
-
attr_reader :phone
|
|
661
|
-
# The customer's shipping information, if provided.
|
|
662
|
-
attr_reader :shipping_details
|
|
663
|
-
|
|
664
|
-
def self.inner_class_types
|
|
665
|
-
@inner_class_types = {
|
|
666
|
-
billing_details: BillingDetails,
|
|
667
|
-
payment_method_details: PaymentMethodDetails,
|
|
668
|
-
shipping_details: ShippingDetails,
|
|
669
|
-
}
|
|
670
|
-
end
|
|
671
|
-
|
|
672
|
-
def self.field_remappings
|
|
673
|
-
@field_remappings = {}
|
|
674
|
-
end
|
|
675
|
-
end
|
|
676
|
-
|
|
677
315
|
class CustomField < ::Stripe::StripeObject
|
|
678
316
|
class Dropdown < ::Stripe::StripeObject
|
|
679
317
|
class Option < ::Stripe::StripeObject
|
|
@@ -1002,421 +640,7 @@ module Stripe
|
|
|
1002
640
|
@inner_class_types = {
|
|
1003
641
|
custom_fields: CustomField,
|
|
1004
642
|
issuer: Issuer,
|
|
1005
|
-
rendering_options: RenderingOptions,
|
|
1006
|
-
}
|
|
1007
|
-
end
|
|
1008
|
-
|
|
1009
|
-
def self.field_remappings
|
|
1010
|
-
@field_remappings = {}
|
|
1011
|
-
end
|
|
1012
|
-
end
|
|
1013
|
-
# Indicates whether invoice creation is enabled for the Checkout Session.
|
|
1014
|
-
attr_reader :enabled
|
|
1015
|
-
# Attribute for field invoice_data
|
|
1016
|
-
attr_reader :invoice_data
|
|
1017
|
-
|
|
1018
|
-
def self.inner_class_types
|
|
1019
|
-
@inner_class_types = { invoice_data: InvoiceData }
|
|
1020
|
-
end
|
|
1021
|
-
|
|
1022
|
-
def self.field_remappings
|
|
1023
|
-
@field_remappings = {}
|
|
1024
|
-
end
|
|
1025
|
-
end
|
|
1026
|
-
|
|
1027
|
-
class Item < ::Stripe::StripeObject
|
|
1028
|
-
class MetronomeCommit < ::Stripe::StripeObject
|
|
1029
|
-
class Commit < ::Stripe::StripeObject
|
|
1030
|
-
class AccessSchedule < ::Stripe::StripeObject
|
|
1031
|
-
class ScheduleItem < ::Stripe::StripeObject
|
|
1032
|
-
# The access amount in credit_type_id units.
|
|
1033
|
-
attr_reader :amount
|
|
1034
|
-
# Hour-aligned RFC 3339 timestamp in UTC at which access to the balance amount ends (exclusive).
|
|
1035
|
-
attr_reader :ending_before
|
|
1036
|
-
# Hour-aligned RFC 3339 timestamp in UTC at which access to the balance amount starts (inclusive).
|
|
1037
|
-
attr_reader :starting_at
|
|
1038
|
-
|
|
1039
|
-
def self.inner_class_types
|
|
1040
|
-
@inner_class_types = {}
|
|
1041
|
-
end
|
|
1042
|
-
|
|
1043
|
-
def self.field_remappings
|
|
1044
|
-
@field_remappings = {}
|
|
1045
|
-
end
|
|
1046
|
-
|
|
1047
|
-
def self.field_encodings
|
|
1048
|
-
@field_encodings = { amount: :decimal_string }
|
|
1049
|
-
end
|
|
1050
|
-
end
|
|
1051
|
-
# The fixed price the buyer pays, in minor currency units.
|
|
1052
|
-
attr_reader :price_amount
|
|
1053
|
-
# When and how many credits become available.
|
|
1054
|
-
attr_reader :schedule_items
|
|
1055
|
-
|
|
1056
|
-
def self.inner_class_types
|
|
1057
|
-
@inner_class_types = { schedule_items: ScheduleItem }
|
|
1058
|
-
end
|
|
1059
|
-
|
|
1060
|
-
def self.field_remappings
|
|
1061
|
-
@field_remappings = {}
|
|
1062
|
-
end
|
|
1063
|
-
|
|
1064
|
-
def self.field_encodings
|
|
1065
|
-
@field_encodings = {
|
|
1066
|
-
schedule_items: {
|
|
1067
|
-
kind: :array,
|
|
1068
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
1069
|
-
},
|
|
1070
|
-
}
|
|
1071
|
-
end
|
|
1072
|
-
end
|
|
1073
|
-
|
|
1074
|
-
class CommitOptions < ::Stripe::StripeObject
|
|
1075
|
-
class CustomAmount < ::Stripe::StripeObject
|
|
1076
|
-
# Whether custom amount input is enabled.
|
|
1077
|
-
attr_reader :enabled
|
|
1078
|
-
# Maximum `access_amount` the customer can enter. `null` means the effective maximum is `999999999999999`.
|
|
1079
|
-
attr_reader :maximum
|
|
1080
|
-
# Minimum `access_amount` the customer can enter. `null` means the effective minimum is `1`.
|
|
1081
|
-
attr_reader :minimum
|
|
1082
|
-
|
|
1083
|
-
def self.inner_class_types
|
|
1084
|
-
@inner_class_types = {}
|
|
1085
|
-
end
|
|
1086
|
-
|
|
1087
|
-
def self.field_remappings
|
|
1088
|
-
@field_remappings = {}
|
|
1089
|
-
end
|
|
1090
|
-
end
|
|
1091
|
-
|
|
1092
|
-
class DiscountTier < ::Stripe::StripeObject
|
|
1093
|
-
# Percentage discount applied to the full access_amount.
|
|
1094
|
-
attr_reader :discount_percentage
|
|
1095
|
-
# Upper bound (inclusive) in credit_type_id units. Null means unbounded.
|
|
1096
|
-
attr_reader :up_to
|
|
1097
|
-
|
|
1098
|
-
def self.inner_class_types
|
|
1099
|
-
@inner_class_types = {}
|
|
1100
|
-
end
|
|
1101
|
-
|
|
1102
|
-
def self.field_remappings
|
|
1103
|
-
@field_remappings = {}
|
|
1104
|
-
end
|
|
1105
|
-
end
|
|
1106
|
-
|
|
1107
|
-
class Option < ::Stripe::StripeObject
|
|
1108
|
-
# The access amount for this option.
|
|
1109
|
-
attr_reader :access_amount
|
|
1110
|
-
# Whether this option is pre-selected in the Checkout UI.
|
|
1111
|
-
attr_reader :default_option
|
|
1112
|
-
|
|
1113
|
-
def self.inner_class_types
|
|
1114
|
-
@inner_class_types = {}
|
|
1115
|
-
end
|
|
1116
|
-
|
|
1117
|
-
def self.field_remappings
|
|
1118
|
-
@field_remappings = {}
|
|
1119
|
-
end
|
|
1120
|
-
end
|
|
1121
|
-
# Custom access amount configuration.
|
|
1122
|
-
attr_reader :custom_amount
|
|
1123
|
-
# Volume-based discount tiers.
|
|
1124
|
-
attr_reader :discount_tiers
|
|
1125
|
-
# When access for the purchased credits ends.
|
|
1126
|
-
attr_reader :ending_before
|
|
1127
|
-
# Access-amount presets for the buyer to choose from.
|
|
1128
|
-
attr_reader :options
|
|
1129
|
-
# The selected access amount. It matches an `options[].access_amount` for a preset selection, but may be a custom value when `custom_amount` is enabled. New sessions initialize it from the option marked `default_option`, or from the first option when none is marked. It is not necessarily the item's monetary price; use `amount_details` for display and totals.
|
|
1130
|
-
attr_reader :selected_access_amount
|
|
1131
|
-
# When access for the purchased credits starts.
|
|
1132
|
-
attr_reader :starting_at
|
|
1133
|
-
|
|
1134
|
-
def self.inner_class_types
|
|
1135
|
-
@inner_class_types = {
|
|
1136
|
-
custom_amount: CustomAmount,
|
|
1137
|
-
discount_tiers: DiscountTier,
|
|
1138
|
-
options: Option,
|
|
1139
|
-
}
|
|
1140
|
-
end
|
|
1141
|
-
|
|
1142
|
-
def self.field_remappings
|
|
1143
|
-
@field_remappings = {}
|
|
1144
|
-
end
|
|
1145
|
-
end
|
|
1146
|
-
|
|
1147
|
-
class Specifier < ::Stripe::StripeObject
|
|
1148
|
-
# Key-value pairs for presentation group filters.
|
|
1149
|
-
attr_reader :presentation_group_values
|
|
1150
|
-
# Key-value pairs for pricing group filters.
|
|
1151
|
-
attr_reader :pricing_group_values
|
|
1152
|
-
# Metronome product ID to scope this specifier to.
|
|
1153
|
-
attr_reader :product_id
|
|
1154
|
-
# Metronome product tags to scope this specifier to. Products must have all specified tags.
|
|
1155
|
-
attr_reader :product_tags
|
|
1156
|
-
|
|
1157
|
-
def self.inner_class_types
|
|
1158
|
-
@inner_class_types = {}
|
|
1159
|
-
end
|
|
1160
|
-
|
|
1161
|
-
def self.field_remappings
|
|
1162
|
-
@field_remappings = {}
|
|
1163
|
-
end
|
|
1164
|
-
end
|
|
1165
|
-
|
|
1166
|
-
class TaxDetails < ::Stripe::StripeObject
|
|
1167
|
-
# Stripe [tax code](https://docs.stripe.com/tax/tax-codes) for this commit (for example, `txcd_10103000`).
|
|
1168
|
-
attr_reader :tax_code
|
|
1169
|
-
|
|
1170
|
-
def self.inner_class_types
|
|
1171
|
-
@inner_class_types = {}
|
|
1172
|
-
end
|
|
1173
|
-
|
|
1174
|
-
def self.field_remappings
|
|
1175
|
-
@field_remappings = {}
|
|
1176
|
-
end
|
|
1177
|
-
end
|
|
1178
|
-
# Sets the balance amount and release schedule. Mutually exclusive with `commit_options`.
|
|
1179
|
-
attr_reader :access_schedule
|
|
1180
|
-
# Metronome product tags this commit can be drawn down against. Products must have all specified tags. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all absent, the commit applies to all products. See Metronome's [applicable_product_tags](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-applicable-product-tags).
|
|
1181
|
-
attr_reader :applicable_metronome_product_tags
|
|
1182
|
-
# Metronome product IDs this commit can be drawn down against. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all absent, the commit applies to all products. See Metronome's [applicable_product_ids](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-applicable-product-ids).
|
|
1183
|
-
attr_reader :applicable_metronome_products
|
|
1184
|
-
# Customer selects the balance amount to purchase. Mutually exclusive with `access_schedule`.
|
|
1185
|
-
attr_reader :commit_options
|
|
1186
|
-
# The Metronome Custom Pricing Unit credit type ID for this commit. Null when the commit prices in fiat.
|
|
1187
|
-
attr_reader :credit_type_id
|
|
1188
|
-
# Key-value pairs forwarded to the Metronome commit's [custom_fields](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-custom-fields).
|
|
1189
|
-
attr_reader :custom_fields
|
|
1190
|
-
# Free-form description. Forwarded to the Metronome commit's description.
|
|
1191
|
-
attr_reader :description
|
|
1192
|
-
# The Metronome commit ID, populated after successful activation.
|
|
1193
|
-
attr_reader :metronome_commit
|
|
1194
|
-
# The Metronome product ID for this commit.
|
|
1195
|
-
attr_reader :metronome_product
|
|
1196
|
-
# Display name for the commit. Surfaced on the Metronome commit's name.
|
|
1197
|
-
attr_reader :name
|
|
1198
|
-
# Priority for applying the commit. Lower priority values apply first. Forwarded to Metronome as-is.
|
|
1199
|
-
attr_reader :priority
|
|
1200
|
-
# Specifies which rates are used to draw down the commit. Accepts `commit_rate`, `list_rate`, `COMMIT_RATE`, or `LIST_RATE`.
|
|
1201
|
-
attr_reader :rate_type
|
|
1202
|
-
# Fraction of unused balance that rolls over on a Metronome contract transition. Must be between `0` and `1`. Forwarded to Metronome as-is.
|
|
1203
|
-
attr_reader :rollover_fraction
|
|
1204
|
-
# Usage filters that determine what draws down the commit. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all absent, the commit applies to all products. See Metronome's [specifiers](https://docs.metronome.com/api-reference/contracts/edit-a-contract#body-add-commits-items-specifiers).
|
|
1205
|
-
attr_reader :specifiers
|
|
1206
|
-
# Tax details for the Stripe product created for this commit. If provided, `tax_code` is required.
|
|
1207
|
-
attr_reader :tax_details
|
|
1208
|
-
|
|
1209
|
-
def self.inner_class_types
|
|
1210
|
-
@inner_class_types = {
|
|
1211
|
-
access_schedule: AccessSchedule,
|
|
1212
|
-
commit_options: CommitOptions,
|
|
1213
|
-
specifiers: Specifier,
|
|
1214
|
-
tax_details: TaxDetails,
|
|
1215
|
-
}
|
|
1216
|
-
end
|
|
1217
|
-
|
|
1218
|
-
def self.field_remappings
|
|
1219
|
-
@field_remappings = {}
|
|
1220
|
-
end
|
|
1221
|
-
|
|
1222
|
-
def self.field_encodings
|
|
1223
|
-
@field_encodings = {
|
|
1224
|
-
access_schedule: {
|
|
1225
|
-
kind: :nullable,
|
|
1226
|
-
inner: {
|
|
1227
|
-
kind: :object,
|
|
1228
|
-
fields: {
|
|
1229
|
-
schedule_items: {
|
|
1230
|
-
kind: :array,
|
|
1231
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
1232
|
-
},
|
|
1233
|
-
},
|
|
1234
|
-
},
|
|
1235
|
-
},
|
|
1236
|
-
priority: { kind: :nullable, inner: :decimal_string },
|
|
1237
|
-
rollover_fraction: { kind: :nullable, inner: :decimal_string },
|
|
1238
|
-
}
|
|
1239
|
-
end
|
|
1240
|
-
end
|
|
1241
|
-
|
|
1242
|
-
class PriceConfiguration < ::Stripe::StripeObject
|
|
1243
|
-
# The currency for this commit purchase, as an ISO 4217 lowercase string (for example, `usd`).
|
|
1244
|
-
attr_reader :currency
|
|
1245
|
-
# Specifies whether the price is considered inclusive or exclusive of taxes. When omitted and automatic tax is enabled, uses `tax_settings.defaults.tax_behavior`. If no default is set, the request returns an error.
|
|
1246
|
-
attr_reader :tax_behavior
|
|
1247
|
-
|
|
1248
|
-
def self.inner_class_types
|
|
1249
|
-
@inner_class_types = {}
|
|
1250
|
-
end
|
|
1251
|
-
|
|
1252
|
-
def self.field_remappings
|
|
1253
|
-
@field_remappings = {}
|
|
1254
|
-
end
|
|
1255
|
-
end
|
|
1256
|
-
# The list of commits for this Metronome contract.
|
|
1257
|
-
attr_reader :commits
|
|
1258
|
-
# The Metronome contract ID associated with this checkout item.
|
|
1259
|
-
attr_reader :metronome_contract
|
|
1260
|
-
# The Metronome customer ID associated with this checkout item, resolved during validation.
|
|
1261
|
-
attr_reader :metronome_customer
|
|
1262
|
-
# Attribute for field price_configuration
|
|
1263
|
-
attr_reader :price_configuration
|
|
1264
|
-
|
|
1265
|
-
def self.inner_class_types
|
|
1266
|
-
@inner_class_types = { commits: Commit, price_configuration: PriceConfiguration }
|
|
1267
|
-
end
|
|
1268
|
-
|
|
1269
|
-
def self.field_remappings
|
|
1270
|
-
@field_remappings = {}
|
|
1271
|
-
end
|
|
1272
|
-
|
|
1273
|
-
def self.field_encodings
|
|
1274
|
-
@field_encodings = {
|
|
1275
|
-
commits: {
|
|
1276
|
-
kind: :array,
|
|
1277
|
-
element: {
|
|
1278
|
-
kind: :object,
|
|
1279
|
-
fields: {
|
|
1280
|
-
access_schedule: {
|
|
1281
|
-
kind: :nullable,
|
|
1282
|
-
inner: {
|
|
1283
|
-
kind: :object,
|
|
1284
|
-
fields: {
|
|
1285
|
-
schedule_items: {
|
|
1286
|
-
kind: :array,
|
|
1287
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
1288
|
-
},
|
|
1289
|
-
},
|
|
1290
|
-
},
|
|
1291
|
-
},
|
|
1292
|
-
priority: { kind: :nullable, inner: :decimal_string },
|
|
1293
|
-
rollover_fraction: { kind: :nullable, inner: :decimal_string },
|
|
1294
|
-
},
|
|
1295
|
-
},
|
|
1296
|
-
},
|
|
1297
|
-
}
|
|
1298
|
-
end
|
|
1299
|
-
end
|
|
1300
|
-
|
|
1301
|
-
class Subscription < ::Stripe::StripeObject
|
|
1302
|
-
class Item < ::Stripe::StripeObject
|
|
1303
|
-
class AdjustableQuantity < ::Stripe::StripeObject
|
|
1304
|
-
# Whether the quantity is adjustable.
|
|
1305
|
-
attr_reader :enabled
|
|
1306
|
-
# The maximum quantity the customer can purchase.
|
|
1307
|
-
attr_reader :maximum
|
|
1308
|
-
# The minimum quantity the customer can purchase.
|
|
1309
|
-
attr_reader :minimum
|
|
1310
|
-
|
|
1311
|
-
def self.inner_class_types
|
|
1312
|
-
@inner_class_types = {}
|
|
1313
|
-
end
|
|
1314
|
-
|
|
1315
|
-
def self.field_remappings
|
|
1316
|
-
@field_remappings = {}
|
|
1317
|
-
end
|
|
1318
|
-
end
|
|
1319
|
-
|
|
1320
|
-
class CurrentTrial < ::Stripe::StripeObject
|
|
1321
|
-
# The ID of the trial offer applied to this subscription item.
|
|
1322
|
-
attr_reader :trial_offer
|
|
1323
|
-
|
|
1324
|
-
def self.inner_class_types
|
|
1325
|
-
@inner_class_types = {}
|
|
1326
|
-
end
|
|
1327
|
-
|
|
1328
|
-
def self.field_remappings
|
|
1329
|
-
@field_remappings = {}
|
|
1330
|
-
end
|
|
1331
|
-
end
|
|
1332
|
-
# The adjustable quantity settings for this subscription item.
|
|
1333
|
-
attr_reader :adjustable_quantity
|
|
1334
|
-
# The trial offer applied to this subscription item.
|
|
1335
|
-
attr_reader :current_trial
|
|
1336
|
-
# The price for this subscription item.
|
|
1337
|
-
attr_reader :price
|
|
1338
|
-
# The quantity for this subscription item.
|
|
1339
|
-
attr_reader :quantity
|
|
1340
|
-
|
|
1341
|
-
def self.inner_class_types
|
|
1342
|
-
@inner_class_types = {
|
|
1343
|
-
adjustable_quantity: AdjustableQuantity,
|
|
1344
|
-
current_trial: CurrentTrial,
|
|
1345
|
-
}
|
|
1346
|
-
end
|
|
1347
|
-
|
|
1348
|
-
def self.field_remappings
|
|
1349
|
-
@field_remappings = {}
|
|
1350
|
-
end
|
|
1351
|
-
end
|
|
1352
|
-
|
|
1353
|
-
class PendingInvoiceItemInterval < ::Stripe::StripeObject
|
|
1354
|
-
# Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
1355
|
-
attr_reader :interval
|
|
1356
|
-
# The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
|
|
1357
|
-
attr_reader :interval_count
|
|
1358
|
-
|
|
1359
|
-
def self.inner_class_types
|
|
1360
|
-
@inner_class_types = {}
|
|
1361
|
-
end
|
|
1362
|
-
|
|
1363
|
-
def self.field_remappings
|
|
1364
|
-
@field_remappings = {}
|
|
1365
|
-
end
|
|
1366
|
-
end
|
|
1367
|
-
|
|
1368
|
-
class TrialSettings < ::Stripe::StripeObject
|
|
1369
|
-
class EndBehavior < ::Stripe::StripeObject
|
|
1370
|
-
# Indicates how the subscription's billing cycle anchor is reset when a trial ends. If not set, the default is `now`.
|
|
1371
|
-
attr_reader :billing_cycle_anchor
|
|
1372
|
-
# Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
1373
|
-
attr_reader :missing_payment_method
|
|
1374
|
-
|
|
1375
|
-
def self.inner_class_types
|
|
1376
|
-
@inner_class_types = {}
|
|
1377
|
-
end
|
|
1378
|
-
|
|
1379
|
-
def self.field_remappings
|
|
1380
|
-
@field_remappings = {}
|
|
1381
|
-
end
|
|
1382
|
-
end
|
|
1383
|
-
# Defines how a subscription behaves when a free trial ends.
|
|
1384
|
-
attr_reader :end_behavior
|
|
1385
|
-
|
|
1386
|
-
def self.inner_class_types
|
|
1387
|
-
@inner_class_types = { end_behavior: EndBehavior }
|
|
1388
|
-
end
|
|
1389
|
-
|
|
1390
|
-
def self.field_remappings
|
|
1391
|
-
@field_remappings = {}
|
|
1392
|
-
end
|
|
1393
|
-
end
|
|
1394
|
-
# The Unix timestamp marking the subscription's backdated start date.
|
|
1395
|
-
attr_reader :backdate_start_date
|
|
1396
|
-
# The description for the subscription.
|
|
1397
|
-
attr_reader :description
|
|
1398
|
-
# The items in the subscription.
|
|
1399
|
-
attr_reader :items
|
|
1400
|
-
# Set of key-value pairs attached to the subscription.
|
|
1401
|
-
attr_reader :metadata
|
|
1402
|
-
# Specifies an interval for how often to bill for any pending invoice items.
|
|
1403
|
-
attr_reader :pending_invoice_item_interval
|
|
1404
|
-
# Determines how to handle prorations when the subscription is updated.
|
|
1405
|
-
attr_reader :proration_behavior
|
|
1406
|
-
# The ID of the [Subscription](https://docs.stripe.com/api/subscriptions).
|
|
1407
|
-
attr_reader :subscription
|
|
1408
|
-
# The Unix timestamp marking when the trial period ends.
|
|
1409
|
-
attr_reader :trial_end
|
|
1410
|
-
# The number of trial period days before the customer is charged for the first time.
|
|
1411
|
-
attr_reader :trial_period_days
|
|
1412
|
-
# Settings related to subscription trials.
|
|
1413
|
-
attr_reader :trial_settings
|
|
1414
|
-
|
|
1415
|
-
def self.inner_class_types
|
|
1416
|
-
@inner_class_types = {
|
|
1417
|
-
items: Item,
|
|
1418
|
-
pending_invoice_item_interval: PendingInvoiceItemInterval,
|
|
1419
|
-
trial_settings: TrialSettings,
|
|
643
|
+
rendering_options: RenderingOptions,
|
|
1420
644
|
}
|
|
1421
645
|
end
|
|
1422
646
|
|
|
@@ -1424,54 +648,18 @@ module Stripe
|
|
|
1424
648
|
@field_remappings = {}
|
|
1425
649
|
end
|
|
1426
650
|
end
|
|
1427
|
-
#
|
|
1428
|
-
attr_reader :
|
|
1429
|
-
# Attribute for field
|
|
1430
|
-
attr_reader :
|
|
1431
|
-
# Attribute for field subscription
|
|
1432
|
-
attr_reader :subscription
|
|
1433
|
-
# The type of the item.
|
|
1434
|
-
attr_reader :type
|
|
651
|
+
# Indicates whether invoice creation is enabled for the Checkout Session.
|
|
652
|
+
attr_reader :enabled
|
|
653
|
+
# Attribute for field invoice_data
|
|
654
|
+
attr_reader :invoice_data
|
|
1435
655
|
|
|
1436
656
|
def self.inner_class_types
|
|
1437
|
-
@inner_class_types = {
|
|
657
|
+
@inner_class_types = { invoice_data: InvoiceData }
|
|
1438
658
|
end
|
|
1439
659
|
|
|
1440
660
|
def self.field_remappings
|
|
1441
661
|
@field_remappings = {}
|
|
1442
662
|
end
|
|
1443
|
-
|
|
1444
|
-
def self.field_encodings
|
|
1445
|
-
@field_encodings = {
|
|
1446
|
-
metronome_commit: {
|
|
1447
|
-
kind: :object,
|
|
1448
|
-
fields: {
|
|
1449
|
-
commits: {
|
|
1450
|
-
kind: :array,
|
|
1451
|
-
element: {
|
|
1452
|
-
kind: :object,
|
|
1453
|
-
fields: {
|
|
1454
|
-
access_schedule: {
|
|
1455
|
-
kind: :nullable,
|
|
1456
|
-
inner: {
|
|
1457
|
-
kind: :object,
|
|
1458
|
-
fields: {
|
|
1459
|
-
schedule_items: {
|
|
1460
|
-
kind: :array,
|
|
1461
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
1462
|
-
},
|
|
1463
|
-
},
|
|
1464
|
-
},
|
|
1465
|
-
},
|
|
1466
|
-
priority: { kind: :nullable, inner: :decimal_string },
|
|
1467
|
-
rollover_fraction: { kind: :nullable, inner: :decimal_string },
|
|
1468
|
-
},
|
|
1469
|
-
},
|
|
1470
|
-
},
|
|
1471
|
-
},
|
|
1472
|
-
},
|
|
1473
|
-
}
|
|
1474
|
-
end
|
|
1475
663
|
end
|
|
1476
664
|
|
|
1477
665
|
class ManagedPayments < ::Stripe::StripeObject
|
|
@@ -1487,47 +675,6 @@ module Stripe
|
|
|
1487
675
|
end
|
|
1488
676
|
end
|
|
1489
677
|
|
|
1490
|
-
class MarketingAttribution < ::Stripe::StripeObject
|
|
1491
|
-
class AdConversion < ::Stripe::StripeObject
|
|
1492
|
-
# Whether the customer consented to sending conversion data to an advertising platform.
|
|
1493
|
-
attr_reader :consent_collected
|
|
1494
|
-
|
|
1495
|
-
def self.inner_class_types
|
|
1496
|
-
@inner_class_types = {}
|
|
1497
|
-
end
|
|
1498
|
-
|
|
1499
|
-
def self.field_remappings
|
|
1500
|
-
@field_remappings = {}
|
|
1501
|
-
end
|
|
1502
|
-
end
|
|
1503
|
-
# Attribute for field ad_conversion
|
|
1504
|
-
attr_reader :ad_conversion
|
|
1505
|
-
# The advertising platform's click identifier.
|
|
1506
|
-
attr_reader :click_id
|
|
1507
|
-
# The Unix timestamp when the advertising interaction occurred.
|
|
1508
|
-
attr_reader :occurred_at
|
|
1509
|
-
# The advertising group ID from the `utm_adgroup` parameter.
|
|
1510
|
-
attr_reader :utm_adgroup
|
|
1511
|
-
# The advertising content identifier from the `utm_content` parameter.
|
|
1512
|
-
attr_reader :utm_content
|
|
1513
|
-
# The advertising campaign ID from the `utm_id` parameter.
|
|
1514
|
-
attr_reader :utm_id
|
|
1515
|
-
# The marketing medium from the `utm_medium` parameter.
|
|
1516
|
-
attr_reader :utm_medium
|
|
1517
|
-
# The referral source from the `utm_source` parameter.
|
|
1518
|
-
attr_reader :utm_source
|
|
1519
|
-
# The paid search term from the `utm_term` parameter.
|
|
1520
|
-
attr_reader :utm_term
|
|
1521
|
-
|
|
1522
|
-
def self.inner_class_types
|
|
1523
|
-
@inner_class_types = { ad_conversion: AdConversion }
|
|
1524
|
-
end
|
|
1525
|
-
|
|
1526
|
-
def self.field_remappings
|
|
1527
|
-
@field_remappings = {}
|
|
1528
|
-
end
|
|
1529
|
-
end
|
|
1530
|
-
|
|
1531
678
|
class NameCollection < ::Stripe::StripeObject
|
|
1532
679
|
class Business < ::Stripe::StripeObject
|
|
1533
680
|
# Indicates whether business name collection is enabled for the session
|
|
@@ -1605,25 +752,6 @@ module Stripe
|
|
|
1605
752
|
end
|
|
1606
753
|
end
|
|
1607
754
|
|
|
1608
|
-
class PassThroughFeeCost < ::Stripe::StripeObject
|
|
1609
|
-
# The pass-through fee before tax.
|
|
1610
|
-
attr_reader :amount_subtotal
|
|
1611
|
-
# The tax on the pass-through fee. Pass-through fees aren't taxed, so this is always 0.
|
|
1612
|
-
attr_reader :amount_tax
|
|
1613
|
-
# The pass-through fee after tax.
|
|
1614
|
-
attr_reader :amount_total
|
|
1615
|
-
# The amount the provider calculated the fee on.
|
|
1616
|
-
attr_reader :calculation_basis_amount
|
|
1617
|
-
|
|
1618
|
-
def self.inner_class_types
|
|
1619
|
-
@inner_class_types = {}
|
|
1620
|
-
end
|
|
1621
|
-
|
|
1622
|
-
def self.field_remappings
|
|
1623
|
-
@field_remappings = {}
|
|
1624
|
-
end
|
|
1625
|
-
end
|
|
1626
|
-
|
|
1627
755
|
class PaymentMethodConfigurationDetails < ::Stripe::StripeObject
|
|
1628
756
|
# ID of the payment method configuration used.
|
|
1629
757
|
attr_reader :id
|
|
@@ -1828,8 +956,6 @@ module Stripe
|
|
|
1828
956
|
attr_reader :setup_future_usage
|
|
1829
957
|
# Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
|
|
1830
958
|
attr_reader :target_date
|
|
1831
|
-
# Attribute for field verification_method
|
|
1832
|
-
attr_reader :verification_method
|
|
1833
959
|
|
|
1834
960
|
def self.inner_class_types
|
|
1835
961
|
@inner_class_types = { mandate_options: MandateOptions }
|
|
@@ -1872,28 +998,6 @@ module Stripe
|
|
|
1872
998
|
end
|
|
1873
999
|
end
|
|
1874
1000
|
|
|
1875
|
-
class Bizum < ::Stripe::StripeObject
|
|
1876
|
-
class MandateOptions < ::Stripe::StripeObject
|
|
1877
|
-
def self.inner_class_types
|
|
1878
|
-
@inner_class_types = {}
|
|
1879
|
-
end
|
|
1880
|
-
|
|
1881
|
-
def self.field_remappings
|
|
1882
|
-
@field_remappings = {}
|
|
1883
|
-
end
|
|
1884
|
-
end
|
|
1885
|
-
# Attribute for field mandate_options
|
|
1886
|
-
attr_reader :mandate_options
|
|
1887
|
-
|
|
1888
|
-
def self.inner_class_types
|
|
1889
|
-
@inner_class_types = { mandate_options: MandateOptions }
|
|
1890
|
-
end
|
|
1891
|
-
|
|
1892
|
-
def self.field_remappings
|
|
1893
|
-
@field_remappings = {}
|
|
1894
|
-
end
|
|
1895
|
-
end
|
|
1896
|
-
|
|
1897
1001
|
class Boleto < ::Stripe::StripeObject
|
|
1898
1002
|
# The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
|
1899
1003
|
attr_reader :expires_after_days
|
|
@@ -1929,37 +1033,6 @@ module Stripe
|
|
|
1929
1033
|
end
|
|
1930
1034
|
end
|
|
1931
1035
|
|
|
1932
|
-
class MandateOptions < ::Stripe::StripeObject
|
|
1933
|
-
# Maximum or fixed amount for future payments, in the mandate's currency.
|
|
1934
|
-
attr_reader :amount
|
|
1935
|
-
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
|
1936
|
-
attr_reader :amount_type
|
|
1937
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
1938
|
-
attr_reader :currency
|
|
1939
|
-
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
|
1940
|
-
attr_reader :description
|
|
1941
|
-
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
1942
|
-
attr_reader :end_date
|
|
1943
|
-
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
|
1944
|
-
attr_reader :interval
|
|
1945
|
-
# The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
|
1946
|
-
attr_reader :interval_count
|
|
1947
|
-
# Unique identifier for the mandate or subscription.
|
|
1948
|
-
attr_reader :reference
|
|
1949
|
-
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
|
1950
|
-
attr_reader :start_date
|
|
1951
|
-
# Specifies the type of mandates supported. Possible values are `india`.
|
|
1952
|
-
attr_reader :supported_types
|
|
1953
|
-
|
|
1954
|
-
def self.inner_class_types
|
|
1955
|
-
@inner_class_types = {}
|
|
1956
|
-
end
|
|
1957
|
-
|
|
1958
|
-
def self.field_remappings
|
|
1959
|
-
@field_remappings = {}
|
|
1960
|
-
end
|
|
1961
|
-
end
|
|
1962
|
-
|
|
1963
1036
|
class Restrictions < ::Stripe::StripeObject
|
|
1964
1037
|
# The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
1965
1038
|
attr_reader :brands_blocked
|
|
@@ -1978,8 +1051,6 @@ module Stripe
|
|
|
1978
1051
|
attr_reader :capture_method
|
|
1979
1052
|
# Attribute for field installments
|
|
1980
1053
|
attr_reader :installments
|
|
1981
|
-
# Attribute for field mandate_options
|
|
1982
|
-
attr_reader :mandate_options
|
|
1983
1054
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1984
1055
|
attr_reader :request_decremental_authorization
|
|
1985
1056
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
@@ -2008,11 +1079,7 @@ module Stripe
|
|
|
2008
1079
|
attr_reader :statement_descriptor_suffix_kanji
|
|
2009
1080
|
|
|
2010
1081
|
def self.inner_class_types
|
|
2011
|
-
@inner_class_types = {
|
|
2012
|
-
installments: Installments,
|
|
2013
|
-
mandate_options: MandateOptions,
|
|
2014
|
-
restrictions: Restrictions,
|
|
2015
|
-
}
|
|
1082
|
+
@inner_class_types = { installments: Installments, restrictions: Restrictions }
|
|
2016
1083
|
end
|
|
2017
1084
|
|
|
2018
1085
|
def self.field_remappings
|
|
@@ -2462,27 +1529,6 @@ module Stripe
|
|
|
2462
1529
|
end
|
|
2463
1530
|
end
|
|
2464
1531
|
|
|
2465
|
-
class Paypay < ::Stripe::StripeObject
|
|
2466
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2467
|
-
#
|
|
2468
|
-
# 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.
|
|
2469
|
-
#
|
|
2470
|
-
# 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.
|
|
2471
|
-
#
|
|
2472
|
-
# 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).
|
|
2473
|
-
attr_reader :setup_future_usage
|
|
2474
|
-
# A reference to the merchant subscription this payment corresponds to.
|
|
2475
|
-
attr_reader :subscription_reference
|
|
2476
|
-
|
|
2477
|
-
def self.inner_class_types
|
|
2478
|
-
@inner_class_types = {}
|
|
2479
|
-
end
|
|
2480
|
-
|
|
2481
|
-
def self.field_remappings
|
|
2482
|
-
@field_remappings = {}
|
|
2483
|
-
end
|
|
2484
|
-
end
|
|
2485
|
-
|
|
2486
1532
|
class Payto < ::Stripe::StripeObject
|
|
2487
1533
|
class MandateOptions < ::Stripe::StripeObject
|
|
2488
1534
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
@@ -2714,25 +1760,6 @@ module Stripe
|
|
|
2714
1760
|
end
|
|
2715
1761
|
end
|
|
2716
1762
|
|
|
2717
|
-
class StripeBalance < ::Stripe::StripeObject
|
|
2718
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2719
|
-
#
|
|
2720
|
-
# 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.
|
|
2721
|
-
#
|
|
2722
|
-
# 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.
|
|
2723
|
-
#
|
|
2724
|
-
# 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).
|
|
2725
|
-
attr_reader :setup_future_usage
|
|
2726
|
-
|
|
2727
|
-
def self.inner_class_types
|
|
2728
|
-
@inner_class_types = {}
|
|
2729
|
-
end
|
|
2730
|
-
|
|
2731
|
-
def self.field_remappings
|
|
2732
|
-
@field_remappings = {}
|
|
2733
|
-
end
|
|
2734
|
-
end
|
|
2735
|
-
|
|
2736
1763
|
class Sunbit < ::Stripe::StripeObject
|
|
2737
1764
|
# Controls when the funds will be captured from the customer's account.
|
|
2738
1765
|
attr_reader :capture_method
|
|
@@ -2939,8 +1966,6 @@ module Stripe
|
|
|
2939
1966
|
attr_reader :bancontact
|
|
2940
1967
|
# Attribute for field billie
|
|
2941
1968
|
attr_reader :billie
|
|
2942
|
-
# Attribute for field bizum
|
|
2943
|
-
attr_reader :bizum
|
|
2944
1969
|
# Attribute for field boleto
|
|
2945
1970
|
attr_reader :boleto
|
|
2946
1971
|
# Attribute for field card
|
|
@@ -2985,8 +2010,6 @@ module Stripe
|
|
|
2985
2010
|
attr_reader :paynow
|
|
2986
2011
|
# Attribute for field paypal
|
|
2987
2012
|
attr_reader :paypal
|
|
2988
|
-
# Attribute for field paypay
|
|
2989
|
-
attr_reader :paypay
|
|
2990
2013
|
# Attribute for field payto
|
|
2991
2014
|
attr_reader :payto
|
|
2992
2015
|
# Attribute for field pix
|
|
@@ -3005,8 +2028,6 @@ module Stripe
|
|
|
3005
2028
|
attr_reader :sequra
|
|
3006
2029
|
# Attribute for field sofort
|
|
3007
2030
|
attr_reader :sofort
|
|
3008
|
-
# Attribute for field stripe_balance
|
|
3009
|
-
attr_reader :stripe_balance
|
|
3010
2031
|
# Attribute for field sunbit
|
|
3011
2032
|
attr_reader :sunbit
|
|
3012
2033
|
# Attribute for field swish
|
|
@@ -3032,7 +2053,6 @@ module Stripe
|
|
|
3032
2053
|
bacs_debit: BacsDebit,
|
|
3033
2054
|
bancontact: Bancontact,
|
|
3034
2055
|
billie: Billie,
|
|
3035
|
-
bizum: Bizum,
|
|
3036
2056
|
boleto: Boleto,
|
|
3037
2057
|
card: Card,
|
|
3038
2058
|
cashapp: Cashapp,
|
|
@@ -3055,7 +2075,6 @@ module Stripe
|
|
|
3055
2075
|
payco: Payco,
|
|
3056
2076
|
paynow: Paynow,
|
|
3057
2077
|
paypal: Paypal,
|
|
3058
|
-
paypay: Paypay,
|
|
3059
2078
|
payto: Payto,
|
|
3060
2079
|
pix: Pix,
|
|
3061
2080
|
revolut_pay: RevolutPay,
|
|
@@ -3065,7 +2084,6 @@ module Stripe
|
|
|
3065
2084
|
sepa_debit: SepaDebit,
|
|
3066
2085
|
sequra: Sequra,
|
|
3067
2086
|
sofort: Sofort,
|
|
3068
|
-
stripe_balance: StripeBalance,
|
|
3069
2087
|
sunbit: Sunbit,
|
|
3070
2088
|
swish: Swish,
|
|
3071
2089
|
twint: Twint,
|
|
@@ -3080,126 +2098,6 @@ module Stripe
|
|
|
3080
2098
|
end
|
|
3081
2099
|
end
|
|
3082
2100
|
|
|
3083
|
-
class PaymentSettings < ::Stripe::StripeObject
|
|
3084
|
-
class ApplicationFeeData < ::Stripe::StripeObject
|
|
3085
|
-
# The application fee amount, in the currency's smallest unit, applied to the initial payment.
|
|
3086
|
-
attr_reader :initial_amount
|
|
3087
|
-
# The percentage of each payment collected as an application fee.
|
|
3088
|
-
attr_reader :percentage_decimal
|
|
3089
|
-
|
|
3090
|
-
def self.inner_class_types
|
|
3091
|
-
@inner_class_types = {}
|
|
3092
|
-
end
|
|
3093
|
-
|
|
3094
|
-
def self.field_remappings
|
|
3095
|
-
@field_remappings = {}
|
|
3096
|
-
end
|
|
3097
|
-
|
|
3098
|
-
def self.field_encodings
|
|
3099
|
-
@field_encodings = { percentage_decimal: { kind: :nullable, inner: :decimal_string } }
|
|
3100
|
-
end
|
|
3101
|
-
end
|
|
3102
|
-
|
|
3103
|
-
class TransferData < ::Stripe::StripeObject
|
|
3104
|
-
class TransferAmount < ::Stripe::StripeObject
|
|
3105
|
-
# The amount, in the currency's smallest unit, transferred from the initial payment.
|
|
3106
|
-
attr_reader :initial_amount
|
|
3107
|
-
# The percentage of each payment transferred to the destination account.
|
|
3108
|
-
attr_reader :percentage_decimal
|
|
3109
|
-
|
|
3110
|
-
def self.inner_class_types
|
|
3111
|
-
@inner_class_types = {}
|
|
3112
|
-
end
|
|
3113
|
-
|
|
3114
|
-
def self.field_remappings
|
|
3115
|
-
@field_remappings = {}
|
|
3116
|
-
end
|
|
3117
|
-
|
|
3118
|
-
def self.field_encodings
|
|
3119
|
-
@field_encodings = { percentage_decimal: { kind: :nullable, inner: :decimal_string } }
|
|
3120
|
-
end
|
|
3121
|
-
end
|
|
3122
|
-
# The connected account that receives funds from payments created by this Checkout Session.
|
|
3123
|
-
attr_reader :destination
|
|
3124
|
-
# Configures the amount transferred to the destination account.
|
|
3125
|
-
attr_reader :transfer_amount
|
|
3126
|
-
|
|
3127
|
-
def self.inner_class_types
|
|
3128
|
-
@inner_class_types = { transfer_amount: TransferAmount }
|
|
3129
|
-
end
|
|
3130
|
-
|
|
3131
|
-
def self.field_remappings
|
|
3132
|
-
@field_remappings = {}
|
|
3133
|
-
end
|
|
3134
|
-
|
|
3135
|
-
def self.field_encodings
|
|
3136
|
-
@field_encodings = {
|
|
3137
|
-
transfer_amount: {
|
|
3138
|
-
kind: :nullable,
|
|
3139
|
-
inner: {
|
|
3140
|
-
kind: :object,
|
|
3141
|
-
fields: { percentage_decimal: { kind: :nullable, inner: :decimal_string } },
|
|
3142
|
-
},
|
|
3143
|
-
},
|
|
3144
|
-
}
|
|
3145
|
-
end
|
|
3146
|
-
end
|
|
3147
|
-
# Configures an application fee transferred to the application owner's Stripe account.
|
|
3148
|
-
attr_reader :application_fee_data
|
|
3149
|
-
# Controls when the funds will be captured from the customer's account.
|
|
3150
|
-
attr_reader :capture_method
|
|
3151
|
-
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
3152
|
-
attr_reader :description
|
|
3153
|
-
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
3154
|
-
attr_reader :metadata
|
|
3155
|
-
# Indicates that you intend to make future payments with the payment method collected by this Checkout Session.
|
|
3156
|
-
attr_reader :setup_future_usage
|
|
3157
|
-
# Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor.
|
|
3158
|
-
attr_reader :statement_descriptor
|
|
3159
|
-
# Configures automatic transfers to a connected account when payments succeed.
|
|
3160
|
-
attr_reader :transfer_data
|
|
3161
|
-
# A string that identifies the initial payment as part of a group.
|
|
3162
|
-
attr_reader :transfer_group
|
|
3163
|
-
|
|
3164
|
-
def self.inner_class_types
|
|
3165
|
-
@inner_class_types = {
|
|
3166
|
-
application_fee_data: ApplicationFeeData,
|
|
3167
|
-
transfer_data: TransferData,
|
|
3168
|
-
}
|
|
3169
|
-
end
|
|
3170
|
-
|
|
3171
|
-
def self.field_remappings
|
|
3172
|
-
@field_remappings = {}
|
|
3173
|
-
end
|
|
3174
|
-
|
|
3175
|
-
def self.field_encodings
|
|
3176
|
-
@field_encodings = {
|
|
3177
|
-
application_fee_data: {
|
|
3178
|
-
kind: :nullable,
|
|
3179
|
-
inner: {
|
|
3180
|
-
kind: :object,
|
|
3181
|
-
fields: { percentage_decimal: { kind: :nullable, inner: :decimal_string } },
|
|
3182
|
-
},
|
|
3183
|
-
},
|
|
3184
|
-
transfer_data: {
|
|
3185
|
-
kind: :nullable,
|
|
3186
|
-
inner: {
|
|
3187
|
-
kind: :object,
|
|
3188
|
-
fields: {
|
|
3189
|
-
transfer_amount: {
|
|
3190
|
-
kind: :nullable,
|
|
3191
|
-
inner: {
|
|
3192
|
-
kind: :object,
|
|
3193
|
-
fields: { percentage_decimal: { kind: :nullable, inner: :decimal_string } },
|
|
3194
|
-
},
|
|
3195
|
-
},
|
|
3196
|
-
},
|
|
3197
|
-
},
|
|
3198
|
-
},
|
|
3199
|
-
}
|
|
3200
|
-
end
|
|
3201
|
-
end
|
|
3202
|
-
|
|
3203
2101
|
class Permissions < ::Stripe::StripeObject
|
|
3204
2102
|
class Update < ::Stripe::StripeObject
|
|
3205
2103
|
# Determines which entity is allowed to update the line items.
|
|
@@ -3291,8 +2189,6 @@ module Stripe
|
|
|
3291
2189
|
class SavedPaymentMethodOptions < ::Stripe::StripeObject
|
|
3292
2190
|
# 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.
|
|
3293
2191
|
attr_reader :allow_redisplay_filters
|
|
3294
|
-
# The ID of a saved payment method to select when the Payment Element renders, for example `pm_1MqLiJLkdIwHu7ixUEgbFdYF`. Takes precedence over the customer's default payment method. If the ID doesn't match one of the payment methods the Element is displaying, the Element selects a payment method as it normally would and no error is returned. Preselecting a payment method never changes which payment methods the Element displays, and never modifies the payment method, the customer, or this session. The preselection is fixed once set. To preselect a different payment method, create a new session. An Element that's already on the page keeps its current selection.
|
|
3295
|
-
attr_reader :payment_method_preselect
|
|
3296
2192
|
# Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.
|
|
3297
2193
|
attr_reader :payment_method_remove
|
|
3298
2194
|
# Enable customers to choose if they wish to save their payment method for future use. Disabled by default.
|
|
@@ -3367,25 +2263,6 @@ module Stripe
|
|
|
3367
2263
|
attr_reader :shipping_amount
|
|
3368
2264
|
# The shipping rate.
|
|
3369
2265
|
attr_reader :shipping_rate
|
|
3370
|
-
# The tax rates applied to this shipping option.
|
|
3371
|
-
attr_reader :tax_rates
|
|
3372
|
-
|
|
3373
|
-
def self.inner_class_types
|
|
3374
|
-
@inner_class_types = {}
|
|
3375
|
-
end
|
|
3376
|
-
|
|
3377
|
-
def self.field_remappings
|
|
3378
|
-
@field_remappings = {}
|
|
3379
|
-
end
|
|
3380
|
-
end
|
|
3381
|
-
|
|
3382
|
-
class SurchargeCost < ::Stripe::StripeObject
|
|
3383
|
-
# Total surcharge cost before taxes are applied.
|
|
3384
|
-
attr_reader :amount_subtotal
|
|
3385
|
-
# Total tax amount applied due to surcharging. If no tax was applied, defaults to 0.
|
|
3386
|
-
attr_reader :amount_tax
|
|
3387
|
-
# Total surcharge cost after taxes are applied.
|
|
3388
|
-
attr_reader :amount_total
|
|
3389
2266
|
|
|
3390
2267
|
def self.inner_class_types
|
|
3391
2268
|
@inner_class_types = {}
|
|
@@ -3466,12 +2343,8 @@ module Stripe
|
|
|
3466
2343
|
end
|
|
3467
2344
|
# This is the sum of all the discounts.
|
|
3468
2345
|
attr_reader :amount_discount
|
|
3469
|
-
# The pass-through fee added to the Checkout Session, before tax.
|
|
3470
|
-
attr_reader :amount_pass_through_fee
|
|
3471
2346
|
# This is the sum of all the shipping amounts.
|
|
3472
2347
|
attr_reader :amount_shipping
|
|
3473
|
-
# The surcharge amount that was applied to the Checkout Session.
|
|
3474
|
-
attr_reader :amount_surcharge
|
|
3475
2348
|
# This is the sum of all the tax amounts.
|
|
3476
2349
|
attr_reader :amount_tax
|
|
3477
2350
|
# Attribute for field breakdown
|
|
@@ -3510,95 +2383,6 @@ module Stripe
|
|
|
3510
2383
|
@field_remappings = {}
|
|
3511
2384
|
end
|
|
3512
2385
|
end
|
|
3513
|
-
|
|
3514
|
-
class CheckoutItem < ::Stripe::StripeObject
|
|
3515
|
-
class PricingPlanSubscriptionItem < ::Stripe::StripeObject
|
|
3516
|
-
class ComponentConfigurations < ::Stripe::StripeObject
|
|
3517
|
-
class LicenseFeeComponent < ::Stripe::StripeObject
|
|
3518
|
-
# Attribute for field quantity
|
|
3519
|
-
attr_reader :quantity
|
|
3520
|
-
|
|
3521
|
-
def self.inner_class_types
|
|
3522
|
-
@inner_class_types = {}
|
|
3523
|
-
end
|
|
3524
|
-
|
|
3525
|
-
def self.field_remappings
|
|
3526
|
-
@field_remappings = {}
|
|
3527
|
-
end
|
|
3528
|
-
end
|
|
3529
|
-
# Attribute for field type
|
|
3530
|
-
attr_reader :type
|
|
3531
|
-
# Attribute for field license_fee_component
|
|
3532
|
-
attr_reader :license_fee_component
|
|
3533
|
-
|
|
3534
|
-
def self.inner_class_types
|
|
3535
|
-
@inner_class_types = { license_fee_component: LicenseFeeComponent }
|
|
3536
|
-
end
|
|
3537
|
-
|
|
3538
|
-
def self.field_remappings
|
|
3539
|
-
@field_remappings = {}
|
|
3540
|
-
end
|
|
3541
|
-
end
|
|
3542
|
-
# Attribute for field pricing_plan
|
|
3543
|
-
attr_reader :pricing_plan
|
|
3544
|
-
# Attribute for field pricing_plan_version
|
|
3545
|
-
attr_reader :pricing_plan_version
|
|
3546
|
-
# Attribute for field metadata
|
|
3547
|
-
attr_reader :metadata
|
|
3548
|
-
# Attribute for field component_configurations
|
|
3549
|
-
attr_reader :component_configurations
|
|
3550
|
-
# Attribute for field pricing_plan_subscription
|
|
3551
|
-
attr_reader :pricing_plan_subscription
|
|
3552
|
-
# Attribute for field billing_cadence
|
|
3553
|
-
attr_reader :billing_cadence
|
|
3554
|
-
|
|
3555
|
-
def self.inner_class_types
|
|
3556
|
-
@inner_class_types = { component_configurations: ComponentConfigurations }
|
|
3557
|
-
end
|
|
3558
|
-
|
|
3559
|
-
def self.field_remappings
|
|
3560
|
-
@field_remappings = {}
|
|
3561
|
-
end
|
|
3562
|
-
end
|
|
3563
|
-
|
|
3564
|
-
class RateCardSubscriptionItem < ::Stripe::StripeObject
|
|
3565
|
-
# Attribute for field rate_card
|
|
3566
|
-
attr_reader :rate_card
|
|
3567
|
-
# Attribute for field metadata
|
|
3568
|
-
attr_reader :metadata
|
|
3569
|
-
# Attribute for field rate_card_version
|
|
3570
|
-
attr_reader :rate_card_version
|
|
3571
|
-
# Attribute for field billing_cadence
|
|
3572
|
-
attr_reader :billing_cadence
|
|
3573
|
-
# Attribute for field rate_card_subscription
|
|
3574
|
-
attr_reader :rate_card_subscription
|
|
3575
|
-
|
|
3576
|
-
def self.inner_class_types
|
|
3577
|
-
@inner_class_types = {}
|
|
3578
|
-
end
|
|
3579
|
-
|
|
3580
|
-
def self.field_remappings
|
|
3581
|
-
@field_remappings = {}
|
|
3582
|
-
end
|
|
3583
|
-
end
|
|
3584
|
-
# Attribute for field type
|
|
3585
|
-
attr_reader :type
|
|
3586
|
-
# Attribute for field rate_card_subscription_item
|
|
3587
|
-
attr_reader :rate_card_subscription_item
|
|
3588
|
-
# Attribute for field pricing_plan_subscription_item
|
|
3589
|
-
attr_reader :pricing_plan_subscription_item
|
|
3590
|
-
|
|
3591
|
-
def self.inner_class_types
|
|
3592
|
-
@inner_class_types = {
|
|
3593
|
-
rate_card_subscription_item: RateCardSubscriptionItem,
|
|
3594
|
-
pricing_plan_subscription_item: PricingPlanSubscriptionItem,
|
|
3595
|
-
}
|
|
3596
|
-
end
|
|
3597
|
-
|
|
3598
|
-
def self.field_remappings
|
|
3599
|
-
@field_remappings = {}
|
|
3600
|
-
end
|
|
3601
|
-
end
|
|
3602
2386
|
# Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
|
|
3603
2387
|
attr_reader :adaptive_pricing
|
|
3604
2388
|
# When set, provides configuration for actions to take if this Checkout Session expires.
|
|
@@ -3611,16 +2395,6 @@ module Stripe
|
|
|
3611
2395
|
attr_reader :amount_subtotal
|
|
3612
2396
|
# Total of all items after discounts and taxes are applied.
|
|
3613
2397
|
attr_reader :amount_total
|
|
3614
|
-
# Determines whether the customer's attempt to pay must be manually approved.
|
|
3615
|
-
#
|
|
3616
|
-
# Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
|
|
3617
|
-
#
|
|
3618
|
-
# When set to `manual`, you must approve the customer's attempt to pay by calling [approve](/api/checkout/sessions/approve) from your server.
|
|
3619
|
-
attr_reader :approval_method
|
|
3620
|
-
# Attribute for field automatic_pass_through_fee
|
|
3621
|
-
attr_reader :automatic_pass_through_fee
|
|
3622
|
-
# Attribute for field automatic_surcharge
|
|
3623
|
-
attr_reader :automatic_surcharge
|
|
3624
2398
|
# Attribute for field automatic_tax
|
|
3625
2399
|
attr_reader :automatic_tax
|
|
3626
2400
|
# Describes whether Checkout should collect the customer's billing address. Defaults to `auto`.
|
|
@@ -3629,8 +2403,6 @@ module Stripe
|
|
|
3629
2403
|
attr_reader :branding_settings
|
|
3630
2404
|
# If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.
|
|
3631
2405
|
attr_reader :cancel_url
|
|
3632
|
-
# Attribute for field checkout_items
|
|
3633
|
-
attr_reader :checkout_items
|
|
3634
2406
|
# A unique string to reference the Checkout Session. This can be a
|
|
3635
2407
|
# customer ID, a cart ID, or similar, and can be used to reconcile the
|
|
3636
2408
|
# Session with your internal systems.
|
|
@@ -3650,13 +2422,8 @@ module Stripe
|
|
|
3650
2422
|
attr_reader :currency
|
|
3651
2423
|
# Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions created before 2025-03-31.
|
|
3652
2424
|
attr_reader :currency_conversion
|
|
3653
|
-
# The customer's pending attempt to pay that requires your approval. Contains information about the customer and their payment details.
|
|
3654
|
-
attr_reader :current_attempt
|
|
3655
2425
|
# Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `elements`.
|
|
3656
2426
|
attr_reader :custom_fields
|
|
3657
|
-
# A list of the types of [custom payment methods](https://docs.stripe.com/payments/payment-methods/custom-payment-methods) (e.g. cpmt_123) this Checkout
|
|
3658
|
-
# Session is allowed to accept.
|
|
3659
|
-
attr_reader :custom_payment_method_types
|
|
3660
2427
|
# Attribute for field custom_text
|
|
3661
2428
|
attr_reader :custom_text
|
|
3662
2429
|
# The ID of the customer for this Session.
|
|
@@ -3691,8 +2458,6 @@ module Stripe
|
|
|
3691
2458
|
attr_reader :invoice
|
|
3692
2459
|
# Details on the state of invoice creation for the Checkout Session.
|
|
3693
2460
|
attr_reader :invoice_creation
|
|
3694
|
-
# The items to be purchased by the customer.
|
|
3695
|
-
attr_reader :items
|
|
3696
2461
|
# The line items purchased by the customer.
|
|
3697
2462
|
attr_reader :line_items
|
|
3698
2463
|
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
@@ -3701,8 +2466,6 @@ module Stripe
|
|
|
3701
2466
|
attr_reader :locale
|
|
3702
2467
|
# Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).
|
|
3703
2468
|
attr_reader :managed_payments
|
|
3704
|
-
# Advertising attribution information for this Checkout Session.
|
|
3705
|
-
attr_reader :marketing_attributions
|
|
3706
2469
|
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
3707
2470
|
attr_reader :metadata
|
|
3708
2471
|
# The mode of the Checkout Session.
|
|
@@ -3711,14 +2474,10 @@ module Stripe
|
|
|
3711
2474
|
attr_reader :name_collection
|
|
3712
2475
|
# String representing the object's type. Objects of the same type share the same value.
|
|
3713
2476
|
attr_reader :object
|
|
3714
|
-
# The account on behalf of which to charge. See the [Connect documentation](https://support.stripe.com/questions/sending-invoices-on-behalf-of-connected-accounts) for details.
|
|
3715
|
-
attr_reader :on_behalf_of
|
|
3716
2477
|
# The optional items presented to the customer at checkout.
|
|
3717
2478
|
attr_reader :optional_items
|
|
3718
2479
|
# Where the user is coming from. This informs the optimizations that are applied to the session.
|
|
3719
2480
|
attr_reader :origin_context
|
|
3720
|
-
# Attribute for field pass_through_fee_cost
|
|
3721
|
-
attr_reader :pass_through_fee_cost
|
|
3722
2481
|
# The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://docs.stripe.com/api/checkout/sessions/expire) instead.
|
|
3723
2482
|
attr_reader :payment_intent
|
|
3724
2483
|
# The ID of the Payment Link that created this Session.
|
|
@@ -3732,12 +2491,6 @@ module Stripe
|
|
|
3732
2491
|
# A list of the types of payment methods (e.g. card) this Checkout
|
|
3733
2492
|
# Session is allowed to accept.
|
|
3734
2493
|
attr_reader :payment_method_types
|
|
3735
|
-
# The [Payment Record](https://docs.stripe.com/api/payment-record) for this Checkout Session.
|
|
3736
|
-
attr_reader :payment_record
|
|
3737
|
-
# The ID of the Payment Reservation for this Checkout Session.
|
|
3738
|
-
attr_reader :payment_reservation
|
|
3739
|
-
# Attribute for field payment_settings
|
|
3740
|
-
attr_reader :payment_settings
|
|
3741
2494
|
# The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`.
|
|
3742
2495
|
# You can use this value to decide when to fulfill your customer's order.
|
|
3743
2496
|
attr_reader :payment_status
|
|
@@ -3778,8 +2531,6 @@ module Stripe
|
|
|
3778
2531
|
# The URL the customer will be directed to after the payment or
|
|
3779
2532
|
# subscription creation is successful.
|
|
3780
2533
|
attr_reader :success_url
|
|
3781
|
-
# Attribute for field surcharge_cost
|
|
3782
|
-
attr_reader :surcharge_cost
|
|
3783
2534
|
# Attribute for field tax_id_collection
|
|
3784
2535
|
attr_reader :tax_id_collection
|
|
3785
2536
|
# Tax and discount details for the computed total amount.
|
|
@@ -3792,26 +2543,6 @@ module Stripe
|
|
|
3792
2543
|
# Wallet-specific configuration for this Checkout Session.
|
|
3793
2544
|
attr_reader :wallet_options
|
|
3794
2545
|
|
|
3795
|
-
# Approves a customer's attempt to pay for a Checkout Session with approval_method set to manual.
|
|
3796
|
-
def approve(params = {}, opts = {})
|
|
3797
|
-
request_stripe_object(
|
|
3798
|
-
method: :post,
|
|
3799
|
-
path: format("/v1/checkout/sessions/%<session>s/approve", { session: CGI.escape(self["id"]) }),
|
|
3800
|
-
params: params,
|
|
3801
|
-
opts: opts
|
|
3802
|
-
)
|
|
3803
|
-
end
|
|
3804
|
-
|
|
3805
|
-
# Approves a customer's attempt to pay for a Checkout Session with approval_method set to manual.
|
|
3806
|
-
def self.approve(session, params = {}, opts = {})
|
|
3807
|
-
request_stripe_object(
|
|
3808
|
-
method: :post,
|
|
3809
|
-
path: format("/v1/checkout/sessions/%<session>s/approve", { session: CGI.escape(session) }),
|
|
3810
|
-
params: params,
|
|
3811
|
-
opts: opts
|
|
3812
|
-
)
|
|
3813
|
-
end
|
|
3814
|
-
|
|
3815
2546
|
# Creates a Checkout Session object.
|
|
3816
2547
|
#
|
|
3817
2548
|
# Validate requests on your server and protect your application's Session-creation endpoint with access controls and limits on repeated creation. See [Protect your Session-creation endpoint](https://docs.stripe.com/payments/accept-a-payment?payment-ui=elements&api-integration=checkout#protect-session-creation).
|
|
@@ -3894,29 +2625,22 @@ module Stripe
|
|
|
3894
2625
|
@inner_class_types = {
|
|
3895
2626
|
adaptive_pricing: AdaptivePricing,
|
|
3896
2627
|
after_expiration: AfterExpiration,
|
|
3897
|
-
automatic_pass_through_fee: AutomaticPassThroughFee,
|
|
3898
|
-
automatic_surcharge: AutomaticSurcharge,
|
|
3899
2628
|
automatic_tax: AutomaticTax,
|
|
3900
2629
|
branding_settings: BrandingSettings,
|
|
3901
2630
|
collected_information: CollectedInformation,
|
|
3902
2631
|
consent: Consent,
|
|
3903
2632
|
consent_collection: ConsentCollection,
|
|
3904
2633
|
currency_conversion: CurrencyConversion,
|
|
3905
|
-
current_attempt: CurrentAttempt,
|
|
3906
2634
|
custom_fields: CustomField,
|
|
3907
2635
|
custom_text: CustomText,
|
|
3908
2636
|
customer_details: CustomerDetails,
|
|
3909
2637
|
discounts: Discount,
|
|
3910
2638
|
invoice_creation: InvoiceCreation,
|
|
3911
|
-
items: Item,
|
|
3912
2639
|
managed_payments: ManagedPayments,
|
|
3913
|
-
marketing_attributions: MarketingAttribution,
|
|
3914
2640
|
name_collection: NameCollection,
|
|
3915
2641
|
optional_items: OptionalItem,
|
|
3916
|
-
pass_through_fee_cost: PassThroughFeeCost,
|
|
3917
2642
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
3918
2643
|
payment_method_options: PaymentMethodOptions,
|
|
3919
|
-
payment_settings: PaymentSettings,
|
|
3920
2644
|
permissions: Permissions,
|
|
3921
2645
|
phone_number_collection: PhoneNumberCollection,
|
|
3922
2646
|
presentment_details: PresentmentDetails,
|
|
@@ -3925,11 +2649,9 @@ module Stripe
|
|
|
3925
2649
|
shipping_address_collection: ShippingAddressCollection,
|
|
3926
2650
|
shipping_cost: ShippingCost,
|
|
3927
2651
|
shipping_options: ShippingOption,
|
|
3928
|
-
surcharge_cost: SurchargeCost,
|
|
3929
2652
|
tax_id_collection: TaxIdCollection,
|
|
3930
2653
|
total_details: TotalDetails,
|
|
3931
2654
|
wallet_options: WalletOptions,
|
|
3932
|
-
checkout_items: CheckoutItem,
|
|
3933
2655
|
}
|
|
3934
2656
|
end
|
|
3935
2657
|
|
|
@@ -3943,68 +2665,6 @@ module Stripe
|
|
|
3943
2665
|
kind: :nullable,
|
|
3944
2666
|
inner: { kind: :object, fields: { fx_rate: :decimal_string } },
|
|
3945
2667
|
},
|
|
3946
|
-
items: {
|
|
3947
|
-
kind: :array,
|
|
3948
|
-
element: {
|
|
3949
|
-
kind: :object,
|
|
3950
|
-
fields: {
|
|
3951
|
-
metronome_commit: {
|
|
3952
|
-
kind: :object,
|
|
3953
|
-
fields: {
|
|
3954
|
-
commits: {
|
|
3955
|
-
kind: :array,
|
|
3956
|
-
element: {
|
|
3957
|
-
kind: :object,
|
|
3958
|
-
fields: {
|
|
3959
|
-
access_schedule: {
|
|
3960
|
-
kind: :nullable,
|
|
3961
|
-
inner: {
|
|
3962
|
-
kind: :object,
|
|
3963
|
-
fields: {
|
|
3964
|
-
schedule_items: {
|
|
3965
|
-
kind: :array,
|
|
3966
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
3967
|
-
},
|
|
3968
|
-
},
|
|
3969
|
-
},
|
|
3970
|
-
},
|
|
3971
|
-
priority: { kind: :nullable, inner: :decimal_string },
|
|
3972
|
-
rollover_fraction: { kind: :nullable, inner: :decimal_string },
|
|
3973
|
-
},
|
|
3974
|
-
},
|
|
3975
|
-
},
|
|
3976
|
-
},
|
|
3977
|
-
},
|
|
3978
|
-
},
|
|
3979
|
-
},
|
|
3980
|
-
},
|
|
3981
|
-
payment_settings: {
|
|
3982
|
-
kind: :object,
|
|
3983
|
-
fields: {
|
|
3984
|
-
application_fee_data: {
|
|
3985
|
-
kind: :nullable,
|
|
3986
|
-
inner: {
|
|
3987
|
-
kind: :object,
|
|
3988
|
-
fields: { percentage_decimal: { kind: :nullable, inner: :decimal_string } },
|
|
3989
|
-
},
|
|
3990
|
-
},
|
|
3991
|
-
transfer_data: {
|
|
3992
|
-
kind: :nullable,
|
|
3993
|
-
inner: {
|
|
3994
|
-
kind: :object,
|
|
3995
|
-
fields: {
|
|
3996
|
-
transfer_amount: {
|
|
3997
|
-
kind: :nullable,
|
|
3998
|
-
inner: {
|
|
3999
|
-
kind: :object,
|
|
4000
|
-
fields: { percentage_decimal: { kind: :nullable, inner: :decimal_string } },
|
|
4001
|
-
},
|
|
4002
|
-
},
|
|
4003
|
-
},
|
|
4004
|
-
},
|
|
4005
|
-
},
|
|
4006
|
-
},
|
|
4007
|
-
},
|
|
4008
2668
|
}
|
|
4009
2669
|
end
|
|
4010
2670
|
end
|