stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +23 -745
- data/lib/stripe/resources/account_link.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -22
- data/lib/stripe/resources/account_session.rb +0 -125
- data/lib/stripe/resources/apple_pay_domain.rb +0 -10
- data/lib/stripe/resources/application.rb +0 -3
- data/lib/stripe/resources/application_fee.rb +0 -24
- data/lib/stripe/resources/application_fee_refund.rb +0 -7
- data/lib/stripe/resources/apps/secret.rb +0 -25
- data/lib/stripe/resources/balance.rb +0 -31
- data/lib/stripe/resources/balance_transaction.rb +0 -29
- data/lib/stripe/resources/bank_account.rb +0 -29
- data/lib/stripe/resources/billing/alert.rb +0 -22
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
- data/lib/stripe/resources/billing/credit_grant.rb +0 -32
- data/lib/stripe/resources/billing/meter.rb +0 -25
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
- data/lib/stripe/resources/billing/meter_event.rb +0 -10
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
- data/lib/stripe/resources/billing_portal/session.rb +0 -42
- data/lib/stripe/resources/capability.rb +2 -29
- data/lib/stripe/resources/capital/financing_offer.rb +0 -33
- data/lib/stripe/resources/capital/financing_summary.rb +0 -13
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +2 -34
- data/lib/stripe/resources/cash_balance.rb +0 -5
- data/lib/stripe/resources/charge.rb +4 -665
- data/lib/stripe/resources/checkout/session.rb +4 -512
- data/lib/stripe/resources/climate/order.rb +0 -40
- data/lib/stripe/resources/climate/product.rb +0 -13
- data/lib/stripe/resources/climate/supplier.rb +0 -13
- data/lib/stripe/resources/confirmation_token.rb +2 -337
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
- data/lib/stripe/resources/country_spec.rb +0 -13
- data/lib/stripe/resources/coupon.rb +0 -39
- data/lib/stripe/resources/credit_note.rb +0 -138
- data/lib/stripe/resources/credit_note_line_item.rb +0 -24
- data/lib/stripe/resources/customer.rb +1 -156
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
- data/lib/stripe/resources/customer_session.rb +0 -24
- data/lib/stripe/resources/discount.rb +0 -12
- data/lib/stripe/resources/dispute.rb +4 -152
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
- data/lib/stripe/resources/entitlements/feature.rb +0 -17
- data/lib/stripe/resources/ephemeral_key.rb +0 -5
- data/lib/stripe/resources/event.rb +0 -27
- data/lib/stripe/resources/exchange_rate.rb +0 -5
- data/lib/stripe/resources/file.rb +0 -23
- data/lib/stripe/resources/file_link.rb +0 -22
- data/lib/stripe/resources/financial_connections/account.rb +0 -47
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
- data/lib/stripe/resources/financial_connections/institution.rb +0 -13
- data/lib/stripe/resources/financial_connections/session.rb +0 -28
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
- data/lib/stripe/resources/forwarding/request.rb +0 -31
- data/lib/stripe/resources/funding_instructions.rb +0 -107
- data/lib/stripe/resources/gift_cards/card.rb +0 -28
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
- data/lib/stripe/resources/identity/verification_report.rb +0 -69
- data/lib/stripe/resources/identity/verification_session.rb +0 -69
- data/lib/stripe/resources/invoice.rb +6 -1276
- data/lib/stripe/resources/invoice_item.rb +0 -91
- data/lib/stripe/resources/invoice_line_item.rb +0 -76
- data/lib/stripe/resources/invoice_payment.rb +0 -16
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -199
- data/lib/stripe/resources/issuing/card.rb +0 -128
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -151
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/issuing/settlement.rb +0 -16
- data/lib/stripe/resources/issuing/token.rb +0 -46
- data/lib/stripe/resources/issuing/transaction.rb +0 -171
- data/lib/stripe/resources/line_item.rb +0 -23
- data/lib/stripe/resources/login_link.rb +0 -2
- data/lib/stripe/resources/mandate.rb +0 -45
- data/lib/stripe/resources/margin.rb +0 -19
- data/lib/stripe/resources/order.rb +3 -391
- data/lib/stripe/resources/payment_attempt_record.rb +0 -42
- data/lib/stripe/resources/payment_intent.rb +2 -1768
- data/lib/stripe/resources/payment_link.rb +15 -213
- data/lib/stripe/resources/payment_method.rb +2 -345
- data/lib/stripe/resources/payment_method_configuration.rb +0 -293
- data/lib/stripe/resources/payment_method_domain.rb +0 -23
- data/lib/stripe/resources/payment_record.rb +0 -109
- data/lib/stripe/resources/payout.rb +0 -49
- data/lib/stripe/resources/person.rb +2 -92
- data/lib/stripe/resources/plan.rb +0 -69
- data/lib/stripe/resources/price.rb +0 -133
- data/lib/stripe/resources/product.rb +0 -100
- data/lib/stripe/resources/product_feature.rb +0 -4
- data/lib/stripe/resources/promotion_code.rb +0 -40
- data/lib/stripe/resources/quote.rb +0 -458
- data/lib/stripe/resources/quote_line.rb +0 -66
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
- data/lib/stripe/resources/radar/value_list.rb +0 -26
- data/lib/stripe/resources/radar/value_list_item.rb +0 -18
- data/lib/stripe/resources/refund.rb +0 -92
- data/lib/stripe/resources/reporting/report_run.rb +0 -32
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -4
- data/lib/stripe/resources/reversal.rb +0 -9
- data/lib/stripe/resources/review.rb +0 -27
- data/lib/stripe/resources/setup_attempt.rb +2 -103
- data/lib/stripe/resources/setup_intent.rb +2 -539
- data/lib/stripe/resources/shipping_rate.rb +0 -44
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
- data/lib/stripe/resources/source.rb +6 -338
- data/lib/stripe/resources/source_mandate_notification.rb +0 -13
- data/lib/stripe/resources/source_transaction.rb +0 -29
- data/lib/stripe/resources/subscription.rb +0 -338
- data/lib/stripe/resources/subscription_item.rb +0 -69
- data/lib/stripe/resources/subscription_schedule.rb +0 -388
- data/lib/stripe/resources/tax/association.rb +0 -11
- data/lib/stripe/resources/tax/calculation.rb +2 -89
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
- data/lib/stripe/resources/tax/form.rb +2 -35
- data/lib/stripe/resources/tax/registration.rb +421 -213
- data/lib/stripe/resources/tax/settings.rb +0 -20
- data/lib/stripe/resources/tax/transaction.rb +1 -66
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
- data/lib/stripe/resources/tax_code.rb +0 -6
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
- data/lib/stripe/resources/tax_id.rb +2 -28
- data/lib/stripe/resources/tax_rate.rb +0 -45
- data/lib/stripe/resources/terminal/configuration.rb +0 -164
- data/lib/stripe/resources/terminal/connection_token.rb +0 -3
- data/lib/stripe/resources/terminal/location.rb +0 -33
- data/lib/stripe/resources/terminal/reader.rb +0 -129
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
- data/lib/stripe/resources/token.rb +4 -192
- data/lib/stripe/resources/topup.rb +0 -36
- data/lib/stripe/resources/transfer.rb +0 -35
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
- data/lib/stripe/resources/treasury/financial_account.rb +77 -71
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
- data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
- data/lib/stripe/resources/treasury/received_credit.rb +6 -58
- data/lib/stripe/resources/treasury/received_debit.rb +0 -54
- data/lib/stripe/resources/treasury/transaction.rb +0 -39
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
- data/lib/stripe/resources/usage_record.rb +0 -5
- data/lib/stripe/resources/usage_record_summary.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
- data/lib/stripe/resources/v2/event.rb +0 -8
- data/lib/stripe/resources/v2/event_destination.rb +0 -19
- data/lib/stripe/resources/webhook_endpoint.rb +0 -26
- data/lib/stripe/services/account_capability_service.rb +0 -1
- data/lib/stripe/services/account_external_account_service.rb +0 -43
- data/lib/stripe/services/account_link_service.rb +0 -7
- data/lib/stripe/services/account_notice_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -139
- data/lib/stripe/services/account_service.rb +8 -519
- data/lib/stripe/services/account_session_service.rb +0 -76
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
- data/lib/stripe/services/application_fee_refund_service.rb +0 -6
- data/lib/stripe/services/application_fee_service.rb +0 -8
- data/lib/stripe/services/apps/secret_service.rb +0 -16
- data/lib/stripe/services/balance_transaction_service.rb +0 -11
- data/lib/stripe/services/billing/alert_service.rb +0 -12
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
- data/lib/stripe/services/billing/meter_event_service.rb +0 -4
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
- data/lib/stripe/services/billing/meter_service.rb +0 -12
- data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
- data/lib/stripe/services/billing_portal/session_service.rb +0 -19
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
- data/lib/stripe/services/charge_service.rb +0 -274
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
- data/lib/stripe/services/checkout/session_service.rb +2 -273
- data/lib/stripe/services/climate/order_service.rb +0 -11
- data/lib/stripe/services/climate/product_service.rb +0 -3
- data/lib/stripe/services/climate/supplier_service.rb +0 -3
- data/lib/stripe/services/country_spec_service.rb +0 -3
- data/lib/stripe/services/coupon_service.rb +0 -22
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
- data/lib/stripe/services/credit_note_service.rb +0 -61
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
- data/lib/stripe/services/customer_payment_method_service.rb +0 -5
- data/lib/stripe/services/customer_payment_source_service.rb +0 -29
- data/lib/stripe/services/customer_service.rb +1 -92
- data/lib/stripe/services/customer_session_service.rb +0 -10
- data/lib/stripe/services/customer_tax_id_service.rb +1 -6
- data/lib/stripe/services/dispute_service.rb +2 -67
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
- data/lib/stripe/services/entitlements/feature_service.rb +0 -11
- data/lib/stripe/services/ephemeral_key_service.rb +0 -4
- data/lib/stripe/services/event_service.rb +0 -10
- data/lib/stripe/services/exchange_rate_service.rb +0 -3
- data/lib/stripe/services/file_link_service.rb +0 -14
- data/lib/stripe/services/file_service.rb +0 -13
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
- data/lib/stripe/services/financial_connections/account_service.rb +0 -9
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
- data/lib/stripe/services/financial_connections/session_service.rb +0 -11
- data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
- data/lib/stripe/services/forwarding/request_service.rb +0 -14
- data/lib/stripe/services/gift_cards/card_service.rb +0 -13
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
- data/lib/stripe/services/identity/verification_report_service.rb +0 -10
- data/lib/stripe/services/identity/verification_session_service.rb +0 -30
- data/lib/stripe/services/invoice_item_service.rb +0 -66
- data/lib/stripe/services/invoice_line_item_service.rb +0 -40
- data/lib/stripe/services/invoice_payment_service.rb +0 -3
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
- data/lib/stripe/services/invoice_service.rb +2 -810
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
- data/lib/stripe/services/issuing/authorization_service.rb +0 -14
- data/lib/stripe/services/issuing/card_service.rb +0 -70
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
- data/lib/stripe/services/issuing/dispute_service.rb +0 -98
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
- data/lib/stripe/services/issuing/token_service.rb +0 -10
- data/lib/stripe/services/issuing/transaction_service.rb +0 -12
- data/lib/stripe/services/margin_service.rb +0 -11
- data/lib/stripe/services/order_line_item_service.rb +0 -3
- data/lib/stripe/services/order_service.rb +2 -266
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
- data/lib/stripe/services/payment_intent_service.rb +0 -1309
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
- data/lib/stripe/services/payment_link_service.rb +15 -135
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
- data/lib/stripe/services/payment_method_domain_service.rb +0 -8
- data/lib/stripe/services/payment_method_service.rb +0 -113
- data/lib/stripe/services/payment_record_service.rb +0 -68
- data/lib/stripe/services/payout_service.rb +0 -23
- data/lib/stripe/services/plan_service.rb +0 -43
- data/lib/stripe/services/price_service.rb +0 -87
- data/lib/stripe/services/product_feature_service.rb +0 -4
- data/lib/stripe/services/product_service.rb +0 -74
- data/lib/stripe/services/promotion_code_service.rb +0 -25
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
- data/lib/stripe/services/quote_line_item_service.rb +0 -3
- data/lib/stripe/services/quote_line_service.rb +0 -3
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
- data/lib/stripe/services/quote_service.rb +0 -309
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
- data/lib/stripe/services/radar/value_list_service.rb +0 -16
- data/lib/stripe/services/refund_service.rb +0 -21
- data/lib/stripe/services/reporting/report_run_service.rb +0 -16
- data/lib/stripe/services/review_service.rb +0 -7
- data/lib/stripe/services/setup_attempt_service.rb +0 -8
- data/lib/stripe/services/setup_intent_service.rb +0 -447
- data/lib/stripe/services/shipping_rate_service.rb +0 -27
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
- data/lib/stripe/services/source_service.rb +0 -92
- data/lib/stripe/services/source_transaction_service.rb +0 -3
- data/lib/stripe/services/subscription_item_service.rb +0 -56
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
- data/lib/stripe/services/subscription_schedule_service.rb +0 -290
- data/lib/stripe/services/subscription_service.rb +0 -245
- data/lib/stripe/services/tax/association_service.rb +0 -1
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/calculation_service.rb +1 -31
- data/lib/stripe/services/tax/form_service.rb +0 -7
- data/lib/stripe/services/tax/registration_service.rb +274 -108
- data/lib/stripe/services/tax/settings_service.rb +0 -8
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/transaction_service.rb +0 -17
- data/lib/stripe/services/tax_code_service.rb +0 -3
- data/lib/stripe/services/tax_id_service.rb +1 -12
- data/lib/stripe/services/tax_rate_service.rb +0 -27
- data/lib/stripe/services/terminal/configuration_service.rb +0 -108
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
- data/lib/stripe/services/terminal/location_service.rb +0 -21
- data/lib/stripe/services/terminal/reader_service.rb +0 -53
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
- data/lib/stripe/services/token_service.rb +4 -184
- data/lib/stripe/services/topup_service.rb +0 -21
- data/lib/stripe/services/transfer_reversal_service.rb +0 -8
- data/lib/stripe/services/transfer_service.rb +0 -19
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
- data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
- data/lib/stripe/services/treasury/transaction_service.rb +0 -14
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
- data/lib/stripe/services/v2/core/event_service.rb +0 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_object.rb +3 -3
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +29 -1001
- data/rbi/stripe/resources/account_link.rbi +0 -13
- data/rbi/stripe/resources/account_notice.rbi +0 -27
- data/rbi/stripe/resources/account_session.rbi +0 -166
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
- data/rbi/stripe/resources/application.rbi +0 -3
- data/rbi/stripe/resources/application_fee.rbi +0 -28
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
- data/rbi/stripe/resources/apps/secret.rbi +0 -34
- data/rbi/stripe/resources/balance.rbi +0 -33
- data/rbi/stripe/resources/balance_transaction.rbi +0 -33
- data/rbi/stripe/resources/bank_account.rbi +0 -29
- data/rbi/stripe/resources/billing/alert.rbi +0 -31
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
- data/rbi/stripe/resources/billing/meter.rbi +0 -35
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
- data/rbi/stripe/resources/capability.rbi +2 -29
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
- data/rbi/stripe/resources/card.rbi +3 -34
- data/rbi/stripe/resources/cash_balance.rbi +0 -5
- data/rbi/stripe/resources/charge.rbi +6 -738
- data/rbi/stripe/resources/checkout/session.rbi +4 -636
- data/rbi/stripe/resources/climate/order.rbi +0 -48
- data/rbi/stripe/resources/climate/product.rbi +0 -16
- data/rbi/stripe/resources/climate/supplier.rbi +0 -16
- data/rbi/stripe/resources/confirmation_token.rbi +3 -364
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
- data/rbi/stripe/resources/country_spec.rbi +0 -16
- data/rbi/stripe/resources/coupon.rbi +0 -48
- data/rbi/stripe/resources/credit_note.rbi +0 -159
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
- data/rbi/stripe/resources/customer.rbi +1 -188
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/customer_session.rbi +0 -31
- data/rbi/stripe/resources/discount.rbi +0 -12
- data/rbi/stripe/resources/dispute.rbi +4 -166
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
- data/rbi/stripe/resources/event.rbi +0 -31
- data/rbi/stripe/resources/exchange_rate.rbi +0 -8
- data/rbi/stripe/resources/file.rbi +0 -29
- data/rbi/stripe/resources/file_link.rbi +0 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
- data/rbi/stripe/resources/forwarding/request.rbi +0 -38
- data/rbi/stripe/resources/funding_instructions.rbi +0 -107
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
- data/rbi/stripe/resources/invoice.rbi +7 -1663
- data/rbi/stripe/resources/invoice_item.rbi +0 -107
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
- data/rbi/stripe/resources/invoice_payment.rbi +0 -16
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
- data/rbi/stripe/resources/issuing/card.rbi +0 -153
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
- data/rbi/stripe/resources/issuing/token.rbi +0 -51
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
- data/rbi/stripe/resources/line_item.rbi +0 -23
- data/rbi/stripe/resources/login_link.rbi +0 -2
- data/rbi/stripe/resources/mandate.rbi +0 -47
- data/rbi/stripe/resources/margin.rbi +0 -24
- data/rbi/stripe/resources/order.rbi +3 -492
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
- data/rbi/stripe/resources/payment_intent.rbi +3 -2224
- data/rbi/stripe/resources/payment_link.rbi +14 -291
- data/rbi/stripe/resources/payment_method.rbi +3 -382
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
- data/rbi/stripe/resources/payment_record.rbi +0 -134
- data/rbi/stripe/resources/payout.rbi +0 -58
- data/rbi/stripe/resources/person.rbi +2 -92
- data/rbi/stripe/resources/plan.rbi +0 -78
- data/rbi/stripe/resources/price.rbi +0 -153
- data/rbi/stripe/resources/product.rbi +0 -120
- data/rbi/stripe/resources/product_feature.rbi +0 -4
- data/rbi/stripe/resources/promotion_code.rbi +0 -50
- data/rbi/stripe/resources/quote.rbi +0 -593
- data/rbi/stripe/resources/quote_line.rbi +0 -66
- data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
- data/rbi/stripe/resources/radar/value_list.rbi +0 -32
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
- data/rbi/stripe/resources/refund.rbi +0 -100
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
- data/rbi/stripe/resources/reversal.rbi +0 -9
- data/rbi/stripe/resources/review.rbi +0 -32
- data/rbi/stripe/resources/setup_attempt.rbi +3 -106
- data/rbi/stripe/resources/setup_intent.rbi +3 -688
- data/rbi/stripe/resources/shipping_rate.rbi +0 -57
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
- data/rbi/stripe/resources/source.rbi +9 -365
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
- data/rbi/stripe/resources/source_transaction.rbi +0 -29
- data/rbi/stripe/resources/subscription.rbi +0 -431
- data/rbi/stripe/resources/subscription_item.rbi +0 -88
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
- data/rbi/stripe/resources/tax/association.rbi +0 -13
- data/rbi/stripe/resources/tax/calculation.rbi +2 -100
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
- data/rbi/stripe/resources/tax/form.rbi +2 -40
- data/rbi/stripe/resources/tax/registration.rbi +401 -317
- data/rbi/stripe/resources/tax/settings.rbi +0 -26
- data/rbi/stripe/resources/tax/transaction.rbi +1 -73
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
- data/rbi/stripe/resources/tax_code.rbi +0 -9
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
- data/rbi/stripe/resources/tax_id.rbi +2 -34
- data/rbi/stripe/resources/tax_rate.rbi +0 -51
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
- data/rbi/stripe/resources/terminal/location.rbi +0 -40
- data/rbi/stripe/resources/terminal/reader.rbi +0 -158
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
- data/rbi/stripe/resources/token.rbi +5 -235
- data/rbi/stripe/resources/topup.rbi +0 -44
- data/rbi/stripe/resources/transfer.rbi +0 -41
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
- data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
- data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -5
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
- data/rbi/stripe/resources/v2/event.rbi +0 -8
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
- data/rbi/stripe/services/account_capability_service.rbi +0 -4
- data/rbi/stripe/services/account_external_account_service.rbi +0 -52
- data/rbi/stripe/services/account_link_service.rbi +0 -9
- data/rbi/stripe/services/account_login_link_service.rbi +0 -1
- data/rbi/stripe/services/account_notice_service.rbi +0 -13
- data/rbi/stripe/services/account_person_service.rbi +0 -174
- data/rbi/stripe/services/account_service.rbi +10 -773
- data/rbi/stripe/services/account_session_service.rbi +0 -116
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
- data/rbi/stripe/services/application_fee_service.rbi +0 -11
- data/rbi/stripe/services/apps/secret_service.rbi +0 -24
- data/rbi/stripe/services/balance_service.rbi +0 -1
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
- data/rbi/stripe/services/billing/alert_service.rbi +0 -20
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
- data/rbi/stripe/services/billing/meter_service.rbi +0 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
- data/rbi/stripe/services/charge_service.rbi +0 -346
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
- data/rbi/stripe/services/checkout/session_service.rbi +2 -395
- data/rbi/stripe/services/climate/order_service.rbi +0 -18
- data/rbi/stripe/services/climate/product_service.rbi +0 -5
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
- data/rbi/stripe/services/country_spec_service.rbi +0 -5
- data/rbi/stripe/services/coupon_service.rbi +0 -30
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
- data/rbi/stripe/services/credit_note_service.rbi +0 -76
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
- data/rbi/stripe/services/customer_service.rbi +1 -117
- data/rbi/stripe/services/customer_session_service.rbi +0 -16
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
- data/rbi/stripe/services/dispute_service.rbi +2 -80
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
- data/rbi/stripe/services/event_service.rbi +0 -13
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
- data/rbi/stripe/services/file_link_service.rbi +0 -19
- data/rbi/stripe/services/file_service.rbi +0 -18
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
- data/rbi/stripe/services/invoice_item_service.rbi +0 -81
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
- data/rbi/stripe/services/invoice_service.rbi +2 -1100
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
- data/rbi/stripe/services/issuing/card_service.rbi +0 -89
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
- data/rbi/stripe/services/issuing/token_service.rbi +0 -14
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -1
- data/rbi/stripe/services/margin_service.rbi +0 -15
- data/rbi/stripe/services/order_line_item_service.rbi +0 -4
- data/rbi/stripe/services/order_service.rbi +2 -365
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
- data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
- data/rbi/stripe/services/payment_link_service.rbi +14 -211
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
- data/rbi/stripe/services/payment_method_service.rbi +0 -149
- data/rbi/stripe/services/payment_record_service.rbi +0 -92
- data/rbi/stripe/services/payout_service.rbi +0 -31
- data/rbi/stripe/services/plan_service.rbi +0 -51
- data/rbi/stripe/services/price_service.rbi +0 -106
- data/rbi/stripe/services/product_feature_service.rbi +0 -7
- data/rbi/stripe/services/product_service.rbi +0 -93
- data/rbi/stripe/services/promotion_code_service.rbi +0 -34
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
- data/rbi/stripe/services/quote_service.rbi +0 -440
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
- data/rbi/stripe/services/refund_service.rbi +0 -27
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
- data/rbi/stripe/services/review_service.rbi +0 -11
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
- data/rbi/stripe/services/setup_intent_service.rbi +0 -595
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
- data/rbi/stripe/services/source_service.rbi +0 -119
- data/rbi/stripe/services/source_transaction_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_service.rbi +0 -74
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
- data/rbi/stripe/services/subscription_service.rbi +0 -337
- data/rbi/stripe/services/tax/association_service.rbi +0 -2
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
- data/rbi/stripe/services/tax/form_service.rbi +0 -11
- data/rbi/stripe/services/tax/registration_service.rbi +233 -211
- data/rbi/stripe/services/tax/settings_service.rbi +0 -13
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
- data/rbi/stripe/services/tax_code_service.rbi +0 -5
- data/rbi/stripe/services/tax_id_service.rbi +1 -17
- data/rbi/stripe/services/tax_rate_service.rbi +0 -32
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
- data/rbi/stripe/services/terminal/location_service.rbi +0 -27
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
- data/rbi/stripe/services/token_service.rbi +5 -226
- data/rbi/stripe/services/topup_service.rbi +0 -28
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
- data/rbi/stripe/services/transfer_service.rbi +0 -24
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
- data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
- metadata +2 -2
@@ -8,11 +8,9 @@ module Stripe
|
|
8
8
|
# A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
|
9
9
|
sig { returns(T.nilable(String)) }
|
10
10
|
attr_reader :new_reference
|
11
|
-
|
12
11
|
# The ID of the schedule the line applies to.
|
13
12
|
sig { returns(T.nilable(String)) }
|
14
13
|
attr_reader :subscription_schedule
|
15
|
-
|
16
14
|
# Describes whether the quote line is affecting a new schedule or an existing schedule.
|
17
15
|
sig { returns(String) }
|
18
16
|
attr_reader :type
|
@@ -21,7 +19,6 @@ module Stripe
|
|
21
19
|
# The end of this phase of the subscription schedule.
|
22
20
|
sig { returns(Integer) }
|
23
21
|
attr_reader :end_date
|
24
|
-
|
25
22
|
# The start of this phase of the subscription schedule.
|
26
23
|
sig { returns(Integer) }
|
27
24
|
attr_reader :start_date
|
@@ -32,7 +29,6 @@ module Stripe
|
|
32
29
|
# The connected account being referenced when `type` is `account`.
|
33
30
|
sig { returns(T.any(String, Stripe::Account)) }
|
34
31
|
attr_reader :account
|
35
|
-
|
36
32
|
# Type of the account referenced.
|
37
33
|
sig { returns(String) }
|
38
34
|
attr_reader :type
|
@@ -40,11 +36,9 @@ module Stripe
|
|
40
36
|
# If Stripe disabled automatic tax, this enum describes why.
|
41
37
|
sig { returns(T.nilable(String)) }
|
42
38
|
attr_reader :disabled_reason
|
43
|
-
|
44
39
|
# Whether Stripe automatically computes tax on invoices created during this phase.
|
45
40
|
sig { returns(T::Boolean) }
|
46
41
|
attr_reader :enabled
|
47
|
-
|
48
42
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
49
43
|
sig { returns(T.nilable(Liability)) }
|
50
44
|
attr_reader :liability
|
@@ -53,7 +47,6 @@ module Stripe
|
|
53
47
|
# Monetary threshold that triggers the subscription to create an invoice
|
54
48
|
sig { returns(T.nilable(Integer)) }
|
55
49
|
attr_reader :amount_gte
|
56
|
-
|
57
50
|
# Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`.
|
58
51
|
sig { returns(T.nilable(T::Boolean)) }
|
59
52
|
attr_reader :reset_billing_cycle_anchor
|
@@ -63,7 +56,6 @@ module Stripe
|
|
63
56
|
# The connected account being referenced when `type` is `account`.
|
64
57
|
sig { returns(T.any(String, Stripe::Account)) }
|
65
58
|
attr_reader :account
|
66
|
-
|
67
59
|
# Type of the account referenced.
|
68
60
|
sig { returns(String) }
|
69
61
|
attr_reader :type
|
@@ -71,11 +63,9 @@ module Stripe
|
|
71
63
|
# The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
|
72
64
|
sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) }
|
73
65
|
attr_reader :account_tax_ids
|
74
|
-
|
75
66
|
# Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.
|
76
67
|
sig { returns(T.nilable(Integer)) }
|
77
68
|
attr_reader :days_until_due
|
78
|
-
|
79
69
|
# Attribute for field issuer
|
80
70
|
sig { returns(Issuer) }
|
81
71
|
attr_reader :issuer
|
@@ -84,7 +74,6 @@ module Stripe
|
|
84
74
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
85
75
|
sig { returns(T.nilable(Float)) }
|
86
76
|
attr_reader :amount_percent
|
87
|
-
|
88
77
|
# The account where funds from the payment will be transferred to upon payment success.
|
89
78
|
sig { returns(T.any(String, Stripe::Account)) }
|
90
79
|
attr_reader :destination
|
@@ -92,39 +81,30 @@ module Stripe
|
|
92
81
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account during this phase of the schedule.
|
93
82
|
sig { returns(T.nilable(Float)) }
|
94
83
|
attr_reader :application_fee_percent
|
95
|
-
|
96
84
|
# Attribute for field automatic_tax
|
97
85
|
sig { returns(AutomaticTax) }
|
98
86
|
attr_reader :automatic_tax
|
99
|
-
|
100
87
|
# Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).
|
101
88
|
sig { returns(String) }
|
102
89
|
attr_reader :billing_cycle_anchor
|
103
|
-
|
104
90
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
|
105
91
|
sig { returns(T.nilable(BillingThresholds)) }
|
106
92
|
attr_reader :billing_thresholds
|
107
|
-
|
108
93
|
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`.
|
109
94
|
sig { returns(T.nilable(String)) }
|
110
95
|
attr_reader :collection_method
|
111
|
-
|
112
96
|
# ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.
|
113
97
|
sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
|
114
98
|
attr_reader :default_payment_method
|
115
|
-
|
116
99
|
# Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
117
100
|
sig { returns(T.nilable(String)) }
|
118
101
|
attr_reader :description
|
119
|
-
|
120
102
|
# Attribute for field invoice_settings
|
121
103
|
sig { returns(InvoiceSettings) }
|
122
104
|
attr_reader :invoice_settings
|
123
|
-
|
124
105
|
# The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.
|
125
106
|
sig { returns(T.nilable(T.any(String, Stripe::Account))) }
|
126
107
|
attr_reader :on_behalf_of
|
127
|
-
|
128
108
|
# The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.
|
129
109
|
sig { returns(T.nilable(TransferData)) }
|
130
110
|
attr_reader :transfer_data
|
@@ -134,7 +114,6 @@ module Stripe
|
|
134
114
|
# The original price to be migrated.
|
135
115
|
sig { returns(String) }
|
136
116
|
attr_reader :source_price
|
137
|
-
|
138
117
|
# The intended resulting price of the migration.
|
139
118
|
sig { returns(String) }
|
140
119
|
attr_reader :target_price
|
@@ -142,11 +121,9 @@ module Stripe
|
|
142
121
|
# The time at which the price migration encountered an error.
|
143
122
|
sig { returns(Integer) }
|
144
123
|
attr_reader :errored_at
|
145
|
-
|
146
124
|
# The involved price pairs in each failed transition.
|
147
125
|
sig { returns(T::Array[FailedTransition]) }
|
148
126
|
attr_reader :failed_transitions
|
149
|
-
|
150
127
|
# The type of error encountered by the price migration.
|
151
128
|
sig { returns(String) }
|
152
129
|
attr_reader :type
|
@@ -158,7 +135,6 @@ module Stripe
|
|
158
135
|
# The discount end timestamp.
|
159
136
|
sig { returns(T.nilable(Integer)) }
|
160
137
|
attr_reader :timestamp
|
161
|
-
|
162
138
|
# The discount end type.
|
163
139
|
sig { returns(String) }
|
164
140
|
attr_reader :type
|
@@ -166,15 +142,12 @@ module Stripe
|
|
166
142
|
# ID of the coupon to create a new discount for.
|
167
143
|
sig { returns(T.nilable(T.any(String, Stripe::Coupon))) }
|
168
144
|
attr_reader :coupon
|
169
|
-
|
170
145
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
171
146
|
sig { returns(T.nilable(T.any(String, Stripe::Discount))) }
|
172
147
|
attr_reader :discount
|
173
|
-
|
174
148
|
# Details to determine how long the discount should be applied for.
|
175
149
|
sig { returns(T.nilable(DiscountEnd)) }
|
176
150
|
attr_reader :discount_end
|
177
|
-
|
178
151
|
# ID of the promotion code to create a new discount for.
|
179
152
|
sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) }
|
180
153
|
attr_reader :promotion_code
|
@@ -182,15 +155,12 @@ module Stripe
|
|
182
155
|
# The stackable discounts that will be applied to the item.
|
183
156
|
sig { returns(T::Array[Discount]) }
|
184
157
|
attr_reader :discounts
|
185
|
-
|
186
158
|
# ID of the price used to generate the invoice item.
|
187
159
|
sig { returns(T.any(String, Stripe::Price)) }
|
188
160
|
attr_reader :price
|
189
|
-
|
190
161
|
# The quantity of the invoice item.
|
191
162
|
sig { returns(T.nilable(Integer)) }
|
192
163
|
attr_reader :quantity
|
193
|
-
|
194
164
|
# The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
|
195
165
|
sig { returns(T.nilable(T::Array[Stripe::TaxRate])) }
|
196
166
|
attr_reader :tax_rates
|
@@ -200,7 +170,6 @@ module Stripe
|
|
200
170
|
# The connected account being referenced when `type` is `account`.
|
201
171
|
sig { returns(T.any(String, Stripe::Account)) }
|
202
172
|
attr_reader :account
|
203
|
-
|
204
173
|
# Type of the account referenced.
|
205
174
|
sig { returns(String) }
|
206
175
|
attr_reader :type
|
@@ -208,11 +177,9 @@ module Stripe
|
|
208
177
|
# If Stripe disabled automatic tax, this enum describes why.
|
209
178
|
sig { returns(T.nilable(String)) }
|
210
179
|
attr_reader :disabled_reason
|
211
|
-
|
212
180
|
# Whether Stripe automatically computes tax on invoices created during this phase.
|
213
181
|
sig { returns(T::Boolean) }
|
214
182
|
attr_reader :enabled
|
215
|
-
|
216
183
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
217
184
|
sig { returns(T.nilable(Liability)) }
|
218
185
|
attr_reader :liability
|
@@ -221,7 +188,6 @@ module Stripe
|
|
221
188
|
# Monetary threshold that triggers the subscription to create an invoice
|
222
189
|
sig { returns(T.nilable(Integer)) }
|
223
190
|
attr_reader :amount_gte
|
224
|
-
|
225
191
|
# Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`.
|
226
192
|
sig { returns(T.nilable(T::Boolean)) }
|
227
193
|
attr_reader :reset_billing_cycle_anchor
|
@@ -231,7 +197,6 @@ module Stripe
|
|
231
197
|
# The discount end timestamp.
|
232
198
|
sig { returns(T.nilable(Integer)) }
|
233
199
|
attr_reader :timestamp
|
234
|
-
|
235
200
|
# The discount end type.
|
236
201
|
sig { returns(String) }
|
237
202
|
attr_reader :type
|
@@ -239,15 +204,12 @@ module Stripe
|
|
239
204
|
# ID of the coupon to create a new discount for.
|
240
205
|
sig { returns(T.nilable(T.any(String, Stripe::Coupon))) }
|
241
206
|
attr_reader :coupon
|
242
|
-
|
243
207
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
244
208
|
sig { returns(T.nilable(T.any(String, Stripe::Discount))) }
|
245
209
|
attr_reader :discount
|
246
|
-
|
247
210
|
# Details to determine how long the discount should be applied for.
|
248
211
|
sig { returns(T.nilable(DiscountEnd)) }
|
249
212
|
attr_reader :discount_end
|
250
|
-
|
251
213
|
# ID of the promotion code to create a new discount for.
|
252
214
|
sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) }
|
253
215
|
attr_reader :promotion_code
|
@@ -257,7 +219,6 @@ module Stripe
|
|
257
219
|
# The connected account being referenced when `type` is `account`.
|
258
220
|
sig { returns(T.any(String, Stripe::Account)) }
|
259
221
|
attr_reader :account
|
260
|
-
|
261
222
|
# Type of the account referenced.
|
262
223
|
sig { returns(String) }
|
263
224
|
attr_reader :type
|
@@ -265,11 +226,9 @@ module Stripe
|
|
265
226
|
# The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
|
266
227
|
sig { returns(T.nilable(T::Array[T.any(String, Stripe::TaxId)])) }
|
267
228
|
attr_reader :account_tax_ids
|
268
|
-
|
269
229
|
# Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.
|
270
230
|
sig { returns(T.nilable(Integer)) }
|
271
231
|
attr_reader :days_until_due
|
272
|
-
|
273
232
|
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
274
233
|
sig { returns(T.nilable(Issuer)) }
|
275
234
|
attr_reader :issuer
|
@@ -285,7 +244,6 @@ module Stripe
|
|
285
244
|
# The discount end timestamp.
|
286
245
|
sig { returns(T.nilable(Integer)) }
|
287
246
|
attr_reader :timestamp
|
288
|
-
|
289
247
|
# The discount end type.
|
290
248
|
sig { returns(String) }
|
291
249
|
attr_reader :type
|
@@ -293,15 +251,12 @@ module Stripe
|
|
293
251
|
# ID of the coupon to create a new discount for.
|
294
252
|
sig { returns(T.nilable(T.any(String, Stripe::Coupon))) }
|
295
253
|
attr_reader :coupon
|
296
|
-
|
297
254
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
298
255
|
sig { returns(T.nilable(T.any(String, Stripe::Discount))) }
|
299
256
|
attr_reader :discount
|
300
|
-
|
301
257
|
# Details to determine how long the discount should be applied for.
|
302
258
|
sig { returns(T.nilable(DiscountEnd)) }
|
303
259
|
attr_reader :discount_end
|
304
|
-
|
305
260
|
# ID of the promotion code to create a new discount for.
|
306
261
|
sig { returns(T.nilable(T.any(String, Stripe::PromotionCode))) }
|
307
262
|
attr_reader :promotion_code
|
@@ -310,7 +265,6 @@ module Stripe
|
|
310
265
|
# List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial.
|
311
266
|
sig { returns(T.nilable(T::Array[String])) }
|
312
267
|
attr_reader :converts_to
|
313
|
-
|
314
268
|
# Determines the type of trial for this item.
|
315
269
|
sig { returns(String) }
|
316
270
|
attr_reader :type
|
@@ -318,31 +272,24 @@ module Stripe
|
|
318
272
|
# Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
|
319
273
|
sig { returns(T.nilable(BillingThresholds)) }
|
320
274
|
attr_reader :billing_thresholds
|
321
|
-
|
322
275
|
# The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.
|
323
276
|
sig { returns(T::Array[Discount]) }
|
324
277
|
attr_reader :discounts
|
325
|
-
|
326
278
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an item. Metadata on this item will update the underlying subscription item's `metadata` when the phase is entered.
|
327
279
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
328
280
|
attr_reader :metadata
|
329
|
-
|
330
281
|
# ID of the plan to which the customer should be subscribed.
|
331
282
|
sig { returns(T.any(String, Stripe::Plan)) }
|
332
283
|
attr_reader :plan
|
333
|
-
|
334
284
|
# ID of the price to which the customer should be subscribed.
|
335
285
|
sig { returns(T.any(String, Stripe::Price)) }
|
336
286
|
attr_reader :price
|
337
|
-
|
338
287
|
# Quantity of the plan to which the customer should be subscribed.
|
339
288
|
sig { returns(Integer) }
|
340
289
|
attr_reader :quantity
|
341
|
-
|
342
290
|
# The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`.
|
343
291
|
sig { returns(T.nilable(T::Array[Stripe::TaxRate])) }
|
344
292
|
attr_reader :tax_rates
|
345
|
-
|
346
293
|
# Options that configure the trial on the subscription item.
|
347
294
|
sig { returns(T.nilable(Trial)) }
|
348
295
|
attr_reader :trial
|
@@ -356,7 +303,6 @@ module Stripe
|
|
356
303
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
357
304
|
sig { returns(T.nilable(Float)) }
|
358
305
|
attr_reader :amount_percent
|
359
|
-
|
360
306
|
# The account where funds from the payment will be transferred to upon payment success.
|
361
307
|
sig { returns(T.any(String, Stripe::Account)) }
|
362
308
|
attr_reader :destination
|
@@ -374,95 +320,72 @@ module Stripe
|
|
374
320
|
# A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
|
375
321
|
sig { returns(T::Array[AddInvoiceItem]) }
|
376
322
|
attr_reader :add_invoice_items
|
377
|
-
|
378
323
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account during this phase of the schedule.
|
379
324
|
sig { returns(T.nilable(Float)) }
|
380
325
|
attr_reader :application_fee_percent
|
381
|
-
|
382
326
|
# Attribute for field automatic_tax
|
383
327
|
sig { returns(AutomaticTax) }
|
384
328
|
attr_reader :automatic_tax
|
385
|
-
|
386
329
|
# Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).
|
387
330
|
sig { returns(T.nilable(String)) }
|
388
331
|
attr_reader :billing_cycle_anchor
|
389
|
-
|
390
332
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
|
391
333
|
sig { returns(T.nilable(BillingThresholds)) }
|
392
334
|
attr_reader :billing_thresholds
|
393
|
-
|
394
335
|
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`.
|
395
336
|
sig { returns(T.nilable(String)) }
|
396
337
|
attr_reader :collection_method
|
397
|
-
|
398
338
|
# ID of the coupon to use during this phase of the subscription schedule.
|
399
339
|
sig { returns(T.nilable(T.any(String, Stripe::Coupon))) }
|
400
340
|
attr_reader :coupon
|
401
|
-
|
402
341
|
# 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).
|
403
342
|
sig { returns(String) }
|
404
343
|
attr_reader :currency
|
405
|
-
|
406
344
|
# ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.
|
407
345
|
sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
|
408
346
|
attr_reader :default_payment_method
|
409
|
-
|
410
347
|
# The default tax rates to apply to the subscription during this phase of the subscription schedule.
|
411
348
|
sig { returns(T.nilable(T::Array[Stripe::TaxRate])) }
|
412
349
|
attr_reader :default_tax_rates
|
413
|
-
|
414
350
|
# Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
415
351
|
sig { returns(T.nilable(String)) }
|
416
352
|
attr_reader :description
|
417
|
-
|
418
353
|
# The stackable discounts that will be applied to the subscription on this phase. Subscription item discounts are applied before subscription discounts.
|
419
354
|
sig { returns(T::Array[Discount]) }
|
420
355
|
attr_reader :discounts
|
421
|
-
|
422
356
|
# The end of this phase of the subscription schedule.
|
423
357
|
sig { returns(Integer) }
|
424
358
|
attr_reader :end_date
|
425
|
-
|
426
359
|
# The invoice settings applicable during this phase.
|
427
360
|
sig { returns(T.nilable(InvoiceSettings)) }
|
428
361
|
attr_reader :invoice_settings
|
429
|
-
|
430
362
|
# Subscription items to configure the subscription to during this phase of the subscription schedule.
|
431
363
|
sig { returns(T::Array[Item]) }
|
432
364
|
attr_reader :items
|
433
|
-
|
434
365
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered. Updating the underlying subscription's `metadata` directly will not affect the current phase's `metadata`.
|
435
366
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
436
367
|
attr_reader :metadata
|
437
|
-
|
438
368
|
# The account (if any) the charge was made on behalf of for charges associated with the schedule's subscription. See the Connect documentation for details.
|
439
369
|
sig { returns(T.nilable(T.any(String, Stripe::Account))) }
|
440
370
|
attr_reader :on_behalf_of
|
441
|
-
|
442
371
|
# If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment).
|
443
372
|
sig { returns(T.nilable(PauseCollection)) }
|
444
373
|
attr_reader :pause_collection
|
445
|
-
|
446
374
|
# If the subscription schedule will prorate when transitioning to this phase. Possible values are `create_prorations` and `none`.
|
447
375
|
sig { returns(String) }
|
448
376
|
attr_reader :proration_behavior
|
449
|
-
|
450
377
|
# The start of this phase of the subscription schedule.
|
451
378
|
sig { returns(Integer) }
|
452
379
|
attr_reader :start_date
|
453
|
-
|
454
380
|
# The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.
|
455
381
|
sig { returns(T.nilable(TransferData)) }
|
456
382
|
attr_reader :transfer_data
|
457
|
-
|
458
383
|
# Specify behavior of the trial when crossing schedule phase boundaries
|
459
384
|
sig { returns(T.nilable(String)) }
|
460
385
|
attr_reader :trial_continuation
|
461
|
-
|
462
386
|
# When the trial ends within the phase.
|
463
387
|
sig { returns(T.nilable(Integer)) }
|
464
388
|
attr_reader :trial_end
|
465
|
-
|
466
389
|
# Settings related to any trials on the subscription during this phase.
|
467
390
|
sig { returns(T.nilable(TrialSettings)) }
|
468
391
|
attr_reader :trial_settings
|
@@ -471,15 +394,12 @@ module Stripe
|
|
471
394
|
# ID of the prebilling invoice.
|
472
395
|
sig { returns(T.any(String, Stripe::Invoice)) }
|
473
396
|
attr_reader :invoice
|
474
|
-
|
475
397
|
# The end of the last period for which the invoice pre-bills.
|
476
398
|
sig { returns(Integer) }
|
477
399
|
attr_reader :period_end
|
478
|
-
|
479
400
|
# The start of the first period for which the invoice pre-bills.
|
480
401
|
sig { returns(Integer) }
|
481
402
|
attr_reader :period_start
|
482
|
-
|
483
403
|
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
484
404
|
sig { returns(String) }
|
485
405
|
attr_reader :update_behavior
|
@@ -487,87 +407,66 @@ module Stripe
|
|
487
407
|
# ID of the Connect Application that created the schedule.
|
488
408
|
sig { returns(T.nilable(T.any(String, Stripe::Application))) }
|
489
409
|
attr_reader :application
|
490
|
-
|
491
410
|
# Attribute for field applies_to
|
492
411
|
sig { returns(AppliesTo) }
|
493
412
|
attr_reader :applies_to
|
494
|
-
|
495
413
|
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
496
414
|
sig { returns(String) }
|
497
415
|
attr_reader :billing_behavior
|
498
|
-
|
499
416
|
# Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
|
500
417
|
sig { returns(T.nilable(Integer)) }
|
501
418
|
attr_reader :canceled_at
|
502
|
-
|
503
419
|
# Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.
|
504
420
|
sig { returns(T.nilable(Integer)) }
|
505
421
|
attr_reader :completed_at
|
506
|
-
|
507
422
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
508
423
|
sig { returns(Integer) }
|
509
424
|
attr_reader :created
|
510
|
-
|
511
425
|
# Object representing the start and end dates for the current phase of the subscription schedule, if it is `active`.
|
512
426
|
sig { returns(T.nilable(CurrentPhase)) }
|
513
427
|
attr_reader :current_phase
|
514
|
-
|
515
428
|
# ID of the customer who owns the subscription schedule.
|
516
429
|
sig { returns(T.any(String, Stripe::Customer)) }
|
517
430
|
attr_reader :customer
|
518
|
-
|
519
431
|
# Attribute for field default_settings
|
520
432
|
sig { returns(DefaultSettings) }
|
521
433
|
attr_reader :default_settings
|
522
|
-
|
523
434
|
# Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
|
524
435
|
sig { returns(String) }
|
525
436
|
attr_reader :end_behavior
|
526
|
-
|
527
437
|
# Unique identifier for the object.
|
528
438
|
sig { returns(String) }
|
529
439
|
attr_reader :id
|
530
|
-
|
531
440
|
# Details of the most recent price migration that failed for the subscription schedule.
|
532
441
|
sig { returns(T.nilable(LastPriceMigrationError)) }
|
533
442
|
attr_reader :last_price_migration_error
|
534
|
-
|
535
443
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
536
444
|
sig { returns(T::Boolean) }
|
537
445
|
attr_reader :livemode
|
538
|
-
|
539
446
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
540
447
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
541
448
|
attr_reader :metadata
|
542
|
-
|
543
449
|
# String representing the object's type. Objects of the same type share the same value.
|
544
450
|
sig { returns(String) }
|
545
451
|
attr_reader :object
|
546
|
-
|
547
452
|
# Configuration for the subscription schedule's phases.
|
548
453
|
sig { returns(T::Array[Phase]) }
|
549
454
|
attr_reader :phases
|
550
|
-
|
551
455
|
# Time period and invoice for a Subscription billed in advance.
|
552
456
|
sig { returns(T.nilable(Prebilling)) }
|
553
457
|
attr_reader :prebilling
|
554
|
-
|
555
458
|
# Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.
|
556
459
|
sig { returns(T.nilable(Integer)) }
|
557
460
|
attr_reader :released_at
|
558
|
-
|
559
461
|
# ID of the subscription once managed by the subscription schedule (if it is released).
|
560
462
|
sig { returns(T.nilable(String)) }
|
561
463
|
attr_reader :released_subscription
|
562
|
-
|
563
464
|
# The present status of the subscription schedule. Possible values are `not_started`, `active`, `completed`, `released`, and `canceled`. You can read more about the different states in our [behavior guide](https://stripe.com/docs/billing/subscriptions/subscription-schedules).
|
564
465
|
sig { returns(String) }
|
565
466
|
attr_reader :status
|
566
|
-
|
567
467
|
# ID of the subscription managed by the subscription schedule.
|
568
468
|
sig { returns(T.nilable(T.any(String, Stripe::Subscription))) }
|
569
469
|
attr_reader :subscription
|
570
|
-
|
571
470
|
# ID of the test clock this subscription schedule belongs to.
|
572
471
|
sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) }
|
573
472
|
attr_reader :test_clock
|
@@ -12,84 +12,65 @@ module Stripe
|
|
12
12
|
# An EFW is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an EFW, in order to avoid receiving a dispute later.
|
13
13
|
sig { returns(T::Boolean) }
|
14
14
|
attr_reader :actionable
|
15
|
-
|
16
15
|
# ID of the charge this early fraud warning is for, optionally expanded.
|
17
16
|
sig { returns(T.any(String, Stripe::Charge)) }
|
18
17
|
attr_reader :charge
|
19
|
-
|
20
18
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
21
19
|
sig { returns(Integer) }
|
22
20
|
attr_reader :created
|
23
|
-
|
24
21
|
# The type of fraud labelled by the issuer. One of `card_never_received`, `fraudulent_card_application`, `made_with_counterfeit_card`, `made_with_lost_card`, `made_with_stolen_card`, `misc`, `unauthorized_use_of_card`.
|
25
22
|
sig { returns(String) }
|
26
23
|
attr_reader :fraud_type
|
27
|
-
|
28
24
|
# Unique identifier for the object.
|
29
25
|
sig { returns(String) }
|
30
26
|
attr_reader :id
|
31
|
-
|
32
27
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
33
28
|
sig { returns(T::Boolean) }
|
34
29
|
attr_reader :livemode
|
35
|
-
|
36
30
|
# String representing the object's type. Objects of the same type share the same value.
|
37
31
|
sig { returns(String) }
|
38
32
|
attr_reader :object
|
39
|
-
|
40
33
|
# ID of the Payment Intent this early fraud warning is for, optionally expanded.
|
41
34
|
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
42
35
|
attr_reader :payment_intent
|
43
|
-
|
44
36
|
class ListParams < Stripe::RequestParams
|
45
37
|
class Created < Stripe::RequestParams
|
46
38
|
# Minimum value to filter by (exclusive)
|
47
39
|
sig { returns(Integer) }
|
48
40
|
attr_accessor :gt
|
49
|
-
|
50
41
|
# Minimum value to filter by (inclusive)
|
51
42
|
sig { returns(Integer) }
|
52
43
|
attr_accessor :gte
|
53
|
-
|
54
44
|
# Maximum value to filter by (exclusive)
|
55
45
|
sig { returns(Integer) }
|
56
46
|
attr_accessor :lt
|
57
|
-
|
58
47
|
# Maximum value to filter by (inclusive)
|
59
48
|
sig { returns(Integer) }
|
60
49
|
attr_accessor :lte
|
61
|
-
|
62
50
|
sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
|
63
51
|
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
64
52
|
end
|
65
53
|
# Only return early fraud warnings for the charge specified by this charge ID.
|
66
54
|
sig { returns(String) }
|
67
55
|
attr_accessor :charge
|
68
|
-
|
69
56
|
# Only return early fraud warnings that were created during the given date interval.
|
70
57
|
sig { returns(T.any(::Stripe::Radar::EarlyFraudWarning::ListParams::Created, Integer)) }
|
71
58
|
attr_accessor :created
|
72
|
-
|
73
59
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
74
60
|
sig { returns(String) }
|
75
61
|
attr_accessor :ending_before
|
76
|
-
|
77
62
|
# Specifies which fields in the response should be expanded.
|
78
63
|
sig { returns(T::Array[String]) }
|
79
64
|
attr_accessor :expand
|
80
|
-
|
81
65
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
82
66
|
sig { returns(Integer) }
|
83
67
|
attr_accessor :limit
|
84
|
-
|
85
68
|
# Only return early fraud warnings for charges that were created by the PaymentIntent specified by this PaymentIntent ID.
|
86
69
|
sig { returns(String) }
|
87
70
|
attr_accessor :payment_intent
|
88
|
-
|
89
71
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
90
72
|
sig { returns(String) }
|
91
73
|
attr_accessor :starting_after
|
92
|
-
|
93
74
|
sig {
|
94
75
|
params(charge: String, created: T.any(::Stripe::Radar::EarlyFraudWarning::ListParams::Created, Integer), ending_before: String, expand: T::Array[String], limit: Integer, payment_intent: String, starting_after: String).void
|
95
76
|
}
|
@@ -107,7 +88,6 @@ module Stripe
|
|
107
88
|
# Specifies which fields in the response should be expanded.
|
108
89
|
sig { returns(T::Array[String]) }
|
109
90
|
attr_accessor :expand
|
110
|
-
|
111
91
|
sig { params(expand: T::Array[String]).void }
|
112
92
|
def initialize(expand: nil); end
|
113
93
|
end
|