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
|
@@ -35,36 +35,6 @@ module Stripe
|
|
|
35
35
|
end
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
class AutomaticPassThroughFee < ::Stripe::RequestParams
|
|
39
|
-
# Whether the fee is calculated on the amount due before or after tax. Required when `enabled` is `true`.
|
|
40
|
-
attr_accessor :calculation_basis
|
|
41
|
-
# Set to `true` to calculate a pass-through fee using the customer's payment method details and location.
|
|
42
|
-
attr_accessor :enabled
|
|
43
|
-
# The type of fee to calculate. Required when `enabled` is `true`.
|
|
44
|
-
attr_accessor :type
|
|
45
|
-
|
|
46
|
-
def initialize(calculation_basis: nil, enabled: nil, type: nil)
|
|
47
|
-
@calculation_basis = calculation_basis
|
|
48
|
-
@enabled = enabled
|
|
49
|
-
@type = type
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
class AutomaticSurcharge < ::Stripe::RequestParams
|
|
54
|
-
# Determines which amount serves as the basis for calculating the surcharge.
|
|
55
|
-
attr_accessor :calculation_basis
|
|
56
|
-
# Set to `true` to calculate surcharge automatically using the customer's card details and location.
|
|
57
|
-
attr_accessor :enabled
|
|
58
|
-
# Specifies whether the surcharge is considered inclusive or exclusive of taxes.
|
|
59
|
-
attr_accessor :tax_behavior
|
|
60
|
-
|
|
61
|
-
def initialize(calculation_basis: nil, enabled: nil, tax_behavior: nil)
|
|
62
|
-
@calculation_basis = calculation_basis
|
|
63
|
-
@enabled = enabled
|
|
64
|
-
@tax_behavior = tax_behavior
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
|
|
68
38
|
class AutomaticTax < ::Stripe::RequestParams
|
|
69
39
|
class Liability < ::Stripe::RequestParams
|
|
70
40
|
# The connected account being referenced when `type` is `account`.
|
|
@@ -161,81 +131,6 @@ module Stripe
|
|
|
161
131
|
end
|
|
162
132
|
end
|
|
163
133
|
|
|
164
|
-
class CheckoutItem < ::Stripe::RequestParams
|
|
165
|
-
class PricingPlanSubscriptionItem < ::Stripe::RequestParams
|
|
166
|
-
class ComponentConfigurations < ::Stripe::RequestParams
|
|
167
|
-
class LicenseFeeComponent < ::Stripe::RequestParams
|
|
168
|
-
# Attribute for param field quantity
|
|
169
|
-
attr_accessor :quantity
|
|
170
|
-
|
|
171
|
-
def initialize(quantity: nil)
|
|
172
|
-
@quantity = quantity
|
|
173
|
-
end
|
|
174
|
-
end
|
|
175
|
-
# Attribute for param field type
|
|
176
|
-
attr_accessor :type
|
|
177
|
-
# Attribute for param field license_fee_component
|
|
178
|
-
attr_accessor :license_fee_component
|
|
179
|
-
|
|
180
|
-
def initialize(type: nil, license_fee_component: nil)
|
|
181
|
-
@type = type
|
|
182
|
-
@license_fee_component = license_fee_component
|
|
183
|
-
end
|
|
184
|
-
end
|
|
185
|
-
# Attribute for param field pricing_plan
|
|
186
|
-
attr_accessor :pricing_plan
|
|
187
|
-
# Attribute for param field pricing_plan_version
|
|
188
|
-
attr_accessor :pricing_plan_version
|
|
189
|
-
# Attribute for param field metadata
|
|
190
|
-
attr_accessor :metadata
|
|
191
|
-
# Attribute for param field component_configurations
|
|
192
|
-
attr_accessor :component_configurations
|
|
193
|
-
|
|
194
|
-
def initialize(
|
|
195
|
-
pricing_plan: nil,
|
|
196
|
-
pricing_plan_version: nil,
|
|
197
|
-
metadata: nil,
|
|
198
|
-
component_configurations: nil
|
|
199
|
-
)
|
|
200
|
-
@pricing_plan = pricing_plan
|
|
201
|
-
@pricing_plan_version = pricing_plan_version
|
|
202
|
-
@metadata = metadata
|
|
203
|
-
@component_configurations = component_configurations
|
|
204
|
-
end
|
|
205
|
-
end
|
|
206
|
-
|
|
207
|
-
class RateCardSubscriptionItem < ::Stripe::RequestParams
|
|
208
|
-
# Attribute for param field rate_card
|
|
209
|
-
attr_accessor :rate_card
|
|
210
|
-
# Attribute for param field metadata
|
|
211
|
-
attr_accessor :metadata
|
|
212
|
-
# Attribute for param field rate_card_version
|
|
213
|
-
attr_accessor :rate_card_version
|
|
214
|
-
|
|
215
|
-
def initialize(rate_card: nil, metadata: nil, rate_card_version: nil)
|
|
216
|
-
@rate_card = rate_card
|
|
217
|
-
@metadata = metadata
|
|
218
|
-
@rate_card_version = rate_card_version
|
|
219
|
-
end
|
|
220
|
-
end
|
|
221
|
-
# Attribute for param field type
|
|
222
|
-
attr_accessor :type
|
|
223
|
-
# Attribute for param field rate_card_subscription_item
|
|
224
|
-
attr_accessor :rate_card_subscription_item
|
|
225
|
-
# Attribute for param field pricing_plan_subscription_item
|
|
226
|
-
attr_accessor :pricing_plan_subscription_item
|
|
227
|
-
|
|
228
|
-
def initialize(
|
|
229
|
-
type: nil,
|
|
230
|
-
rate_card_subscription_item: nil,
|
|
231
|
-
pricing_plan_subscription_item: nil
|
|
232
|
-
)
|
|
233
|
-
@type = type
|
|
234
|
-
@rate_card_subscription_item = rate_card_subscription_item
|
|
235
|
-
@pricing_plan_subscription_item = pricing_plan_subscription_item
|
|
236
|
-
end
|
|
237
|
-
end
|
|
238
|
-
|
|
239
134
|
class ConsentCollection < ::Stripe::RequestParams
|
|
240
135
|
class PaymentMethodReuseAgreement < ::Stripe::RequestParams
|
|
241
136
|
# Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's
|
|
@@ -362,15 +257,6 @@ module Stripe
|
|
|
362
257
|
end
|
|
363
258
|
end
|
|
364
259
|
|
|
365
|
-
class CustomPaymentMethodOptions < ::Stripe::RequestParams
|
|
366
|
-
# Use `off_session` to set up this custom payment method for future payments when the customer is absent. Use `none` to disable setup for future usage.
|
|
367
|
-
attr_accessor :setup_future_usage
|
|
368
|
-
|
|
369
|
-
def initialize(setup_future_usage: nil)
|
|
370
|
-
@setup_future_usage = setup_future_usage
|
|
371
|
-
end
|
|
372
|
-
end
|
|
373
|
-
|
|
374
260
|
class CustomText < ::Stripe::RequestParams
|
|
375
261
|
class AfterSubmit < ::Stripe::RequestParams
|
|
376
262
|
# Text can be up to 1200 characters in length.
|
|
@@ -572,616 +458,6 @@ module Stripe
|
|
|
572
458
|
end
|
|
573
459
|
end
|
|
574
460
|
|
|
575
|
-
class Item < ::Stripe::RequestParams
|
|
576
|
-
class MetronomeCommit < ::Stripe::RequestParams
|
|
577
|
-
class Commit < ::Stripe::RequestParams
|
|
578
|
-
class AccessSchedule < ::Stripe::RequestParams
|
|
579
|
-
class ScheduleItem < ::Stripe::RequestParams
|
|
580
|
-
# The access amount in credit_type_id units.
|
|
581
|
-
attr_accessor :amount
|
|
582
|
-
# Hour-aligned RFC 3339 timestamp in UTC at which access to the balance amount ends (exclusive).
|
|
583
|
-
attr_accessor :ending_before
|
|
584
|
-
# Hour-aligned RFC 3339 timestamp in UTC at which access to the balance amount starts (inclusive).
|
|
585
|
-
attr_accessor :starting_at
|
|
586
|
-
|
|
587
|
-
def initialize(amount: nil, ending_before: nil, starting_at: nil)
|
|
588
|
-
@amount = amount
|
|
589
|
-
@ending_before = ending_before
|
|
590
|
-
@starting_at = starting_at
|
|
591
|
-
end
|
|
592
|
-
|
|
593
|
-
def self.field_encodings
|
|
594
|
-
@field_encodings = { amount: :decimal_string }
|
|
595
|
-
end
|
|
596
|
-
end
|
|
597
|
-
# The fixed price the buyer pays, in minor currency units.
|
|
598
|
-
attr_accessor :price_amount
|
|
599
|
-
# When and how many credits become available.
|
|
600
|
-
attr_accessor :schedule_items
|
|
601
|
-
|
|
602
|
-
def initialize(price_amount: nil, schedule_items: nil)
|
|
603
|
-
@price_amount = price_amount
|
|
604
|
-
@schedule_items = schedule_items
|
|
605
|
-
end
|
|
606
|
-
|
|
607
|
-
def self.field_encodings
|
|
608
|
-
@field_encodings = {
|
|
609
|
-
schedule_items: {
|
|
610
|
-
kind: :array,
|
|
611
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
612
|
-
},
|
|
613
|
-
}
|
|
614
|
-
end
|
|
615
|
-
end
|
|
616
|
-
|
|
617
|
-
class CommitOptions < ::Stripe::RequestParams
|
|
618
|
-
class CustomAmount < ::Stripe::RequestParams
|
|
619
|
-
# Must be `true` when `custom_amount` is present. Omit `custom_amount` to disable custom amounts.
|
|
620
|
-
attr_accessor :enabled
|
|
621
|
-
# Maximum `access_amount` the customer can enter. Defaults to `999999999999999` when omitted.
|
|
622
|
-
attr_accessor :maximum
|
|
623
|
-
# Minimum `access_amount` the customer can enter. Defaults to `1` when omitted.
|
|
624
|
-
attr_accessor :minimum
|
|
625
|
-
|
|
626
|
-
def initialize(enabled: nil, maximum: nil, minimum: nil)
|
|
627
|
-
@enabled = enabled
|
|
628
|
-
@maximum = maximum
|
|
629
|
-
@minimum = minimum
|
|
630
|
-
end
|
|
631
|
-
end
|
|
632
|
-
|
|
633
|
-
class DiscountTier < ::Stripe::RequestParams
|
|
634
|
-
# Percentage discount applied to the full access_amount when it falls in this tier.
|
|
635
|
-
attr_accessor :discount_percentage
|
|
636
|
-
# Upper bound (inclusive) in credit_type_id units. Use `inf` to define an unbounded tier.
|
|
637
|
-
attr_accessor :up_to
|
|
638
|
-
|
|
639
|
-
def initialize(discount_percentage: nil, up_to: nil)
|
|
640
|
-
@discount_percentage = discount_percentage
|
|
641
|
-
@up_to = up_to
|
|
642
|
-
end
|
|
643
|
-
end
|
|
644
|
-
|
|
645
|
-
class Option < ::Stripe::RequestParams
|
|
646
|
-
# The access amount for this option, in credit_type_id units.
|
|
647
|
-
attr_accessor :access_amount
|
|
648
|
-
# Whether this option is pre-selected in the Checkout UI. At most one option may be marked true.
|
|
649
|
-
attr_accessor :default_option
|
|
650
|
-
|
|
651
|
-
def initialize(access_amount: nil, default_option: nil)
|
|
652
|
-
@access_amount = access_amount
|
|
653
|
-
@default_option = default_option
|
|
654
|
-
end
|
|
655
|
-
end
|
|
656
|
-
# Optionally let the buyer enter a custom access amount.
|
|
657
|
-
attr_accessor :custom_amount
|
|
658
|
-
# Volume-based discount tiers.
|
|
659
|
-
attr_accessor :discount_tiers
|
|
660
|
-
# When access for the purchased credits ends. Hour-aligned UTC timestamp.
|
|
661
|
-
attr_accessor :ending_before
|
|
662
|
-
# Access-amount presets for the buyer to choose from.
|
|
663
|
-
attr_accessor :options
|
|
664
|
-
# When access for the purchased credits starts. Hour-aligned UTC timestamp.
|
|
665
|
-
attr_accessor :starting_at
|
|
666
|
-
|
|
667
|
-
def initialize(
|
|
668
|
-
custom_amount: nil,
|
|
669
|
-
discount_tiers: nil,
|
|
670
|
-
ending_before: nil,
|
|
671
|
-
options: nil,
|
|
672
|
-
starting_at: nil
|
|
673
|
-
)
|
|
674
|
-
@custom_amount = custom_amount
|
|
675
|
-
@discount_tiers = discount_tiers
|
|
676
|
-
@ending_before = ending_before
|
|
677
|
-
@options = options
|
|
678
|
-
@starting_at = starting_at
|
|
679
|
-
end
|
|
680
|
-
end
|
|
681
|
-
|
|
682
|
-
class Specifier < ::Stripe::RequestParams
|
|
683
|
-
# Key-value pairs for presentation group filters.
|
|
684
|
-
attr_accessor :presentation_group_values
|
|
685
|
-
# Key-value pairs for pricing group filters.
|
|
686
|
-
attr_accessor :pricing_group_values
|
|
687
|
-
# Metronome product ID to scope this specifier to.
|
|
688
|
-
attr_accessor :product_id
|
|
689
|
-
# Metronome product tags to scope this specifier to. A product matches this filter only if it has all specified tags.
|
|
690
|
-
attr_accessor :product_tags
|
|
691
|
-
|
|
692
|
-
def initialize(
|
|
693
|
-
presentation_group_values: nil,
|
|
694
|
-
pricing_group_values: nil,
|
|
695
|
-
product_id: nil,
|
|
696
|
-
product_tags: nil
|
|
697
|
-
)
|
|
698
|
-
@presentation_group_values = presentation_group_values
|
|
699
|
-
@pricing_group_values = pricing_group_values
|
|
700
|
-
@product_id = product_id
|
|
701
|
-
@product_tags = product_tags
|
|
702
|
-
end
|
|
703
|
-
end
|
|
704
|
-
|
|
705
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
706
|
-
# Stripe [tax code](https://docs.stripe.com/tax/tax-codes) for this commit (for example, `txcd_10103000`). If the linked Stripe Product has a tax code, this value must match it.
|
|
707
|
-
attr_accessor :tax_code
|
|
708
|
-
|
|
709
|
-
def initialize(tax_code: nil)
|
|
710
|
-
@tax_code = tax_code
|
|
711
|
-
end
|
|
712
|
-
end
|
|
713
|
-
# Sets the balance amount and release schedule. Mutually exclusive with `commit_options`.
|
|
714
|
-
attr_accessor :access_schedule
|
|
715
|
-
# Metronome product tags this commit can be drawn down against. A product matches if it has at least one of the specified tags. Mutually exclusive with `specifiers`. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all omitted, 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).
|
|
716
|
-
attr_accessor :applicable_metronome_product_tags
|
|
717
|
-
# Metronome product IDs this commit can be drawn down against. Mutually exclusive with `specifiers`. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all omitted, 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).
|
|
718
|
-
attr_accessor :applicable_metronome_products
|
|
719
|
-
# Customer selects the balance amount to purchase. Mutually exclusive with `access_schedule`.
|
|
720
|
-
attr_accessor :commit_options
|
|
721
|
-
# The Metronome Custom Pricing Unit credit type ID for this commit, whose access amounts are credit counts. Omit it to price in fiat, where access amounts are in the smallest unit of `price_configuration[currency]`. Fiat credit type IDs are not accepted.
|
|
722
|
-
attr_accessor :credit_type_id
|
|
723
|
-
# 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).
|
|
724
|
-
attr_accessor :custom_fields
|
|
725
|
-
# Free-form description. Forwarded to the Metronome commit's description.
|
|
726
|
-
attr_accessor :description
|
|
727
|
-
# The Metronome product ID for this commit.
|
|
728
|
-
attr_accessor :metronome_product
|
|
729
|
-
# Display name for the commit. Surfaced on the Metronome commit's name.
|
|
730
|
-
attr_accessor :name
|
|
731
|
-
# Priority for applying the commit. Lower priority values apply first. Forwarded to Metronome as-is.
|
|
732
|
-
attr_accessor :priority
|
|
733
|
-
# Specifies which rates are used to draw down the commit. Accepts `commit_rate`, `list_rate`, `COMMIT_RATE`, or `LIST_RATE`.
|
|
734
|
-
attr_accessor :rate_type
|
|
735
|
-
# Fraction of unused balance that rolls over on a Metronome contract transition. Must be between `0` and `1`. Forwarded to Metronome as-is.
|
|
736
|
-
attr_accessor :rollover_fraction
|
|
737
|
-
# Usage filters that determine what draws down the commit. If multiple specifiers are provided, a product only needs to match one. Mutually exclusive with `applicable_metronome_products` and `applicable_metronome_product_tags`. If `applicable_metronome_products`, `applicable_metronome_product_tags`, and `specifiers` are all omitted, 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).
|
|
738
|
-
attr_accessor :specifiers
|
|
739
|
-
# Tax details for this commit. If omitted, Stripe uses the tax code from the Stripe product linked to the Metronome commit product. If there is no linked Stripe product or the Stripe product has no tax code configured, the [preset tax rate on your account](https://docs.stripe.com/api/tax/settings/object#tax_settings_object-defaults-tax_code) will be used. If provided, `tax_code` is required.
|
|
740
|
-
attr_accessor :tax_details
|
|
741
|
-
|
|
742
|
-
def initialize(
|
|
743
|
-
access_schedule: nil,
|
|
744
|
-
applicable_metronome_product_tags: nil,
|
|
745
|
-
applicable_metronome_products: nil,
|
|
746
|
-
commit_options: nil,
|
|
747
|
-
credit_type_id: nil,
|
|
748
|
-
custom_fields: nil,
|
|
749
|
-
description: nil,
|
|
750
|
-
metronome_product: nil,
|
|
751
|
-
name: nil,
|
|
752
|
-
priority: nil,
|
|
753
|
-
rate_type: nil,
|
|
754
|
-
rollover_fraction: nil,
|
|
755
|
-
specifiers: nil,
|
|
756
|
-
tax_details: nil
|
|
757
|
-
)
|
|
758
|
-
@access_schedule = access_schedule
|
|
759
|
-
@applicable_metronome_product_tags = applicable_metronome_product_tags
|
|
760
|
-
@applicable_metronome_products = applicable_metronome_products
|
|
761
|
-
@commit_options = commit_options
|
|
762
|
-
@credit_type_id = credit_type_id
|
|
763
|
-
@custom_fields = custom_fields
|
|
764
|
-
@description = description
|
|
765
|
-
@metronome_product = metronome_product
|
|
766
|
-
@name = name
|
|
767
|
-
@priority = priority
|
|
768
|
-
@rate_type = rate_type
|
|
769
|
-
@rollover_fraction = rollover_fraction
|
|
770
|
-
@specifiers = specifiers
|
|
771
|
-
@tax_details = tax_details
|
|
772
|
-
end
|
|
773
|
-
|
|
774
|
-
def self.field_encodings
|
|
775
|
-
@field_encodings = {
|
|
776
|
-
access_schedule: {
|
|
777
|
-
kind: :object,
|
|
778
|
-
fields: {
|
|
779
|
-
schedule_items: {
|
|
780
|
-
kind: :array,
|
|
781
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
782
|
-
},
|
|
783
|
-
},
|
|
784
|
-
},
|
|
785
|
-
priority: :decimal_string,
|
|
786
|
-
rollover_fraction: :decimal_string,
|
|
787
|
-
}
|
|
788
|
-
end
|
|
789
|
-
end
|
|
790
|
-
|
|
791
|
-
class PriceConfiguration < ::Stripe::RequestParams
|
|
792
|
-
# The currency for this commit purchase, as an ISO 4217 lowercase string (for example, `usd`).
|
|
793
|
-
attr_accessor :currency
|
|
794
|
-
# 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.
|
|
795
|
-
attr_accessor :tax_behavior
|
|
796
|
-
|
|
797
|
-
def initialize(currency: nil, tax_behavior: nil)
|
|
798
|
-
@currency = currency
|
|
799
|
-
@tax_behavior = tax_behavior
|
|
800
|
-
end
|
|
801
|
-
end
|
|
802
|
-
# The list of commits to create for this Metronome contract.
|
|
803
|
-
attr_accessor :commits
|
|
804
|
-
# The Metronome contract ID to associate with this checkout item.
|
|
805
|
-
attr_accessor :metronome_contract
|
|
806
|
-
# The currency and tax behavior configuration for this commit purchase.
|
|
807
|
-
attr_accessor :price_configuration
|
|
808
|
-
|
|
809
|
-
def initialize(commits: nil, metronome_contract: nil, price_configuration: nil)
|
|
810
|
-
@commits = commits
|
|
811
|
-
@metronome_contract = metronome_contract
|
|
812
|
-
@price_configuration = price_configuration
|
|
813
|
-
end
|
|
814
|
-
|
|
815
|
-
def self.field_encodings
|
|
816
|
-
@field_encodings = {
|
|
817
|
-
commits: {
|
|
818
|
-
kind: :array,
|
|
819
|
-
element: {
|
|
820
|
-
kind: :object,
|
|
821
|
-
fields: {
|
|
822
|
-
access_schedule: {
|
|
823
|
-
kind: :object,
|
|
824
|
-
fields: {
|
|
825
|
-
schedule_items: {
|
|
826
|
-
kind: :array,
|
|
827
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
828
|
-
},
|
|
829
|
-
},
|
|
830
|
-
},
|
|
831
|
-
priority: :decimal_string,
|
|
832
|
-
rollover_fraction: :decimal_string,
|
|
833
|
-
},
|
|
834
|
-
},
|
|
835
|
-
},
|
|
836
|
-
}
|
|
837
|
-
end
|
|
838
|
-
end
|
|
839
|
-
|
|
840
|
-
class Subscription < ::Stripe::RequestParams
|
|
841
|
-
class BillingCycleAnchorConfig < ::Stripe::RequestParams
|
|
842
|
-
# The day of the month the anchor should be. Ranges from 1 to 31.
|
|
843
|
-
attr_accessor :day_of_month
|
|
844
|
-
# The hour of the day the anchor should be. Ranges from 0 to 23.
|
|
845
|
-
attr_accessor :hour
|
|
846
|
-
# The minute of the hour the anchor should be. Ranges from 0 to 59.
|
|
847
|
-
attr_accessor :minute
|
|
848
|
-
# The month to start full cycle periods. Ranges from 1 to 12.
|
|
849
|
-
attr_accessor :month
|
|
850
|
-
# The second of the minute the anchor should be. Ranges from 0 to 59.
|
|
851
|
-
attr_accessor :second
|
|
852
|
-
|
|
853
|
-
def initialize(day_of_month: nil, hour: nil, minute: nil, month: nil, second: nil)
|
|
854
|
-
@day_of_month = day_of_month
|
|
855
|
-
@hour = hour
|
|
856
|
-
@minute = minute
|
|
857
|
-
@month = month
|
|
858
|
-
@second = second
|
|
859
|
-
end
|
|
860
|
-
end
|
|
861
|
-
|
|
862
|
-
class BillingMode < ::Stripe::RequestParams
|
|
863
|
-
class Flexible < ::Stripe::RequestParams
|
|
864
|
-
# Controls how invoices and invoice items display proration amounts and discount amounts.
|
|
865
|
-
attr_accessor :proration_discounts
|
|
866
|
-
|
|
867
|
-
def initialize(proration_discounts: nil)
|
|
868
|
-
@proration_discounts = proration_discounts
|
|
869
|
-
end
|
|
870
|
-
end
|
|
871
|
-
# Configure behavior for flexible billing mode.
|
|
872
|
-
attr_accessor :flexible
|
|
873
|
-
# Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.
|
|
874
|
-
attr_accessor :type
|
|
875
|
-
|
|
876
|
-
def initialize(flexible: nil, type: nil)
|
|
877
|
-
@flexible = flexible
|
|
878
|
-
@type = type
|
|
879
|
-
end
|
|
880
|
-
end
|
|
881
|
-
|
|
882
|
-
class Item < ::Stripe::RequestParams
|
|
883
|
-
class AdjustableQuantity < ::Stripe::RequestParams
|
|
884
|
-
# Set to true if the quantity can be adjusted to any non-negative integer.
|
|
885
|
-
attr_accessor :enabled
|
|
886
|
-
# The maximum quantity the customer can purchase for the Checkout Session. By default this value is 99. You can specify a value up to 999999.
|
|
887
|
-
attr_accessor :maximum
|
|
888
|
-
# The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0.
|
|
889
|
-
attr_accessor :minimum
|
|
890
|
-
|
|
891
|
-
def initialize(enabled: nil, maximum: nil, minimum: nil)
|
|
892
|
-
@enabled = enabled
|
|
893
|
-
@maximum = maximum
|
|
894
|
-
@minimum = minimum
|
|
895
|
-
end
|
|
896
|
-
end
|
|
897
|
-
|
|
898
|
-
class CurrentTrial < ::Stripe::RequestParams
|
|
899
|
-
# The ID of the [Trial Offer](https://docs.stripe.com/api/product-catalog/trial-offer?api-version=2026-03-25.preview).
|
|
900
|
-
attr_accessor :trial_offer
|
|
901
|
-
|
|
902
|
-
def initialize(trial_offer: nil)
|
|
903
|
-
@trial_offer = trial_offer
|
|
904
|
-
end
|
|
905
|
-
end
|
|
906
|
-
|
|
907
|
-
class PriceData < ::Stripe::RequestParams
|
|
908
|
-
class ProductData < ::Stripe::RequestParams
|
|
909
|
-
class TaxDetails < ::Stripe::RequestParams
|
|
910
|
-
# A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
|
|
911
|
-
attr_accessor :performance_location
|
|
912
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
913
|
-
attr_accessor :tax_code
|
|
914
|
-
|
|
915
|
-
def initialize(performance_location: nil, tax_code: nil)
|
|
916
|
-
@performance_location = performance_location
|
|
917
|
-
@tax_code = tax_code
|
|
918
|
-
end
|
|
919
|
-
end
|
|
920
|
-
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
921
|
-
attr_accessor :description
|
|
922
|
-
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
923
|
-
attr_accessor :images
|
|
924
|
-
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
925
|
-
attr_accessor :metadata
|
|
926
|
-
# The product's name, meant to be displayable to the customer.
|
|
927
|
-
attr_accessor :name
|
|
928
|
-
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
929
|
-
attr_accessor :tax_code
|
|
930
|
-
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
931
|
-
attr_accessor :tax_details
|
|
932
|
-
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
933
|
-
attr_accessor :unit_label
|
|
934
|
-
|
|
935
|
-
def initialize(
|
|
936
|
-
description: nil,
|
|
937
|
-
images: nil,
|
|
938
|
-
metadata: nil,
|
|
939
|
-
name: nil,
|
|
940
|
-
tax_code: nil,
|
|
941
|
-
tax_details: nil,
|
|
942
|
-
unit_label: nil
|
|
943
|
-
)
|
|
944
|
-
@description = description
|
|
945
|
-
@images = images
|
|
946
|
-
@metadata = metadata
|
|
947
|
-
@name = name
|
|
948
|
-
@tax_code = tax_code
|
|
949
|
-
@tax_details = tax_details
|
|
950
|
-
@unit_label = unit_label
|
|
951
|
-
end
|
|
952
|
-
end
|
|
953
|
-
|
|
954
|
-
class Recurring < ::Stripe::RequestParams
|
|
955
|
-
# Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
|
956
|
-
attr_accessor :interval
|
|
957
|
-
# The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
|
|
958
|
-
attr_accessor :interval_count
|
|
959
|
-
|
|
960
|
-
def initialize(interval: nil, interval_count: nil)
|
|
961
|
-
@interval = interval
|
|
962
|
-
@interval_count = interval_count
|
|
963
|
-
end
|
|
964
|
-
end
|
|
965
|
-
# 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).
|
|
966
|
-
attr_accessor :currency
|
|
967
|
-
# The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required.
|
|
968
|
-
attr_accessor :product
|
|
969
|
-
# Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.
|
|
970
|
-
attr_accessor :product_data
|
|
971
|
-
# The recurring components of a price such as `interval` and `interval_count`.
|
|
972
|
-
attr_accessor :recurring
|
|
973
|
-
# Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
|
974
|
-
attr_accessor :tax_behavior
|
|
975
|
-
# A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
|
|
976
|
-
attr_accessor :unit_amount
|
|
977
|
-
# Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
|
978
|
-
attr_accessor :unit_amount_decimal
|
|
979
|
-
|
|
980
|
-
def initialize(
|
|
981
|
-
currency: nil,
|
|
982
|
-
product: nil,
|
|
983
|
-
product_data: nil,
|
|
984
|
-
recurring: nil,
|
|
985
|
-
tax_behavior: nil,
|
|
986
|
-
unit_amount: nil,
|
|
987
|
-
unit_amount_decimal: nil
|
|
988
|
-
)
|
|
989
|
-
@currency = currency
|
|
990
|
-
@product = product
|
|
991
|
-
@product_data = product_data
|
|
992
|
-
@recurring = recurring
|
|
993
|
-
@tax_behavior = tax_behavior
|
|
994
|
-
@unit_amount = unit_amount
|
|
995
|
-
@unit_amount_decimal = unit_amount_decimal
|
|
996
|
-
end
|
|
997
|
-
|
|
998
|
-
def self.field_encodings
|
|
999
|
-
@field_encodings = { unit_amount_decimal: :decimal_string }
|
|
1000
|
-
end
|
|
1001
|
-
end
|
|
1002
|
-
# When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.
|
|
1003
|
-
attr_accessor :adjustable_quantity
|
|
1004
|
-
# The [Trial Offer](https://docs.stripe.com/api/product-catalog/trial-offer?api-version=2026-03-25.preview) to apply to this subscription item. One of `price`, `price_data` or `current_trial` is required.
|
|
1005
|
-
attr_accessor :current_trial
|
|
1006
|
-
# The ID of the [Price](https://docs.stripe.com/api/prices). One of `price`, `price_data` or `current_trial` is required.
|
|
1007
|
-
attr_accessor :price
|
|
1008
|
-
# Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price`, `price_data` or `current_trial` is required.
|
|
1009
|
-
attr_accessor :price_data
|
|
1010
|
-
# Quantity for this item.
|
|
1011
|
-
attr_accessor :quantity
|
|
1012
|
-
|
|
1013
|
-
def initialize(
|
|
1014
|
-
adjustable_quantity: nil,
|
|
1015
|
-
current_trial: nil,
|
|
1016
|
-
price: nil,
|
|
1017
|
-
price_data: nil,
|
|
1018
|
-
quantity: nil
|
|
1019
|
-
)
|
|
1020
|
-
@adjustable_quantity = adjustable_quantity
|
|
1021
|
-
@current_trial = current_trial
|
|
1022
|
-
@price = price
|
|
1023
|
-
@price_data = price_data
|
|
1024
|
-
@quantity = quantity
|
|
1025
|
-
end
|
|
1026
|
-
|
|
1027
|
-
def self.field_encodings
|
|
1028
|
-
@field_encodings = {
|
|
1029
|
-
price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } },
|
|
1030
|
-
}
|
|
1031
|
-
end
|
|
1032
|
-
end
|
|
1033
|
-
|
|
1034
|
-
class PendingInvoiceItemInterval < ::Stripe::RequestParams
|
|
1035
|
-
# Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
|
1036
|
-
attr_accessor :interval
|
|
1037
|
-
# 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).
|
|
1038
|
-
attr_accessor :interval_count
|
|
1039
|
-
|
|
1040
|
-
def initialize(interval: nil, interval_count: nil)
|
|
1041
|
-
@interval = interval
|
|
1042
|
-
@interval_count = interval_count
|
|
1043
|
-
end
|
|
1044
|
-
end
|
|
1045
|
-
|
|
1046
|
-
class TrialSettings < ::Stripe::RequestParams
|
|
1047
|
-
class EndBehavior < ::Stripe::RequestParams
|
|
1048
|
-
# Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
1049
|
-
attr_accessor :billing_cycle_anchor
|
|
1050
|
-
# Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
1051
|
-
attr_accessor :missing_payment_method
|
|
1052
|
-
|
|
1053
|
-
def initialize(billing_cycle_anchor: nil, missing_payment_method: nil)
|
|
1054
|
-
@billing_cycle_anchor = billing_cycle_anchor
|
|
1055
|
-
@missing_payment_method = missing_payment_method
|
|
1056
|
-
end
|
|
1057
|
-
end
|
|
1058
|
-
# Defines how the subscription should behave when the user's free trial ends.
|
|
1059
|
-
attr_accessor :end_behavior
|
|
1060
|
-
|
|
1061
|
-
def initialize(end_behavior: nil)
|
|
1062
|
-
@end_behavior = end_behavior
|
|
1063
|
-
end
|
|
1064
|
-
end
|
|
1065
|
-
# A past timestamp to backdate the subscription's start date to.
|
|
1066
|
-
attr_accessor :backdate_start_date
|
|
1067
|
-
# Configures when the subscription schedule's billing cycle anchors to a specific day of the week or month.
|
|
1068
|
-
attr_accessor :billing_cycle_anchor_config
|
|
1069
|
-
# Controls how prorations and invoices for subscriptions are calculated and orchestrated.
|
|
1070
|
-
attr_accessor :billing_mode
|
|
1071
|
-
# The subscription's description, meant to be displayable to the customer.
|
|
1072
|
-
attr_accessor :description
|
|
1073
|
-
# The list of items for the subscription.
|
|
1074
|
-
attr_accessor :items
|
|
1075
|
-
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
1076
|
-
attr_accessor :metadata
|
|
1077
|
-
# Specifies an interval for how often to bill for any pending invoice items.
|
|
1078
|
-
attr_accessor :pending_invoice_item_interval
|
|
1079
|
-
# Determines how to handle prorations resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
|
1080
|
-
attr_accessor :proration_behavior
|
|
1081
|
-
# Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. Has to be at least 48 hours in the future.
|
|
1082
|
-
attr_accessor :trial_end
|
|
1083
|
-
# Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
1084
|
-
attr_accessor :trial_period_days
|
|
1085
|
-
# Settings related to subscription trials.
|
|
1086
|
-
attr_accessor :trial_settings
|
|
1087
|
-
|
|
1088
|
-
def initialize(
|
|
1089
|
-
backdate_start_date: nil,
|
|
1090
|
-
billing_cycle_anchor_config: nil,
|
|
1091
|
-
billing_mode: nil,
|
|
1092
|
-
description: nil,
|
|
1093
|
-
items: nil,
|
|
1094
|
-
metadata: nil,
|
|
1095
|
-
pending_invoice_item_interval: nil,
|
|
1096
|
-
proration_behavior: nil,
|
|
1097
|
-
trial_end: nil,
|
|
1098
|
-
trial_period_days: nil,
|
|
1099
|
-
trial_settings: nil
|
|
1100
|
-
)
|
|
1101
|
-
@backdate_start_date = backdate_start_date
|
|
1102
|
-
@billing_cycle_anchor_config = billing_cycle_anchor_config
|
|
1103
|
-
@billing_mode = billing_mode
|
|
1104
|
-
@description = description
|
|
1105
|
-
@items = items
|
|
1106
|
-
@metadata = metadata
|
|
1107
|
-
@pending_invoice_item_interval = pending_invoice_item_interval
|
|
1108
|
-
@proration_behavior = proration_behavior
|
|
1109
|
-
@trial_end = trial_end
|
|
1110
|
-
@trial_period_days = trial_period_days
|
|
1111
|
-
@trial_settings = trial_settings
|
|
1112
|
-
end
|
|
1113
|
-
|
|
1114
|
-
def self.field_encodings
|
|
1115
|
-
@field_encodings = {
|
|
1116
|
-
items: {
|
|
1117
|
-
kind: :array,
|
|
1118
|
-
element: {
|
|
1119
|
-
kind: :object,
|
|
1120
|
-
fields: {
|
|
1121
|
-
price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } },
|
|
1122
|
-
},
|
|
1123
|
-
},
|
|
1124
|
-
},
|
|
1125
|
-
}
|
|
1126
|
-
end
|
|
1127
|
-
end
|
|
1128
|
-
# Configuration for the Metronome commit item.
|
|
1129
|
-
attr_accessor :metronome_commit
|
|
1130
|
-
# Configuration for the subscription item.
|
|
1131
|
-
attr_accessor :subscription
|
|
1132
|
-
# The type of item.
|
|
1133
|
-
attr_accessor :type
|
|
1134
|
-
|
|
1135
|
-
def initialize(metronome_commit: nil, subscription: nil, type: nil)
|
|
1136
|
-
@metronome_commit = metronome_commit
|
|
1137
|
-
@subscription = subscription
|
|
1138
|
-
@type = type
|
|
1139
|
-
end
|
|
1140
|
-
|
|
1141
|
-
def self.field_encodings
|
|
1142
|
-
@field_encodings = {
|
|
1143
|
-
metronome_commit: {
|
|
1144
|
-
kind: :object,
|
|
1145
|
-
fields: {
|
|
1146
|
-
commits: {
|
|
1147
|
-
kind: :array,
|
|
1148
|
-
element: {
|
|
1149
|
-
kind: :object,
|
|
1150
|
-
fields: {
|
|
1151
|
-
access_schedule: {
|
|
1152
|
-
kind: :object,
|
|
1153
|
-
fields: {
|
|
1154
|
-
schedule_items: {
|
|
1155
|
-
kind: :array,
|
|
1156
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
1157
|
-
},
|
|
1158
|
-
},
|
|
1159
|
-
},
|
|
1160
|
-
priority: :decimal_string,
|
|
1161
|
-
rollover_fraction: :decimal_string,
|
|
1162
|
-
},
|
|
1163
|
-
},
|
|
1164
|
-
},
|
|
1165
|
-
},
|
|
1166
|
-
},
|
|
1167
|
-
subscription: {
|
|
1168
|
-
kind: :object,
|
|
1169
|
-
fields: {
|
|
1170
|
-
items: {
|
|
1171
|
-
kind: :array,
|
|
1172
|
-
element: {
|
|
1173
|
-
kind: :object,
|
|
1174
|
-
fields: {
|
|
1175
|
-
price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } },
|
|
1176
|
-
},
|
|
1177
|
-
},
|
|
1178
|
-
},
|
|
1179
|
-
},
|
|
1180
|
-
},
|
|
1181
|
-
}
|
|
1182
|
-
end
|
|
1183
|
-
end
|
|
1184
|
-
|
|
1185
461
|
class LineItem < ::Stripe::RequestParams
|
|
1186
462
|
class AdjustableQuantity < ::Stripe::RequestParams
|
|
1187
463
|
# Set to true if the quantity can be adjusted to any non-negative integer.
|
|
@@ -1338,57 +614,6 @@ module Stripe
|
|
|
1338
614
|
end
|
|
1339
615
|
end
|
|
1340
616
|
|
|
1341
|
-
class MarketingAttribution < ::Stripe::RequestParams
|
|
1342
|
-
class AdConversion < ::Stripe::RequestParams
|
|
1343
|
-
# Whether the customer consented to sending conversion data to an advertising platform.
|
|
1344
|
-
attr_accessor :consent_collected
|
|
1345
|
-
|
|
1346
|
-
def initialize(consent_collected: nil)
|
|
1347
|
-
@consent_collected = consent_collected
|
|
1348
|
-
end
|
|
1349
|
-
end
|
|
1350
|
-
# Information used when sending conversions to an advertising platform.
|
|
1351
|
-
attr_accessor :ad_conversion
|
|
1352
|
-
# The advertising platform's click identifier.
|
|
1353
|
-
attr_accessor :click_id
|
|
1354
|
-
# The Unix timestamp when the advertising interaction occurred.
|
|
1355
|
-
attr_accessor :occurred_at
|
|
1356
|
-
# The advertising group ID from the `utm_adgroup` parameter.
|
|
1357
|
-
attr_accessor :utm_adgroup
|
|
1358
|
-
# The advertising content identifier from the `utm_content` parameter.
|
|
1359
|
-
attr_accessor :utm_content
|
|
1360
|
-
# The advertising campaign ID from the `utm_id` parameter.
|
|
1361
|
-
attr_accessor :utm_id
|
|
1362
|
-
# The marketing medium from the `utm_medium` parameter.
|
|
1363
|
-
attr_accessor :utm_medium
|
|
1364
|
-
# The referral source from the `utm_source` parameter.
|
|
1365
|
-
attr_accessor :utm_source
|
|
1366
|
-
# The paid search term from the `utm_term` parameter.
|
|
1367
|
-
attr_accessor :utm_term
|
|
1368
|
-
|
|
1369
|
-
def initialize(
|
|
1370
|
-
ad_conversion: nil,
|
|
1371
|
-
click_id: nil,
|
|
1372
|
-
occurred_at: nil,
|
|
1373
|
-
utm_adgroup: nil,
|
|
1374
|
-
utm_content: nil,
|
|
1375
|
-
utm_id: nil,
|
|
1376
|
-
utm_medium: nil,
|
|
1377
|
-
utm_source: nil,
|
|
1378
|
-
utm_term: nil
|
|
1379
|
-
)
|
|
1380
|
-
@ad_conversion = ad_conversion
|
|
1381
|
-
@click_id = click_id
|
|
1382
|
-
@occurred_at = occurred_at
|
|
1383
|
-
@utm_adgroup = utm_adgroup
|
|
1384
|
-
@utm_content = utm_content
|
|
1385
|
-
@utm_id = utm_id
|
|
1386
|
-
@utm_medium = utm_medium
|
|
1387
|
-
@utm_source = utm_source
|
|
1388
|
-
@utm_term = utm_term
|
|
1389
|
-
end
|
|
1390
|
-
end
|
|
1391
|
-
|
|
1392
617
|
class NameCollection < ::Stripe::RequestParams
|
|
1393
618
|
class Business < ::Stripe::RequestParams
|
|
1394
619
|
# Enable business name collection on the Checkout Session. Defaults to `false`.
|
|
@@ -1776,19 +1001,11 @@ module Stripe
|
|
|
1776
1001
|
attr_accessor :setup_future_usage
|
|
1777
1002
|
# 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.
|
|
1778
1003
|
attr_accessor :target_date
|
|
1779
|
-
# Attribute for param field verification_method
|
|
1780
|
-
attr_accessor :verification_method
|
|
1781
1004
|
|
|
1782
|
-
def initialize(
|
|
1783
|
-
mandate_options: nil,
|
|
1784
|
-
setup_future_usage: nil,
|
|
1785
|
-
target_date: nil,
|
|
1786
|
-
verification_method: nil
|
|
1787
|
-
)
|
|
1005
|
+
def initialize(mandate_options: nil, setup_future_usage: nil, target_date: nil)
|
|
1788
1006
|
@mandate_options = mandate_options
|
|
1789
1007
|
@setup_future_usage = setup_future_usage
|
|
1790
1008
|
@target_date = target_date
|
|
1791
|
-
@verification_method = verification_method
|
|
1792
1009
|
end
|
|
1793
1010
|
end
|
|
1794
1011
|
|
|
@@ -1816,16 +1033,6 @@ module Stripe
|
|
|
1816
1033
|
end
|
|
1817
1034
|
end
|
|
1818
1035
|
|
|
1819
|
-
class Bizum < ::Stripe::RequestParams
|
|
1820
|
-
class MandateOptions < ::Stripe::RequestParams; end
|
|
1821
|
-
# Additional fields for mandate creation.
|
|
1822
|
-
attr_accessor :mandate_options
|
|
1823
|
-
|
|
1824
|
-
def initialize(mandate_options: nil)
|
|
1825
|
-
@mandate_options = mandate_options
|
|
1826
|
-
end
|
|
1827
|
-
end
|
|
1828
|
-
|
|
1829
1036
|
class Blik < ::Stripe::RequestParams
|
|
1830
1037
|
class MandateOptions < ::Stripe::RequestParams
|
|
1831
1038
|
# Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
|
|
@@ -1875,53 +1082,6 @@ module Stripe
|
|
|
1875
1082
|
end
|
|
1876
1083
|
end
|
|
1877
1084
|
|
|
1878
|
-
class MandateOptions < ::Stripe::RequestParams
|
|
1879
|
-
# Maximum or fixed amount for future payments, specified in the Checkout Session's integration currency.
|
|
1880
|
-
attr_accessor :amount
|
|
1881
|
-
# 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.
|
|
1882
|
-
attr_accessor :amount_type
|
|
1883
|
-
# 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).
|
|
1884
|
-
attr_accessor :currency
|
|
1885
|
-
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
|
1886
|
-
attr_accessor :description
|
|
1887
|
-
# 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.
|
|
1888
|
-
attr_accessor :end_date
|
|
1889
|
-
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
|
1890
|
-
attr_accessor :interval
|
|
1891
|
-
# 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`.
|
|
1892
|
-
attr_accessor :interval_count
|
|
1893
|
-
# Unique identifier for the mandate or subscription.
|
|
1894
|
-
attr_accessor :reference
|
|
1895
|
-
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
|
1896
|
-
attr_accessor :start_date
|
|
1897
|
-
# Specifies the type of mandates supported. Possible values are `india`.
|
|
1898
|
-
attr_accessor :supported_types
|
|
1899
|
-
|
|
1900
|
-
def initialize(
|
|
1901
|
-
amount: nil,
|
|
1902
|
-
amount_type: nil,
|
|
1903
|
-
currency: nil,
|
|
1904
|
-
description: nil,
|
|
1905
|
-
end_date: nil,
|
|
1906
|
-
interval: nil,
|
|
1907
|
-
interval_count: nil,
|
|
1908
|
-
reference: nil,
|
|
1909
|
-
start_date: nil,
|
|
1910
|
-
supported_types: nil
|
|
1911
|
-
)
|
|
1912
|
-
@amount = amount
|
|
1913
|
-
@amount_type = amount_type
|
|
1914
|
-
@currency = currency
|
|
1915
|
-
@description = description
|
|
1916
|
-
@end_date = end_date
|
|
1917
|
-
@interval = interval
|
|
1918
|
-
@interval_count = interval_count
|
|
1919
|
-
@reference = reference
|
|
1920
|
-
@start_date = start_date
|
|
1921
|
-
@supported_types = supported_types
|
|
1922
|
-
end
|
|
1923
|
-
end
|
|
1924
|
-
|
|
1925
1085
|
class Restrictions < ::Stripe::RequestParams
|
|
1926
1086
|
# The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can't complete the payment.
|
|
1927
1087
|
attr_accessor :brands_blocked
|
|
@@ -1937,8 +1097,6 @@ module Stripe
|
|
|
1937
1097
|
attr_accessor :capture_method
|
|
1938
1098
|
# Installment options for card payments
|
|
1939
1099
|
attr_accessor :installments
|
|
1940
|
-
# Configuration options for setting up an eMandate for cards issued in India.
|
|
1941
|
-
attr_accessor :mandate_options
|
|
1942
1100
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1943
1101
|
attr_accessor :request_decremental_authorization
|
|
1944
1102
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
@@ -1969,7 +1127,6 @@ module Stripe
|
|
|
1969
1127
|
def initialize(
|
|
1970
1128
|
capture_method: nil,
|
|
1971
1129
|
installments: nil,
|
|
1972
|
-
mandate_options: nil,
|
|
1973
1130
|
request_decremental_authorization: nil,
|
|
1974
1131
|
request_extended_authorization: nil,
|
|
1975
1132
|
request_incremental_authorization: nil,
|
|
@@ -1983,7 +1140,6 @@ module Stripe
|
|
|
1983
1140
|
)
|
|
1984
1141
|
@capture_method = capture_method
|
|
1985
1142
|
@installments = installments
|
|
1986
|
-
@mandate_options = mandate_options
|
|
1987
1143
|
@request_decremental_authorization = request_decremental_authorization
|
|
1988
1144
|
@request_extended_authorization = request_extended_authorization
|
|
1989
1145
|
@request_incremental_authorization = request_incremental_authorization
|
|
@@ -2460,24 +1616,6 @@ module Stripe
|
|
|
2460
1616
|
end
|
|
2461
1617
|
end
|
|
2462
1618
|
|
|
2463
|
-
class Paypay < ::Stripe::RequestParams
|
|
2464
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2465
|
-
#
|
|
2466
|
-
# 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.
|
|
2467
|
-
#
|
|
2468
|
-
# 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.
|
|
2469
|
-
#
|
|
2470
|
-
# 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).
|
|
2471
|
-
attr_accessor :setup_future_usage
|
|
2472
|
-
# The merchant's subscription identifier for this off-session charge.
|
|
2473
|
-
attr_accessor :subscription_reference
|
|
2474
|
-
|
|
2475
|
-
def initialize(setup_future_usage: nil, subscription_reference: nil)
|
|
2476
|
-
@setup_future_usage = setup_future_usage
|
|
2477
|
-
@subscription_reference = subscription_reference
|
|
2478
|
-
end
|
|
2479
|
-
end
|
|
2480
|
-
|
|
2481
1619
|
class Payto < ::Stripe::RequestParams
|
|
2482
1620
|
class MandateOptions < ::Stripe::RequestParams
|
|
2483
1621
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
@@ -2704,21 +1842,6 @@ module Stripe
|
|
|
2704
1842
|
end
|
|
2705
1843
|
end
|
|
2706
1844
|
|
|
2707
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
2708
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2709
|
-
#
|
|
2710
|
-
# 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.
|
|
2711
|
-
#
|
|
2712
|
-
# 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.
|
|
2713
|
-
#
|
|
2714
|
-
# 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).
|
|
2715
|
-
attr_accessor :setup_future_usage
|
|
2716
|
-
|
|
2717
|
-
def initialize(setup_future_usage: nil)
|
|
2718
|
-
@setup_future_usage = setup_future_usage
|
|
2719
|
-
end
|
|
2720
|
-
end
|
|
2721
|
-
|
|
2722
1845
|
class Sunbit < ::Stripe::RequestParams
|
|
2723
1846
|
# Controls when the funds will be captured from the customer's account.
|
|
2724
1847
|
attr_accessor :capture_method
|
|
@@ -2870,8 +1993,6 @@ module Stripe
|
|
|
2870
1993
|
attr_accessor :bancontact
|
|
2871
1994
|
# contains details about the Billie payment method options.
|
|
2872
1995
|
attr_accessor :billie
|
|
2873
|
-
# contains details about the Bizum payment method options.
|
|
2874
|
-
attr_accessor :bizum
|
|
2875
1996
|
# contains details about the BLIK payment method options.
|
|
2876
1997
|
attr_accessor :blik
|
|
2877
1998
|
# contains details about the Boleto payment method options.
|
|
@@ -2924,8 +2045,6 @@ module Stripe
|
|
|
2924
2045
|
attr_accessor :paynow
|
|
2925
2046
|
# contains details about the PayPal payment method options.
|
|
2926
2047
|
attr_accessor :paypal
|
|
2927
|
-
# contains details about the PayPay payment method options.
|
|
2928
|
-
attr_accessor :paypay
|
|
2929
2048
|
# contains details about the PayTo payment method options.
|
|
2930
2049
|
attr_accessor :payto
|
|
2931
2050
|
# contains details about the Pix payment method options.
|
|
@@ -2944,8 +2063,6 @@ module Stripe
|
|
|
2944
2063
|
attr_accessor :sequra
|
|
2945
2064
|
# contains details about the Sofort payment method options.
|
|
2946
2065
|
attr_accessor :sofort
|
|
2947
|
-
# contains details about the Stripe Balance payment method options.
|
|
2948
|
-
attr_accessor :stripe_balance
|
|
2949
2066
|
# contains details about the Sunbit payment method options.
|
|
2950
2067
|
attr_accessor :sunbit
|
|
2951
2068
|
# contains details about the Swish payment method options.
|
|
@@ -2970,7 +2087,6 @@ module Stripe
|
|
|
2970
2087
|
bacs_debit: nil,
|
|
2971
2088
|
bancontact: nil,
|
|
2972
2089
|
billie: nil,
|
|
2973
|
-
bizum: nil,
|
|
2974
2090
|
blik: nil,
|
|
2975
2091
|
boleto: nil,
|
|
2976
2092
|
card: nil,
|
|
@@ -2997,7 +2113,6 @@ module Stripe
|
|
|
2997
2113
|
payco: nil,
|
|
2998
2114
|
paynow: nil,
|
|
2999
2115
|
paypal: nil,
|
|
3000
|
-
paypay: nil,
|
|
3001
2116
|
payto: nil,
|
|
3002
2117
|
pix: nil,
|
|
3003
2118
|
revolut_pay: nil,
|
|
@@ -3007,7 +2122,6 @@ module Stripe
|
|
|
3007
2122
|
sepa_debit: nil,
|
|
3008
2123
|
sequra: nil,
|
|
3009
2124
|
sofort: nil,
|
|
3010
|
-
stripe_balance: nil,
|
|
3011
2125
|
sunbit: nil,
|
|
3012
2126
|
swish: nil,
|
|
3013
2127
|
twint: nil,
|
|
@@ -3025,7 +2139,6 @@ module Stripe
|
|
|
3025
2139
|
@bacs_debit = bacs_debit
|
|
3026
2140
|
@bancontact = bancontact
|
|
3027
2141
|
@billie = billie
|
|
3028
|
-
@bizum = bizum
|
|
3029
2142
|
@blik = blik
|
|
3030
2143
|
@boleto = boleto
|
|
3031
2144
|
@card = card
|
|
@@ -3052,7 +2165,6 @@ module Stripe
|
|
|
3052
2165
|
@payco = payco
|
|
3053
2166
|
@paynow = paynow
|
|
3054
2167
|
@paypal = paypal
|
|
3055
|
-
@paypay = paypay
|
|
3056
2168
|
@payto = payto
|
|
3057
2169
|
@pix = pix
|
|
3058
2170
|
@revolut_pay = revolut_pay
|
|
@@ -3062,7 +2174,6 @@ module Stripe
|
|
|
3062
2174
|
@sepa_debit = sepa_debit
|
|
3063
2175
|
@sequra = sequra
|
|
3064
2176
|
@sofort = sofort
|
|
3065
|
-
@stripe_balance = stripe_balance
|
|
3066
2177
|
@sunbit = sunbit
|
|
3067
2178
|
@swish = swish
|
|
3068
2179
|
@twint = twint
|
|
@@ -3072,129 +2183,6 @@ module Stripe
|
|
|
3072
2183
|
end
|
|
3073
2184
|
end
|
|
3074
2185
|
|
|
3075
|
-
class PaymentSettings < ::Stripe::RequestParams
|
|
3076
|
-
class ApplicationFeeData < ::Stripe::RequestParams
|
|
3077
|
-
# The amount of the application fee, in the currency's smallest unit, to apply to the initial payment and transfer to the application owner's Stripe account. The application fee is capped at the total amount captured.
|
|
3078
|
-
attr_accessor :initial_amount
|
|
3079
|
-
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of each payment total that will be transferred to the application owner's Stripe account.
|
|
3080
|
-
attr_accessor :percentage_decimal
|
|
3081
|
-
|
|
3082
|
-
def initialize(initial_amount: nil, percentage_decimal: nil)
|
|
3083
|
-
@initial_amount = initial_amount
|
|
3084
|
-
@percentage_decimal = percentage_decimal
|
|
3085
|
-
end
|
|
3086
|
-
|
|
3087
|
-
def self.field_encodings
|
|
3088
|
-
@field_encodings = { percentage_decimal: :decimal_string }
|
|
3089
|
-
end
|
|
3090
|
-
end
|
|
3091
|
-
|
|
3092
|
-
class TransferData < ::Stripe::RequestParams
|
|
3093
|
-
class TransferAmount < ::Stripe::RequestParams
|
|
3094
|
-
# The amount, in the currency's smallest unit, that will be transferred to the destination account when the initial payment succeeds.
|
|
3095
|
-
attr_accessor :initial_amount
|
|
3096
|
-
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of each payment total that will be transferred to the destination account.
|
|
3097
|
-
attr_accessor :percentage_decimal
|
|
3098
|
-
|
|
3099
|
-
def initialize(initial_amount: nil, percentage_decimal: nil)
|
|
3100
|
-
@initial_amount = initial_amount
|
|
3101
|
-
@percentage_decimal = percentage_decimal
|
|
3102
|
-
end
|
|
3103
|
-
|
|
3104
|
-
def self.field_encodings
|
|
3105
|
-
@field_encodings = { percentage_decimal: :decimal_string }
|
|
3106
|
-
end
|
|
3107
|
-
end
|
|
3108
|
-
# If specified, successful charges will be attributed to the destination
|
|
3109
|
-
# account for tax reporting, and the funds from charges will be transferred
|
|
3110
|
-
# to the destination account. The ID of the resulting transfer will be
|
|
3111
|
-
# returned on the successful charge's `transfer` field.
|
|
3112
|
-
attr_accessor :destination
|
|
3113
|
-
# Configures how much of each payment is transferred to the destination account. If omitted, the entire amount is transferred.
|
|
3114
|
-
attr_accessor :transfer_amount
|
|
3115
|
-
|
|
3116
|
-
def initialize(destination: nil, transfer_amount: nil)
|
|
3117
|
-
@destination = destination
|
|
3118
|
-
@transfer_amount = transfer_amount
|
|
3119
|
-
end
|
|
3120
|
-
|
|
3121
|
-
def self.field_encodings
|
|
3122
|
-
@field_encodings = {
|
|
3123
|
-
transfer_amount: { kind: :object, fields: { percentage_decimal: :decimal_string } },
|
|
3124
|
-
}
|
|
3125
|
-
end
|
|
3126
|
-
end
|
|
3127
|
-
# Configures an application fee transferred to the application owner's Stripe account.
|
|
3128
|
-
attr_accessor :application_fee_data
|
|
3129
|
-
# Controls when the funds will be captured from the customer's account.
|
|
3130
|
-
attr_accessor :capture_method
|
|
3131
|
-
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
3132
|
-
attr_accessor :description
|
|
3133
|
-
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3134
|
-
attr_accessor :metadata
|
|
3135
|
-
# Indicates that you intend to [make future payments](https://docs.stripe.com/payments/payment-intents#future-usage) with the payment
|
|
3136
|
-
# method collected by this Checkout Session.
|
|
3137
|
-
#
|
|
3138
|
-
# When setting this to `on_session`, Checkout will show a notice to the
|
|
3139
|
-
# customer that their payment details will be saved.
|
|
3140
|
-
#
|
|
3141
|
-
# When setting this to `off_session`, Checkout will show a notice to the
|
|
3142
|
-
# customer that their payment details will be saved and used for future
|
|
3143
|
-
# payments.
|
|
3144
|
-
#
|
|
3145
|
-
# If a Customer has been provided or Checkout creates a new Customer,
|
|
3146
|
-
# Checkout will attach the payment method to the Customer.
|
|
3147
|
-
#
|
|
3148
|
-
# If Checkout does not create a Customer, the payment method is not attached
|
|
3149
|
-
# to a Customer. To reuse the payment method, you can retrieve it from the
|
|
3150
|
-
# Checkout Session's PaymentIntent.
|
|
3151
|
-
#
|
|
3152
|
-
# When processing card payments, Checkout also uses `setup_future_usage`
|
|
3153
|
-
# to dynamically optimize your payment flow and comply with regional
|
|
3154
|
-
# legislation and network rules, such as SCA.
|
|
3155
|
-
attr_accessor :setup_future_usage
|
|
3156
|
-
# 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. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
3157
|
-
#
|
|
3158
|
-
# Setting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.
|
|
3159
|
-
attr_accessor :statement_descriptor
|
|
3160
|
-
# Configures automatic transfers to a connected account when payments succeed.
|
|
3161
|
-
attr_accessor :transfer_data
|
|
3162
|
-
# A string that identifies the initial payment as part of a group.
|
|
3163
|
-
attr_accessor :transfer_group
|
|
3164
|
-
|
|
3165
|
-
def initialize(
|
|
3166
|
-
application_fee_data: nil,
|
|
3167
|
-
capture_method: nil,
|
|
3168
|
-
description: nil,
|
|
3169
|
-
metadata: nil,
|
|
3170
|
-
setup_future_usage: nil,
|
|
3171
|
-
statement_descriptor: nil,
|
|
3172
|
-
transfer_data: nil,
|
|
3173
|
-
transfer_group: nil
|
|
3174
|
-
)
|
|
3175
|
-
@application_fee_data = application_fee_data
|
|
3176
|
-
@capture_method = capture_method
|
|
3177
|
-
@description = description
|
|
3178
|
-
@metadata = metadata
|
|
3179
|
-
@setup_future_usage = setup_future_usage
|
|
3180
|
-
@statement_descriptor = statement_descriptor
|
|
3181
|
-
@transfer_data = transfer_data
|
|
3182
|
-
@transfer_group = transfer_group
|
|
3183
|
-
end
|
|
3184
|
-
|
|
3185
|
-
def self.field_encodings
|
|
3186
|
-
@field_encodings = {
|
|
3187
|
-
application_fee_data: { kind: :object, fields: { percentage_decimal: :decimal_string } },
|
|
3188
|
-
transfer_data: {
|
|
3189
|
-
kind: :object,
|
|
3190
|
-
fields: {
|
|
3191
|
-
transfer_amount: { kind: :object, fields: { percentage_decimal: :decimal_string } },
|
|
3192
|
-
},
|
|
3193
|
-
},
|
|
3194
|
-
}
|
|
3195
|
-
end
|
|
3196
|
-
end
|
|
3197
|
-
|
|
3198
2186
|
class Permissions < ::Stripe::RequestParams
|
|
3199
2187
|
class Update < ::Stripe::RequestParams
|
|
3200
2188
|
# Determines which entity is allowed to update the line items.
|
|
@@ -3261,8 +2249,6 @@ module Stripe
|
|
|
3261
2249
|
class SavedPaymentMethodOptions < ::Stripe::RequestParams
|
|
3262
2250
|
# 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.
|
|
3263
2251
|
attr_accessor :allow_redisplay_filters
|
|
3264
|
-
# 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.
|
|
3265
|
-
attr_accessor :payment_method_preselect
|
|
3266
2252
|
# Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.
|
|
3267
2253
|
attr_accessor :payment_method_remove
|
|
3268
2254
|
# Enable customers to choose if they wish to save their payment method for future use. Disabled by default.
|
|
@@ -3270,12 +2256,10 @@ module Stripe
|
|
|
3270
2256
|
|
|
3271
2257
|
def initialize(
|
|
3272
2258
|
allow_redisplay_filters: nil,
|
|
3273
|
-
payment_method_preselect: nil,
|
|
3274
2259
|
payment_method_remove: nil,
|
|
3275
2260
|
payment_method_save: nil
|
|
3276
2261
|
)
|
|
3277
2262
|
@allow_redisplay_filters = allow_redisplay_filters
|
|
3278
|
-
@payment_method_preselect = payment_method_preselect
|
|
3279
2263
|
@payment_method_remove = payment_method_remove
|
|
3280
2264
|
@payment_method_save = payment_method_save
|
|
3281
2265
|
end
|
|
@@ -3405,13 +2389,10 @@ module Stripe
|
|
|
3405
2389
|
attr_accessor :shipping_rate
|
|
3406
2390
|
# Parameters to be passed to Shipping Rate creation for this shipping option.
|
|
3407
2391
|
attr_accessor :shipping_rate_data
|
|
3408
|
-
# The tax rates that will be applied to this shipping option. This parameter is only supported for Checkout Sessions with `ui_mode` set to `form` or `elements`.
|
|
3409
|
-
attr_accessor :tax_rates
|
|
3410
2392
|
|
|
3411
|
-
def initialize(shipping_rate: nil, shipping_rate_data: nil
|
|
2393
|
+
def initialize(shipping_rate: nil, shipping_rate_data: nil)
|
|
3412
2394
|
@shipping_rate = shipping_rate
|
|
3413
2395
|
@shipping_rate_data = shipping_rate_data
|
|
3414
|
-
@tax_rates = tax_rates
|
|
3415
2396
|
end
|
|
3416
2397
|
end
|
|
3417
2398
|
|
|
@@ -3533,13 +2514,10 @@ module Stripe
|
|
|
3533
2514
|
|
|
3534
2515
|
class TrialSettings < ::Stripe::RequestParams
|
|
3535
2516
|
class EndBehavior < ::Stripe::RequestParams
|
|
3536
|
-
# Indicates how the subscription's billing cycle anchor is reset when a trial ends. Defaults to `now`.
|
|
3537
|
-
attr_accessor :billing_cycle_anchor
|
|
3538
2517
|
# Indicates how the subscription should change when the trial ends if the user did not provide a payment method.
|
|
3539
2518
|
attr_accessor :missing_payment_method
|
|
3540
2519
|
|
|
3541
|
-
def initialize(
|
|
3542
|
-
@billing_cycle_anchor = billing_cycle_anchor
|
|
2520
|
+
def initialize(missing_payment_method: nil)
|
|
3543
2521
|
@missing_payment_method = missing_payment_method
|
|
3544
2522
|
end
|
|
3545
2523
|
end
|
|
@@ -3660,16 +2638,6 @@ module Stripe
|
|
|
3660
2638
|
# eligible payment methods rather than an explicit static list. Only payment methods that
|
|
3661
2639
|
# are both dynamically eligible and present in this list will be offered to the customer.
|
|
3662
2640
|
attr_accessor :allowed_payment_method_types
|
|
3663
|
-
# Determines whether the customer's attempt to pay must be manually approved.
|
|
3664
|
-
#
|
|
3665
|
-
# Default is `auto`, when the customer's attempt to pay is approved automatically with no action required on your server.
|
|
3666
|
-
#
|
|
3667
|
-
# When set to `manual`, you must approve the customer's attempt to pay by calling [approve](/api/checkout/sessions/approve) from your server.
|
|
3668
|
-
attr_accessor :approval_method
|
|
3669
|
-
# Settings for calculating and adding a pass-through fee (a convenience or service fee) to this session.
|
|
3670
|
-
attr_accessor :automatic_pass_through_fee
|
|
3671
|
-
# Settings for automatic surcharge calculation for this session.
|
|
3672
|
-
attr_accessor :automatic_surcharge
|
|
3673
2641
|
# Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.
|
|
3674
2642
|
attr_accessor :automatic_tax
|
|
3675
2643
|
# Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.
|
|
@@ -3688,14 +2656,6 @@ module Stripe
|
|
|
3688
2656
|
attr_accessor :currency
|
|
3689
2657
|
# 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`.
|
|
3690
2658
|
attr_accessor :custom_fields
|
|
3691
|
-
# Options keyed by custom payment method type IDs (e.g., `cpmt_123`). Each ID must belong to your account and be included in `custom_payment_method_types`. Only available in `payment` mode.
|
|
3692
|
-
attr_accessor :custom_payment_method_options
|
|
3693
|
-
# A list of custom payment methods (e.g., `cpmt_123`) this Checkout Session can accept.
|
|
3694
|
-
#
|
|
3695
|
-
# You can add custom payment methods to your account through the dashboard under Settings > Custom Payment Methods.
|
|
3696
|
-
#
|
|
3697
|
-
# Read more about custom payment methods in checkout in our [custom payment method types guide](https://docs.stripe.com/payments/payment-methods/custom-payment-methods).
|
|
3698
|
-
attr_accessor :custom_payment_method_types
|
|
3699
2659
|
# Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `elements`.
|
|
3700
2660
|
attr_accessor :custom_text
|
|
3701
2661
|
# ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recently saved card
|
|
@@ -3742,8 +2702,6 @@ module Stripe
|
|
|
3742
2702
|
attr_accessor :integration_identifier
|
|
3743
2703
|
# Generate a post-purchase Invoice for one-time payments.
|
|
3744
2704
|
attr_accessor :invoice_creation
|
|
3745
|
-
# A list of items the customer will purchase.
|
|
3746
|
-
attr_accessor :items
|
|
3747
2705
|
# A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices). The parameter is required for `payment` and `subscription` mode.
|
|
3748
2706
|
#
|
|
3749
2707
|
# For `payment` mode, there is a maximum of 100 line items, however it is recommended to consolidate line items if there are more than a few dozen.
|
|
@@ -3754,8 +2712,6 @@ module Stripe
|
|
|
3754
2712
|
attr_accessor :locale
|
|
3755
2713
|
# Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).
|
|
3756
2714
|
attr_accessor :managed_payments
|
|
3757
|
-
# Advertising attribution information for this Checkout Session. Only one attribution is supported.
|
|
3758
|
-
attr_accessor :marketing_attributions
|
|
3759
2715
|
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3760
2716
|
attr_accessor :metadata
|
|
3761
2717
|
# The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.
|
|
@@ -3766,8 +2722,6 @@ module Stripe
|
|
|
3766
2722
|
#
|
|
3767
2723
|
# If a [Customer](https://docs.stripe.com/api/customers) is created or provided, the names can be saved to the Customer object as well.
|
|
3768
2724
|
attr_accessor :name_collection
|
|
3769
|
-
# 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.
|
|
3770
|
-
attr_accessor :on_behalf_of
|
|
3771
2725
|
# A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).
|
|
3772
2726
|
#
|
|
3773
2727
|
# There is a maximum of 10 optional items allowed on a Checkout Session, and the existing limits on the number of line items allowed on a Checkout Session apply to the combined number of line items and optional items.
|
|
@@ -3795,8 +2749,6 @@ module Stripe
|
|
|
3795
2749
|
attr_accessor :payment_method_data
|
|
3796
2750
|
# Payment-method-specific configuration.
|
|
3797
2751
|
attr_accessor :payment_method_options
|
|
3798
|
-
# A subset of parameters to configure the payment for this Checkout Session.
|
|
3799
|
-
attr_accessor :payment_settings
|
|
3800
2752
|
# This property is used to set up permissions for various actions (for example, update) on the CheckoutSession object. Can only be set when creating `embedded_page` or `elements` sessions.
|
|
3801
2753
|
#
|
|
3802
2754
|
# For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.
|
|
@@ -3840,17 +2792,12 @@ module Stripe
|
|
|
3840
2792
|
attr_accessor :ui_mode
|
|
3841
2793
|
# Wallet-specific configuration.
|
|
3842
2794
|
attr_accessor :wallet_options
|
|
3843
|
-
# Attribute for param field checkout_items
|
|
3844
|
-
attr_accessor :checkout_items
|
|
3845
2795
|
|
|
3846
2796
|
def initialize(
|
|
3847
2797
|
adaptive_pricing: nil,
|
|
3848
2798
|
after_expiration: nil,
|
|
3849
2799
|
allow_promotion_codes: nil,
|
|
3850
2800
|
allowed_payment_method_types: nil,
|
|
3851
|
-
approval_method: nil,
|
|
3852
|
-
automatic_pass_through_fee: nil,
|
|
3853
|
-
automatic_surcharge: nil,
|
|
3854
2801
|
automatic_tax: nil,
|
|
3855
2802
|
billing_address_collection: nil,
|
|
3856
2803
|
branding_settings: nil,
|
|
@@ -3859,8 +2806,6 @@ module Stripe
|
|
|
3859
2806
|
consent_collection: nil,
|
|
3860
2807
|
currency: nil,
|
|
3861
2808
|
custom_fields: nil,
|
|
3862
|
-
custom_payment_method_options: nil,
|
|
3863
|
-
custom_payment_method_types: nil,
|
|
3864
2809
|
custom_text: nil,
|
|
3865
2810
|
customer: nil,
|
|
3866
2811
|
customer_account: nil,
|
|
@@ -3873,15 +2818,12 @@ module Stripe
|
|
|
3873
2818
|
expires_at: nil,
|
|
3874
2819
|
integration_identifier: nil,
|
|
3875
2820
|
invoice_creation: nil,
|
|
3876
|
-
items: nil,
|
|
3877
2821
|
line_items: nil,
|
|
3878
2822
|
locale: nil,
|
|
3879
2823
|
managed_payments: nil,
|
|
3880
|
-
marketing_attributions: nil,
|
|
3881
2824
|
metadata: nil,
|
|
3882
2825
|
mode: nil,
|
|
3883
2826
|
name_collection: nil,
|
|
3884
|
-
on_behalf_of: nil,
|
|
3885
2827
|
optional_items: nil,
|
|
3886
2828
|
origin_context: nil,
|
|
3887
2829
|
payment_intent_data: nil,
|
|
@@ -3889,7 +2831,6 @@ module Stripe
|
|
|
3889
2831
|
payment_method_configuration: nil,
|
|
3890
2832
|
payment_method_data: nil,
|
|
3891
2833
|
payment_method_options: nil,
|
|
3892
|
-
payment_settings: nil,
|
|
3893
2834
|
permissions: nil,
|
|
3894
2835
|
phone_number_collection: nil,
|
|
3895
2836
|
redirect_on_completion: nil,
|
|
@@ -3903,16 +2844,12 @@ module Stripe
|
|
|
3903
2844
|
success_url: nil,
|
|
3904
2845
|
tax_id_collection: nil,
|
|
3905
2846
|
ui_mode: nil,
|
|
3906
|
-
wallet_options: nil
|
|
3907
|
-
checkout_items: nil
|
|
2847
|
+
wallet_options: nil
|
|
3908
2848
|
)
|
|
3909
2849
|
@adaptive_pricing = adaptive_pricing
|
|
3910
2850
|
@after_expiration = after_expiration
|
|
3911
2851
|
@allow_promotion_codes = allow_promotion_codes
|
|
3912
2852
|
@allowed_payment_method_types = allowed_payment_method_types
|
|
3913
|
-
@approval_method = approval_method
|
|
3914
|
-
@automatic_pass_through_fee = automatic_pass_through_fee
|
|
3915
|
-
@automatic_surcharge = automatic_surcharge
|
|
3916
2853
|
@automatic_tax = automatic_tax
|
|
3917
2854
|
@billing_address_collection = billing_address_collection
|
|
3918
2855
|
@branding_settings = branding_settings
|
|
@@ -3921,8 +2858,6 @@ module Stripe
|
|
|
3921
2858
|
@consent_collection = consent_collection
|
|
3922
2859
|
@currency = currency
|
|
3923
2860
|
@custom_fields = custom_fields
|
|
3924
|
-
@custom_payment_method_options = custom_payment_method_options
|
|
3925
|
-
@custom_payment_method_types = custom_payment_method_types
|
|
3926
2861
|
@custom_text = custom_text
|
|
3927
2862
|
@customer = customer
|
|
3928
2863
|
@customer_account = customer_account
|
|
@@ -3935,15 +2870,12 @@ module Stripe
|
|
|
3935
2870
|
@expires_at = expires_at
|
|
3936
2871
|
@integration_identifier = integration_identifier
|
|
3937
2872
|
@invoice_creation = invoice_creation
|
|
3938
|
-
@items = items
|
|
3939
2873
|
@line_items = line_items
|
|
3940
2874
|
@locale = locale
|
|
3941
2875
|
@managed_payments = managed_payments
|
|
3942
|
-
@marketing_attributions = marketing_attributions
|
|
3943
2876
|
@metadata = metadata
|
|
3944
2877
|
@mode = mode
|
|
3945
2878
|
@name_collection = name_collection
|
|
3946
|
-
@on_behalf_of = on_behalf_of
|
|
3947
2879
|
@optional_items = optional_items
|
|
3948
2880
|
@origin_context = origin_context
|
|
3949
2881
|
@payment_intent_data = payment_intent_data
|
|
@@ -3951,7 +2883,6 @@ module Stripe
|
|
|
3951
2883
|
@payment_method_configuration = payment_method_configuration
|
|
3952
2884
|
@payment_method_data = payment_method_data
|
|
3953
2885
|
@payment_method_options = payment_method_options
|
|
3954
|
-
@payment_settings = payment_settings
|
|
3955
2886
|
@permissions = permissions
|
|
3956
2887
|
@phone_number_collection = phone_number_collection
|
|
3957
2888
|
@redirect_on_completion = redirect_on_completion
|
|
@@ -3966,60 +2897,10 @@ module Stripe
|
|
|
3966
2897
|
@tax_id_collection = tax_id_collection
|
|
3967
2898
|
@ui_mode = ui_mode
|
|
3968
2899
|
@wallet_options = wallet_options
|
|
3969
|
-
@checkout_items = checkout_items
|
|
3970
2900
|
end
|
|
3971
2901
|
|
|
3972
2902
|
def self.field_encodings
|
|
3973
2903
|
@field_encodings = {
|
|
3974
|
-
items: {
|
|
3975
|
-
kind: :array,
|
|
3976
|
-
element: {
|
|
3977
|
-
kind: :object,
|
|
3978
|
-
fields: {
|
|
3979
|
-
metronome_commit: {
|
|
3980
|
-
kind: :object,
|
|
3981
|
-
fields: {
|
|
3982
|
-
commits: {
|
|
3983
|
-
kind: :array,
|
|
3984
|
-
element: {
|
|
3985
|
-
kind: :object,
|
|
3986
|
-
fields: {
|
|
3987
|
-
access_schedule: {
|
|
3988
|
-
kind: :object,
|
|
3989
|
-
fields: {
|
|
3990
|
-
schedule_items: {
|
|
3991
|
-
kind: :array,
|
|
3992
|
-
element: { kind: :object, fields: { amount: :decimal_string } },
|
|
3993
|
-
},
|
|
3994
|
-
},
|
|
3995
|
-
},
|
|
3996
|
-
priority: :decimal_string,
|
|
3997
|
-
rollover_fraction: :decimal_string,
|
|
3998
|
-
},
|
|
3999
|
-
},
|
|
4000
|
-
},
|
|
4001
|
-
},
|
|
4002
|
-
},
|
|
4003
|
-
subscription: {
|
|
4004
|
-
kind: :object,
|
|
4005
|
-
fields: {
|
|
4006
|
-
items: {
|
|
4007
|
-
kind: :array,
|
|
4008
|
-
element: {
|
|
4009
|
-
kind: :object,
|
|
4010
|
-
fields: {
|
|
4011
|
-
price_data: {
|
|
4012
|
-
kind: :object,
|
|
4013
|
-
fields: { unit_amount_decimal: :decimal_string },
|
|
4014
|
-
},
|
|
4015
|
-
},
|
|
4016
|
-
},
|
|
4017
|
-
},
|
|
4018
|
-
},
|
|
4019
|
-
},
|
|
4020
|
-
},
|
|
4021
|
-
},
|
|
4022
|
-
},
|
|
4023
2904
|
line_items: {
|
|
4024
2905
|
kind: :array,
|
|
4025
2906
|
element: {
|
|
@@ -4027,18 +2908,6 @@ module Stripe
|
|
|
4027
2908
|
fields: { price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } } },
|
|
4028
2909
|
},
|
|
4029
2910
|
},
|
|
4030
|
-
payment_settings: {
|
|
4031
|
-
kind: :object,
|
|
4032
|
-
fields: {
|
|
4033
|
-
application_fee_data: { kind: :object, fields: { percentage_decimal: :decimal_string } },
|
|
4034
|
-
transfer_data: {
|
|
4035
|
-
kind: :object,
|
|
4036
|
-
fields: {
|
|
4037
|
-
transfer_amount: { kind: :object, fields: { percentage_decimal: :decimal_string } },
|
|
4038
|
-
},
|
|
4039
|
-
},
|
|
4040
|
-
},
|
|
4041
|
-
},
|
|
4042
2911
|
}
|
|
4043
2912
|
end
|
|
4044
2913
|
end
|