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
@@ -7,7 +7,6 @@ module Stripe
|
|
7
7
|
class CancellationDetails < Stripe::RequestParams
|
8
8
|
# Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
|
9
9
|
attr_accessor :comment
|
10
|
-
|
11
10
|
# The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
|
12
11
|
attr_accessor :feedback
|
13
12
|
|
@@ -18,13 +17,10 @@ module Stripe
|
|
18
17
|
end
|
19
18
|
# Details about why this subscription was cancelled
|
20
19
|
attr_accessor :cancellation_details
|
21
|
-
|
22
20
|
# Specifies which fields in the response should be expanded.
|
23
21
|
attr_accessor :expand
|
24
|
-
|
25
22
|
# Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. Defaults to `false`.
|
26
23
|
attr_accessor :invoice_now
|
27
|
-
|
28
24
|
# Will generate a proration invoice item that credits remaining unused time until the subscription period end. Defaults to `false`.
|
29
25
|
attr_accessor :prorate
|
30
26
|
|
@@ -52,7 +48,6 @@ module Stripe
|
|
52
48
|
class Duration < Stripe::RequestParams
|
53
49
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
54
50
|
attr_accessor :interval
|
55
|
-
|
56
51
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
57
52
|
attr_accessor :interval_count
|
58
53
|
|
@@ -63,10 +58,8 @@ module Stripe
|
|
63
58
|
end
|
64
59
|
# Time span for the redeemed discount.
|
65
60
|
attr_accessor :duration
|
66
|
-
|
67
61
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
68
62
|
attr_accessor :timestamp
|
69
|
-
|
70
63
|
# The type of calculation made to determine when the discount ends.
|
71
64
|
attr_accessor :type
|
72
65
|
|
@@ -78,13 +71,10 @@ module Stripe
|
|
78
71
|
end
|
79
72
|
# ID of the coupon to create a new discount for.
|
80
73
|
attr_accessor :coupon
|
81
|
-
|
82
74
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
83
75
|
attr_accessor :discount
|
84
|
-
|
85
76
|
# Details to determine how long the discount should be applied for.
|
86
77
|
attr_accessor :discount_end
|
87
|
-
|
88
78
|
# ID of the promotion code to create a new discount for.
|
89
79
|
attr_accessor :promotion_code
|
90
80
|
|
@@ -99,16 +89,12 @@ module Stripe
|
|
99
89
|
class PriceData < Stripe::RequestParams
|
100
90
|
# 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).
|
101
91
|
attr_accessor :currency
|
102
|
-
|
103
92
|
# The ID of the product that this price will belong to.
|
104
93
|
attr_accessor :product
|
105
|
-
|
106
94
|
# Only required if a [default tax behavior](https://stripe.com/docs/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.
|
107
95
|
attr_accessor :tax_behavior
|
108
|
-
|
109
96
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
|
110
97
|
attr_accessor :unit_amount
|
111
|
-
|
112
98
|
# 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.
|
113
99
|
attr_accessor :unit_amount_decimal
|
114
100
|
|
@@ -128,16 +114,12 @@ module Stripe
|
|
128
114
|
end
|
129
115
|
# The coupons to redeem into discounts for the item.
|
130
116
|
attr_accessor :discounts
|
131
|
-
|
132
117
|
# The ID of the price object. One of `price` or `price_data` is required.
|
133
118
|
attr_accessor :price
|
134
|
-
|
135
119
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
|
136
120
|
attr_accessor :price_data
|
137
|
-
|
138
121
|
# Quantity for this item. Defaults to 1.
|
139
122
|
attr_accessor :quantity
|
140
|
-
|
141
123
|
# The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
|
142
124
|
attr_accessor :tax_rates
|
143
125
|
|
@@ -154,7 +136,6 @@ module Stripe
|
|
154
136
|
class Liability < Stripe::RequestParams
|
155
137
|
# The connected account being referenced when `type` is `account`.
|
156
138
|
attr_accessor :account
|
157
|
-
|
158
139
|
# Type of the account referenced in the request.
|
159
140
|
attr_accessor :type
|
160
141
|
|
@@ -165,7 +146,6 @@ module Stripe
|
|
165
146
|
end
|
166
147
|
# Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
|
167
148
|
attr_accessor :enabled
|
168
|
-
|
169
149
|
# 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.
|
170
150
|
attr_accessor :liability
|
171
151
|
|
@@ -178,7 +158,6 @@ module Stripe
|
|
178
158
|
class BillingThresholds < Stripe::RequestParams
|
179
159
|
# Monetary threshold that triggers the subscription to advance to a new billing period
|
180
160
|
attr_accessor :amount_gte
|
181
|
-
|
182
161
|
# 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.
|
183
162
|
attr_accessor :reset_billing_cycle_anchor
|
184
163
|
|
@@ -191,7 +170,6 @@ module Stripe
|
|
191
170
|
class CancellationDetails < Stripe::RequestParams
|
192
171
|
# Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
|
193
172
|
attr_accessor :comment
|
194
|
-
|
195
173
|
# The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
|
196
174
|
attr_accessor :feedback
|
197
175
|
|
@@ -206,7 +184,6 @@ module Stripe
|
|
206
184
|
class Duration < Stripe::RequestParams
|
207
185
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
208
186
|
attr_accessor :interval
|
209
|
-
|
210
187
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
211
188
|
attr_accessor :interval_count
|
212
189
|
|
@@ -217,10 +194,8 @@ module Stripe
|
|
217
194
|
end
|
218
195
|
# Time span for the redeemed discount.
|
219
196
|
attr_accessor :duration
|
220
|
-
|
221
197
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
222
198
|
attr_accessor :timestamp
|
223
|
-
|
224
199
|
# The type of calculation made to determine when the discount ends.
|
225
200
|
attr_accessor :type
|
226
201
|
|
@@ -232,13 +207,10 @@ module Stripe
|
|
232
207
|
end
|
233
208
|
# ID of the coupon to create a new discount for.
|
234
209
|
attr_accessor :coupon
|
235
|
-
|
236
210
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
237
211
|
attr_accessor :discount
|
238
|
-
|
239
212
|
# Details to determine how long the discount should be applied for.
|
240
213
|
attr_accessor :discount_end
|
241
|
-
|
242
214
|
# ID of the promotion code to create a new discount for.
|
243
215
|
attr_accessor :promotion_code
|
244
216
|
|
@@ -254,7 +226,6 @@ module Stripe
|
|
254
226
|
class Issuer < Stripe::RequestParams
|
255
227
|
# The connected account being referenced when `type` is `account`.
|
256
228
|
attr_accessor :account
|
257
|
-
|
258
229
|
# Type of the account referenced in the request.
|
259
230
|
attr_accessor :type
|
260
231
|
|
@@ -265,7 +236,6 @@ module Stripe
|
|
265
236
|
end
|
266
237
|
# The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
267
238
|
attr_accessor :account_tax_ids
|
268
|
-
|
269
239
|
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
270
240
|
attr_accessor :issuer
|
271
241
|
|
@@ -290,7 +260,6 @@ module Stripe
|
|
290
260
|
class Duration < Stripe::RequestParams
|
291
261
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
292
262
|
attr_accessor :interval
|
293
|
-
|
294
263
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
295
264
|
attr_accessor :interval_count
|
296
265
|
|
@@ -301,10 +270,8 @@ module Stripe
|
|
301
270
|
end
|
302
271
|
# Time span for the redeemed discount.
|
303
272
|
attr_accessor :duration
|
304
|
-
|
305
273
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
306
274
|
attr_accessor :timestamp
|
307
|
-
|
308
275
|
# The type of calculation made to determine when the discount ends.
|
309
276
|
attr_accessor :type
|
310
277
|
|
@@ -316,13 +283,10 @@ module Stripe
|
|
316
283
|
end
|
317
284
|
# ID of the coupon to create a new discount for.
|
318
285
|
attr_accessor :coupon
|
319
|
-
|
320
286
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
321
287
|
attr_accessor :discount
|
322
|
-
|
323
288
|
# Details to determine how long the discount should be applied for.
|
324
289
|
attr_accessor :discount_end
|
325
|
-
|
326
290
|
# ID of the promotion code to create a new discount for.
|
327
291
|
attr_accessor :promotion_code
|
328
292
|
|
@@ -338,7 +302,6 @@ module Stripe
|
|
338
302
|
class Recurring < Stripe::RequestParams
|
339
303
|
# Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
340
304
|
attr_accessor :interval
|
341
|
-
|
342
305
|
# 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).
|
343
306
|
attr_accessor :interval_count
|
344
307
|
|
@@ -349,19 +312,14 @@ module Stripe
|
|
349
312
|
end
|
350
313
|
# 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).
|
351
314
|
attr_accessor :currency
|
352
|
-
|
353
315
|
# The ID of the product that this price will belong to.
|
354
316
|
attr_accessor :product
|
355
|
-
|
356
317
|
# The recurring components of a price such as `interval` and `interval_count`.
|
357
318
|
attr_accessor :recurring
|
358
|
-
|
359
319
|
# Only required if a [default tax behavior](https://stripe.com/docs/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.
|
360
320
|
attr_accessor :tax_behavior
|
361
|
-
|
362
321
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
|
363
322
|
attr_accessor :unit_amount
|
364
|
-
|
365
323
|
# 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.
|
366
324
|
attr_accessor :unit_amount_decimal
|
367
325
|
|
@@ -383,34 +341,24 @@ module Stripe
|
|
383
341
|
end
|
384
342
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds.
|
385
343
|
attr_accessor :billing_thresholds
|
386
|
-
|
387
344
|
# Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
|
388
345
|
attr_accessor :clear_usage
|
389
|
-
|
390
346
|
# A flag that, if set to `true`, will delete the specified item.
|
391
347
|
attr_accessor :deleted
|
392
|
-
|
393
348
|
# The coupons to redeem into discounts for the subscription item.
|
394
349
|
attr_accessor :discounts
|
395
|
-
|
396
350
|
# Subscription item to update.
|
397
351
|
attr_accessor :id
|
398
|
-
|
399
352
|
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
400
353
|
attr_accessor :metadata
|
401
|
-
|
402
354
|
# Plan ID for this item, as a string.
|
403
355
|
attr_accessor :plan
|
404
|
-
|
405
356
|
# The ID of the price object. One of `price` or `price_data` is required. When changing a subscription item's price, `quantity` is set to 1 unless a `quantity` parameter is provided.
|
406
357
|
attr_accessor :price
|
407
|
-
|
408
358
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
|
409
359
|
attr_accessor :price_data
|
410
|
-
|
411
360
|
# Quantity for this item.
|
412
361
|
attr_accessor :quantity
|
413
|
-
|
414
362
|
# A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
|
415
363
|
attr_accessor :tax_rates
|
416
364
|
|
@@ -444,7 +392,6 @@ module Stripe
|
|
444
392
|
class PauseCollection < Stripe::RequestParams
|
445
393
|
# The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
446
394
|
attr_accessor :behavior
|
447
|
-
|
448
395
|
# The time after which the subscription will resume collecting payments.
|
449
396
|
attr_accessor :resumes_at
|
450
397
|
|
@@ -467,7 +414,6 @@ module Stripe
|
|
467
414
|
end
|
468
415
|
# Additional fields for Mandate creation
|
469
416
|
attr_accessor :mandate_options
|
470
|
-
|
471
417
|
# Verification method for the intent
|
472
418
|
attr_accessor :verification_method
|
473
419
|
|
@@ -490,10 +436,8 @@ module Stripe
|
|
490
436
|
class MandateOptions < Stripe::RequestParams
|
491
437
|
# Amount to be charged for future payments.
|
492
438
|
attr_accessor :amount
|
493
|
-
|
494
439
|
# 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.
|
495
440
|
attr_accessor :amount_type
|
496
|
-
|
497
441
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
498
442
|
attr_accessor :description
|
499
443
|
|
@@ -505,10 +449,8 @@ module Stripe
|
|
505
449
|
end
|
506
450
|
# Configuration options for setting up an eMandate for cards issued in India.
|
507
451
|
attr_accessor :mandate_options
|
508
|
-
|
509
452
|
# Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.
|
510
453
|
attr_accessor :network
|
511
|
-
|
512
454
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
513
455
|
attr_accessor :request_three_d_secure
|
514
456
|
|
@@ -531,7 +473,6 @@ module Stripe
|
|
531
473
|
end
|
532
474
|
# Configuration for eu_bank_transfer funding type.
|
533
475
|
attr_accessor :eu_bank_transfer
|
534
|
-
|
535
476
|
# The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
536
477
|
attr_accessor :type
|
537
478
|
|
@@ -542,7 +483,6 @@ module Stripe
|
|
542
483
|
end
|
543
484
|
# Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
544
485
|
attr_accessor :bank_transfer
|
545
|
-
|
546
486
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
547
487
|
attr_accessor :funding_type
|
548
488
|
|
@@ -566,7 +506,6 @@ module Stripe
|
|
566
506
|
class Filters < Stripe::RequestParams
|
567
507
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
568
508
|
attr_accessor :account_subcategories
|
569
|
-
|
570
509
|
# ID of the institution to use to filter for selectable accounts.
|
571
510
|
attr_accessor :institution
|
572
511
|
|
@@ -577,10 +516,8 @@ module Stripe
|
|
577
516
|
end
|
578
517
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
579
518
|
attr_accessor :filters
|
580
|
-
|
581
519
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
582
520
|
attr_accessor :permissions
|
583
|
-
|
584
521
|
# List of data features that you would like to retrieve upon account creation.
|
585
522
|
attr_accessor :prefetch
|
586
523
|
|
@@ -592,7 +529,6 @@ module Stripe
|
|
592
529
|
end
|
593
530
|
# Additional fields for Financial Connections Session creation
|
594
531
|
attr_accessor :financial_connections
|
595
|
-
|
596
532
|
# Verification method for the intent
|
597
533
|
attr_accessor :verification_method
|
598
534
|
|
@@ -603,25 +539,18 @@ module Stripe
|
|
603
539
|
end
|
604
540
|
# This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.
|
605
541
|
attr_accessor :acss_debit
|
606
|
-
|
607
542
|
# This sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
|
608
543
|
attr_accessor :bancontact
|
609
|
-
|
610
544
|
# This sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
|
611
545
|
attr_accessor :card
|
612
|
-
|
613
546
|
# This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.
|
614
547
|
attr_accessor :customer_balance
|
615
|
-
|
616
548
|
# This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.
|
617
549
|
attr_accessor :id_bank_transfer
|
618
|
-
|
619
550
|
# This sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.
|
620
551
|
attr_accessor :konbini
|
621
|
-
|
622
552
|
# This sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.
|
623
553
|
attr_accessor :sepa_debit
|
624
|
-
|
625
554
|
# This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
|
626
555
|
attr_accessor :us_bank_account
|
627
556
|
|
@@ -647,10 +576,8 @@ module Stripe
|
|
647
576
|
end
|
648
577
|
# Payment-method-specific configuration to provide to invoices created by the subscription.
|
649
578
|
attr_accessor :payment_method_options
|
650
|
-
|
651
579
|
# The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice). Should not be specified with payment_method_configuration
|
652
580
|
attr_accessor :payment_method_types
|
653
|
-
|
654
581
|
# Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off` if unspecified.
|
655
582
|
attr_accessor :save_default_payment_method
|
656
583
|
|
@@ -668,7 +595,6 @@ module Stripe
|
|
668
595
|
class PendingInvoiceItemInterval < Stripe::RequestParams
|
669
596
|
# Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
670
597
|
attr_accessor :interval
|
671
|
-
|
672
598
|
# 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).
|
673
599
|
attr_accessor :interval_count
|
674
600
|
|
@@ -681,7 +607,6 @@ module Stripe
|
|
681
607
|
class Prebilling < Stripe::RequestParams
|
682
608
|
# This is used to determine the number of billing cycles to prebill.
|
683
609
|
attr_accessor :iterations
|
684
|
-
|
685
610
|
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
686
611
|
attr_accessor :update_behavior
|
687
612
|
|
@@ -694,7 +619,6 @@ module Stripe
|
|
694
619
|
class TransferData < Stripe::RequestParams
|
695
620
|
# 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.
|
696
621
|
attr_accessor :amount_percent
|
697
|
-
|
698
622
|
# ID of an existing, connected Stripe account.
|
699
623
|
attr_accessor :destination
|
700
624
|
|
@@ -722,73 +646,50 @@ module Stripe
|
|
722
646
|
end
|
723
647
|
# A list of prices and quantities that will generate invoice items appended to the next invoice for this subscription. You may pass up to 20 items.
|
724
648
|
attr_accessor :add_invoice_items
|
725
|
-
|
726
649
|
# 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. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
|
727
650
|
attr_accessor :application_fee_percent
|
728
|
-
|
729
651
|
# Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
|
730
652
|
attr_accessor :automatic_tax
|
731
|
-
|
732
653
|
# Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).
|
733
654
|
attr_accessor :billing_cycle_anchor
|
734
|
-
|
735
655
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
|
736
656
|
attr_accessor :billing_thresholds
|
737
|
-
|
738
657
|
# A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.
|
739
658
|
attr_accessor :cancel_at
|
740
|
-
|
741
659
|
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
742
660
|
attr_accessor :cancel_at_period_end
|
743
|
-
|
744
661
|
# Details about why this subscription was cancelled
|
745
662
|
attr_accessor :cancellation_details
|
746
|
-
|
747
663
|
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the 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`. Defaults to `charge_automatically`.
|
748
664
|
attr_accessor :collection_method
|
749
|
-
|
750
665
|
# The ID of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
|
751
666
|
attr_accessor :coupon
|
752
|
-
|
753
667
|
# Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`.
|
754
668
|
attr_accessor :days_until_due
|
755
|
-
|
756
669
|
# ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
757
670
|
attr_accessor :default_payment_method
|
758
|
-
|
759
671
|
# ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
760
672
|
attr_accessor :default_source
|
761
|
-
|
762
673
|
# The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. Pass an empty string to remove previously-defined tax rates.
|
763
674
|
attr_accessor :default_tax_rates
|
764
|
-
|
765
675
|
# The subscription's 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.
|
766
676
|
attr_accessor :description
|
767
|
-
|
768
677
|
# The coupons to redeem into discounts for the subscription. If not specified or empty, inherits the discount from the subscription's customer.
|
769
678
|
attr_accessor :discounts
|
770
|
-
|
771
679
|
# Specifies which fields in the response should be expanded.
|
772
680
|
attr_accessor :expand
|
773
|
-
|
774
681
|
# All invoices will be billed using the specified settings.
|
775
682
|
attr_accessor :invoice_settings
|
776
|
-
|
777
683
|
# A list of up to 20 subscription items, each with an attached price.
|
778
684
|
attr_accessor :items
|
779
|
-
|
780
685
|
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
781
686
|
attr_accessor :metadata
|
782
|
-
|
783
687
|
# Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session).
|
784
688
|
attr_accessor :off_session
|
785
|
-
|
786
689
|
# The account on behalf of which to charge, for each of the subscription's invoices.
|
787
690
|
attr_accessor :on_behalf_of
|
788
|
-
|
789
691
|
# 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).
|
790
692
|
attr_accessor :pause_collection
|
791
|
-
|
792
693
|
# Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior.
|
793
694
|
#
|
794
695
|
# Use `default_incomplete` to transition the subscription to `status=past_due` when payment is required and await explicit confirmation of the invoice's payment intent. This allows simpler management of scenarios where additional user actions are needed to pay a subscription’s invoice. Such as failed payments, [SCA regulation](https://stripe.com/docs/billing/migration/strong-customer-authentication), or collecting a mandate for a bank debit payment method.
|
@@ -797,34 +698,24 @@ module Stripe
|
|
797
698
|
#
|
798
699
|
# Use `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not update the subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more.
|
799
700
|
attr_accessor :payment_behavior
|
800
|
-
|
801
701
|
# Payment settings to pass to invoices created by the subscription.
|
802
702
|
attr_accessor :payment_settings
|
803
|
-
|
804
703
|
# Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval.
|
805
704
|
attr_accessor :pending_invoice_item_interval
|
806
|
-
|
807
705
|
# If specified, the invoicing for the given billing cycle iterations will be processed now.
|
808
706
|
attr_accessor :prebilling
|
809
|
-
|
810
707
|
# The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
|
811
708
|
attr_accessor :promotion_code
|
812
|
-
|
813
709
|
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
|
814
710
|
attr_accessor :proration_behavior
|
815
|
-
|
816
711
|
# If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#upcoming_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations.
|
817
712
|
attr_accessor :proration_date
|
818
|
-
|
819
713
|
# If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges. This will be unset if you POST an empty value.
|
820
714
|
attr_accessor :transfer_data
|
821
|
-
|
822
715
|
# Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`.
|
823
716
|
attr_accessor :trial_end
|
824
|
-
|
825
717
|
# Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
|
826
718
|
attr_accessor :trial_from_plan
|
827
|
-
|
828
719
|
# Settings related to subscription trials.
|
829
720
|
attr_accessor :trial_settings
|
830
721
|
|
@@ -917,13 +808,10 @@ module Stripe
|
|
917
808
|
class Created < Stripe::RequestParams
|
918
809
|
# Minimum value to filter by (exclusive)
|
919
810
|
attr_accessor :gt
|
920
|
-
|
921
811
|
# Minimum value to filter by (inclusive)
|
922
812
|
attr_accessor :gte
|
923
|
-
|
924
813
|
# Maximum value to filter by (exclusive)
|
925
814
|
attr_accessor :lt
|
926
|
-
|
927
815
|
# Maximum value to filter by (inclusive)
|
928
816
|
attr_accessor :lte
|
929
817
|
|
@@ -938,13 +826,10 @@ module Stripe
|
|
938
826
|
class CurrentPeriodEnd < Stripe::RequestParams
|
939
827
|
# Minimum value to filter by (exclusive)
|
940
828
|
attr_accessor :gt
|
941
|
-
|
942
829
|
# Minimum value to filter by (inclusive)
|
943
830
|
attr_accessor :gte
|
944
|
-
|
945
831
|
# Maximum value to filter by (exclusive)
|
946
832
|
attr_accessor :lt
|
947
|
-
|
948
833
|
# Maximum value to filter by (inclusive)
|
949
834
|
attr_accessor :lte
|
950
835
|
|
@@ -959,13 +844,10 @@ module Stripe
|
|
959
844
|
class CurrentPeriodStart < Stripe::RequestParams
|
960
845
|
# Minimum value to filter by (exclusive)
|
961
846
|
attr_accessor :gt
|
962
|
-
|
963
847
|
# Minimum value to filter by (inclusive)
|
964
848
|
attr_accessor :gte
|
965
|
-
|
966
849
|
# Maximum value to filter by (exclusive)
|
967
850
|
attr_accessor :lt
|
968
|
-
|
969
851
|
# Maximum value to filter by (inclusive)
|
970
852
|
attr_accessor :lte
|
971
853
|
|
@@ -978,43 +860,30 @@ module Stripe
|
|
978
860
|
end
|
979
861
|
# Filter subscriptions by their automatic tax settings.
|
980
862
|
attr_accessor :automatic_tax
|
981
|
-
|
982
863
|
# The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
|
983
864
|
attr_accessor :collection_method
|
984
|
-
|
985
865
|
# Only return subscriptions that were created during the given date interval.
|
986
866
|
attr_accessor :created
|
987
|
-
|
988
867
|
# Only return subscriptions whose current_period_end falls within the given date interval.
|
989
868
|
attr_accessor :current_period_end
|
990
|
-
|
991
869
|
# Only return subscriptions whose current_period_start falls within the given date interval.
|
992
870
|
attr_accessor :current_period_start
|
993
|
-
|
994
871
|
# The ID of the customer whose subscriptions will be retrieved.
|
995
872
|
attr_accessor :customer
|
996
|
-
|
997
873
|
# 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.
|
998
874
|
attr_accessor :ending_before
|
999
|
-
|
1000
875
|
# Specifies which fields in the response should be expanded.
|
1001
876
|
attr_accessor :expand
|
1002
|
-
|
1003
877
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
1004
878
|
attr_accessor :limit
|
1005
|
-
|
1006
879
|
# The ID of the plan whose subscriptions will be retrieved.
|
1007
880
|
attr_accessor :plan
|
1008
|
-
|
1009
881
|
# Filter for subscriptions that contain this recurring price ID.
|
1010
882
|
attr_accessor :price
|
1011
|
-
|
1012
883
|
# 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.
|
1013
884
|
attr_accessor :starting_after
|
1014
|
-
|
1015
885
|
# The status of the subscriptions to retrieve. Passing in a value of `canceled` will return all canceled subscriptions, including those belonging to deleted customers. Pass `ended` to find subscriptions that are canceled and subscriptions that are expired due to [incomplete payment](https://stripe.com/docs/billing/subscriptions/overview#subscription-statuses). Passing in a value of `all` will return subscriptions of all statuses. If no value is supplied, all subscriptions that have not been canceled are returned.
|
1016
886
|
attr_accessor :status
|
1017
|
-
|
1018
887
|
# Filter for subscriptions that are associated with the specified test clock. The response will not include subscriptions with test clocks if this and the customer parameter is not set.
|
1019
888
|
attr_accessor :test_clock
|
1020
889
|
|
@@ -1058,7 +927,6 @@ module Stripe
|
|
1058
927
|
class Duration < Stripe::RequestParams
|
1059
928
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
1060
929
|
attr_accessor :interval
|
1061
|
-
|
1062
930
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
1063
931
|
attr_accessor :interval_count
|
1064
932
|
|
@@ -1069,10 +937,8 @@ module Stripe
|
|
1069
937
|
end
|
1070
938
|
# Time span for the redeemed discount.
|
1071
939
|
attr_accessor :duration
|
1072
|
-
|
1073
940
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
1074
941
|
attr_accessor :timestamp
|
1075
|
-
|
1076
942
|
# The type of calculation made to determine when the discount ends.
|
1077
943
|
attr_accessor :type
|
1078
944
|
|
@@ -1084,13 +950,10 @@ module Stripe
|
|
1084
950
|
end
|
1085
951
|
# ID of the coupon to create a new discount for.
|
1086
952
|
attr_accessor :coupon
|
1087
|
-
|
1088
953
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1089
954
|
attr_accessor :discount
|
1090
|
-
|
1091
955
|
# Details to determine how long the discount should be applied for.
|
1092
956
|
attr_accessor :discount_end
|
1093
|
-
|
1094
957
|
# ID of the promotion code to create a new discount for.
|
1095
958
|
attr_accessor :promotion_code
|
1096
959
|
|
@@ -1105,16 +968,12 @@ module Stripe
|
|
1105
968
|
class PriceData < Stripe::RequestParams
|
1106
969
|
# 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).
|
1107
970
|
attr_accessor :currency
|
1108
|
-
|
1109
971
|
# The ID of the product that this price will belong to.
|
1110
972
|
attr_accessor :product
|
1111
|
-
|
1112
973
|
# Only required if a [default tax behavior](https://stripe.com/docs/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.
|
1113
974
|
attr_accessor :tax_behavior
|
1114
|
-
|
1115
975
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
|
1116
976
|
attr_accessor :unit_amount
|
1117
|
-
|
1118
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.
|
1119
978
|
attr_accessor :unit_amount_decimal
|
1120
979
|
|
@@ -1134,16 +993,12 @@ module Stripe
|
|
1134
993
|
end
|
1135
994
|
# The coupons to redeem into discounts for the item.
|
1136
995
|
attr_accessor :discounts
|
1137
|
-
|
1138
996
|
# The ID of the price object. One of `price` or `price_data` is required.
|
1139
997
|
attr_accessor :price
|
1140
|
-
|
1141
998
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
|
1142
999
|
attr_accessor :price_data
|
1143
|
-
|
1144
1000
|
# Quantity for this item. Defaults to 1.
|
1145
1001
|
attr_accessor :quantity
|
1146
|
-
|
1147
1002
|
# The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
|
1148
1003
|
attr_accessor :tax_rates
|
1149
1004
|
|
@@ -1160,7 +1015,6 @@ module Stripe
|
|
1160
1015
|
class Liability < Stripe::RequestParams
|
1161
1016
|
# The connected account being referenced when `type` is `account`.
|
1162
1017
|
attr_accessor :account
|
1163
|
-
|
1164
1018
|
# Type of the account referenced in the request.
|
1165
1019
|
attr_accessor :type
|
1166
1020
|
|
@@ -1171,7 +1025,6 @@ module Stripe
|
|
1171
1025
|
end
|
1172
1026
|
# Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
|
1173
1027
|
attr_accessor :enabled
|
1174
|
-
|
1175
1028
|
# 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.
|
1176
1029
|
attr_accessor :liability
|
1177
1030
|
|
@@ -1184,16 +1037,12 @@ module Stripe
|
|
1184
1037
|
class BillingCycleAnchorConfig < Stripe::RequestParams
|
1185
1038
|
# The day of the month the billing_cycle_anchor should be. Ranges from 1 to 31.
|
1186
1039
|
attr_accessor :day_of_month
|
1187
|
-
|
1188
1040
|
# The hour of the day the billing_cycle_anchor should be. Ranges from 0 to 23.
|
1189
1041
|
attr_accessor :hour
|
1190
|
-
|
1191
1042
|
# The minute of the hour the billing_cycle_anchor should be. Ranges from 0 to 59.
|
1192
1043
|
attr_accessor :minute
|
1193
|
-
|
1194
1044
|
# The month to start full cycle billing periods. Ranges from 1 to 12.
|
1195
1045
|
attr_accessor :month
|
1196
|
-
|
1197
1046
|
# The second of the minute the billing_cycle_anchor should be. Ranges from 0 to 59.
|
1198
1047
|
attr_accessor :second
|
1199
1048
|
|
@@ -1209,7 +1058,6 @@ module Stripe
|
|
1209
1058
|
class BillingThresholds < Stripe::RequestParams
|
1210
1059
|
# Monetary threshold that triggers the subscription to advance to a new billing period
|
1211
1060
|
attr_accessor :amount_gte
|
1212
|
-
|
1213
1061
|
# 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.
|
1214
1062
|
attr_accessor :reset_billing_cycle_anchor
|
1215
1063
|
|
@@ -1224,7 +1072,6 @@ module Stripe
|
|
1224
1072
|
class Duration < Stripe::RequestParams
|
1225
1073
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
1226
1074
|
attr_accessor :interval
|
1227
|
-
|
1228
1075
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
1229
1076
|
attr_accessor :interval_count
|
1230
1077
|
|
@@ -1235,10 +1082,8 @@ module Stripe
|
|
1235
1082
|
end
|
1236
1083
|
# Time span for the redeemed discount.
|
1237
1084
|
attr_accessor :duration
|
1238
|
-
|
1239
1085
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
1240
1086
|
attr_accessor :timestamp
|
1241
|
-
|
1242
1087
|
# The type of calculation made to determine when the discount ends.
|
1243
1088
|
attr_accessor :type
|
1244
1089
|
|
@@ -1250,13 +1095,10 @@ module Stripe
|
|
1250
1095
|
end
|
1251
1096
|
# ID of the coupon to create a new discount for.
|
1252
1097
|
attr_accessor :coupon
|
1253
|
-
|
1254
1098
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1255
1099
|
attr_accessor :discount
|
1256
|
-
|
1257
1100
|
# Details to determine how long the discount should be applied for.
|
1258
1101
|
attr_accessor :discount_end
|
1259
|
-
|
1260
1102
|
# ID of the promotion code to create a new discount for.
|
1261
1103
|
attr_accessor :promotion_code
|
1262
1104
|
|
@@ -1272,7 +1114,6 @@ module Stripe
|
|
1272
1114
|
class Issuer < Stripe::RequestParams
|
1273
1115
|
# The connected account being referenced when `type` is `account`.
|
1274
1116
|
attr_accessor :account
|
1275
|
-
|
1276
1117
|
# Type of the account referenced in the request.
|
1277
1118
|
attr_accessor :type
|
1278
1119
|
|
@@ -1283,7 +1124,6 @@ module Stripe
|
|
1283
1124
|
end
|
1284
1125
|
# The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
1285
1126
|
attr_accessor :account_tax_ids
|
1286
|
-
|
1287
1127
|
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
1288
1128
|
attr_accessor :issuer
|
1289
1129
|
|
@@ -1308,7 +1148,6 @@ module Stripe
|
|
1308
1148
|
class Duration < Stripe::RequestParams
|
1309
1149
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
1310
1150
|
attr_accessor :interval
|
1311
|
-
|
1312
1151
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
1313
1152
|
attr_accessor :interval_count
|
1314
1153
|
|
@@ -1319,10 +1158,8 @@ module Stripe
|
|
1319
1158
|
end
|
1320
1159
|
# Time span for the redeemed discount.
|
1321
1160
|
attr_accessor :duration
|
1322
|
-
|
1323
1161
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
1324
1162
|
attr_accessor :timestamp
|
1325
|
-
|
1326
1163
|
# The type of calculation made to determine when the discount ends.
|
1327
1164
|
attr_accessor :type
|
1328
1165
|
|
@@ -1334,13 +1171,10 @@ module Stripe
|
|
1334
1171
|
end
|
1335
1172
|
# ID of the coupon to create a new discount for.
|
1336
1173
|
attr_accessor :coupon
|
1337
|
-
|
1338
1174
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1339
1175
|
attr_accessor :discount
|
1340
|
-
|
1341
1176
|
# Details to determine how long the discount should be applied for.
|
1342
1177
|
attr_accessor :discount_end
|
1343
|
-
|
1344
1178
|
# ID of the promotion code to create a new discount for.
|
1345
1179
|
attr_accessor :promotion_code
|
1346
1180
|
|
@@ -1356,7 +1190,6 @@ module Stripe
|
|
1356
1190
|
class Recurring < Stripe::RequestParams
|
1357
1191
|
# Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
1358
1192
|
attr_accessor :interval
|
1359
|
-
|
1360
1193
|
# 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).
|
1361
1194
|
attr_accessor :interval_count
|
1362
1195
|
|
@@ -1367,19 +1200,14 @@ module Stripe
|
|
1367
1200
|
end
|
1368
1201
|
# 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).
|
1369
1202
|
attr_accessor :currency
|
1370
|
-
|
1371
1203
|
# The ID of the product that this price will belong to.
|
1372
1204
|
attr_accessor :product
|
1373
|
-
|
1374
1205
|
# The recurring components of a price such as `interval` and `interval_count`.
|
1375
1206
|
attr_accessor :recurring
|
1376
|
-
|
1377
1207
|
# Only required if a [default tax behavior](https://stripe.com/docs/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.
|
1378
1208
|
attr_accessor :tax_behavior
|
1379
|
-
|
1380
1209
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
|
1381
1210
|
attr_accessor :unit_amount
|
1382
|
-
|
1383
1211
|
# 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.
|
1384
1212
|
attr_accessor :unit_amount_decimal
|
1385
1213
|
|
@@ -1403,7 +1231,6 @@ module Stripe
|
|
1403
1231
|
class Trial < Stripe::RequestParams
|
1404
1232
|
# List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
1405
1233
|
attr_accessor :converts_to
|
1406
|
-
|
1407
1234
|
# Determines the type of trial for this item.
|
1408
1235
|
attr_accessor :type
|
1409
1236
|
|
@@ -1414,28 +1241,20 @@ module Stripe
|
|
1414
1241
|
end
|
1415
1242
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds.
|
1416
1243
|
attr_accessor :billing_thresholds
|
1417
|
-
|
1418
1244
|
# The coupons to redeem into discounts for the subscription item.
|
1419
1245
|
attr_accessor :discounts
|
1420
|
-
|
1421
1246
|
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1422
1247
|
attr_accessor :metadata
|
1423
|
-
|
1424
1248
|
# Plan ID for this item, as a string.
|
1425
1249
|
attr_accessor :plan
|
1426
|
-
|
1427
1250
|
# The ID of the price object.
|
1428
1251
|
attr_accessor :price
|
1429
|
-
|
1430
1252
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.
|
1431
1253
|
attr_accessor :price_data
|
1432
|
-
|
1433
1254
|
# Quantity for this item.
|
1434
1255
|
attr_accessor :quantity
|
1435
|
-
|
1436
1256
|
# A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
|
1437
1257
|
attr_accessor :tax_rates
|
1438
|
-
|
1439
1258
|
# Define options to configure the trial on the subscription item.
|
1440
1259
|
attr_accessor :trial
|
1441
1260
|
|
@@ -1475,7 +1294,6 @@ module Stripe
|
|
1475
1294
|
end
|
1476
1295
|
# Additional fields for Mandate creation
|
1477
1296
|
attr_accessor :mandate_options
|
1478
|
-
|
1479
1297
|
# Verification method for the intent
|
1480
1298
|
attr_accessor :verification_method
|
1481
1299
|
|
@@ -1498,10 +1316,8 @@ module Stripe
|
|
1498
1316
|
class MandateOptions < Stripe::RequestParams
|
1499
1317
|
# Amount to be charged for future payments.
|
1500
1318
|
attr_accessor :amount
|
1501
|
-
|
1502
1319
|
# 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.
|
1503
1320
|
attr_accessor :amount_type
|
1504
|
-
|
1505
1321
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
1506
1322
|
attr_accessor :description
|
1507
1323
|
|
@@ -1513,10 +1329,8 @@ module Stripe
|
|
1513
1329
|
end
|
1514
1330
|
# Configuration options for setting up an eMandate for cards issued in India.
|
1515
1331
|
attr_accessor :mandate_options
|
1516
|
-
|
1517
1332
|
# Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.
|
1518
1333
|
attr_accessor :network
|
1519
|
-
|
1520
1334
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
1521
1335
|
attr_accessor :request_three_d_secure
|
1522
1336
|
|
@@ -1539,7 +1353,6 @@ module Stripe
|
|
1539
1353
|
end
|
1540
1354
|
# Configuration for eu_bank_transfer funding type.
|
1541
1355
|
attr_accessor :eu_bank_transfer
|
1542
|
-
|
1543
1356
|
# The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
1544
1357
|
attr_accessor :type
|
1545
1358
|
|
@@ -1550,7 +1363,6 @@ module Stripe
|
|
1550
1363
|
end
|
1551
1364
|
# Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
1552
1365
|
attr_accessor :bank_transfer
|
1553
|
-
|
1554
1366
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
1555
1367
|
attr_accessor :funding_type
|
1556
1368
|
|
@@ -1574,7 +1386,6 @@ module Stripe
|
|
1574
1386
|
class Filters < Stripe::RequestParams
|
1575
1387
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1576
1388
|
attr_accessor :account_subcategories
|
1577
|
-
|
1578
1389
|
# ID of the institution to use to filter for selectable accounts.
|
1579
1390
|
attr_accessor :institution
|
1580
1391
|
|
@@ -1585,10 +1396,8 @@ module Stripe
|
|
1585
1396
|
end
|
1586
1397
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1587
1398
|
attr_accessor :filters
|
1588
|
-
|
1589
1399
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
1590
1400
|
attr_accessor :permissions
|
1591
|
-
|
1592
1401
|
# List of data features that you would like to retrieve upon account creation.
|
1593
1402
|
attr_accessor :prefetch
|
1594
1403
|
|
@@ -1600,7 +1409,6 @@ module Stripe
|
|
1600
1409
|
end
|
1601
1410
|
# Additional fields for Financial Connections Session creation
|
1602
1411
|
attr_accessor :financial_connections
|
1603
|
-
|
1604
1412
|
# Verification method for the intent
|
1605
1413
|
attr_accessor :verification_method
|
1606
1414
|
|
@@ -1611,25 +1419,18 @@ module Stripe
|
|
1611
1419
|
end
|
1612
1420
|
# This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.
|
1613
1421
|
attr_accessor :acss_debit
|
1614
|
-
|
1615
1422
|
# This sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
|
1616
1423
|
attr_accessor :bancontact
|
1617
|
-
|
1618
1424
|
# This sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
|
1619
1425
|
attr_accessor :card
|
1620
|
-
|
1621
1426
|
# This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.
|
1622
1427
|
attr_accessor :customer_balance
|
1623
|
-
|
1624
1428
|
# This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.
|
1625
1429
|
attr_accessor :id_bank_transfer
|
1626
|
-
|
1627
1430
|
# This sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.
|
1628
1431
|
attr_accessor :konbini
|
1629
|
-
|
1630
1432
|
# This sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.
|
1631
1433
|
attr_accessor :sepa_debit
|
1632
|
-
|
1633
1434
|
# This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
|
1634
1435
|
attr_accessor :us_bank_account
|
1635
1436
|
|
@@ -1655,10 +1456,8 @@ module Stripe
|
|
1655
1456
|
end
|
1656
1457
|
# Payment-method-specific configuration to provide to invoices created by the subscription.
|
1657
1458
|
attr_accessor :payment_method_options
|
1658
|
-
|
1659
1459
|
# The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice). Should not be specified with payment_method_configuration
|
1660
1460
|
attr_accessor :payment_method_types
|
1661
|
-
|
1662
1461
|
# Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off` if unspecified.
|
1663
1462
|
attr_accessor :save_default_payment_method
|
1664
1463
|
|
@@ -1676,7 +1475,6 @@ module Stripe
|
|
1676
1475
|
class PendingInvoiceItemInterval < Stripe::RequestParams
|
1677
1476
|
# Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
1678
1477
|
attr_accessor :interval
|
1679
|
-
|
1680
1478
|
# 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).
|
1681
1479
|
attr_accessor :interval_count
|
1682
1480
|
|
@@ -1689,7 +1487,6 @@ module Stripe
|
|
1689
1487
|
class Prebilling < Stripe::RequestParams
|
1690
1488
|
# This is used to determine the number of billing cycles to prebill.
|
1691
1489
|
attr_accessor :iterations
|
1692
|
-
|
1693
1490
|
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
1694
1491
|
attr_accessor :update_behavior
|
1695
1492
|
|
@@ -1702,7 +1499,6 @@ module Stripe
|
|
1702
1499
|
class TransferData < Stripe::RequestParams
|
1703
1500
|
# 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.
|
1704
1501
|
attr_accessor :amount_percent
|
1705
|
-
|
1706
1502
|
# ID of an existing, connected Stripe account.
|
1707
1503
|
attr_accessor :destination
|
1708
1504
|
|
@@ -1730,79 +1526,54 @@ module Stripe
|
|
1730
1526
|
end
|
1731
1527
|
# A list of prices and quantities that will generate invoice items appended to the next invoice for this subscription. You may pass up to 20 items.
|
1732
1528
|
attr_accessor :add_invoice_items
|
1733
|
-
|
1734
1529
|
# 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. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
|
1735
1530
|
attr_accessor :application_fee_percent
|
1736
|
-
|
1737
1531
|
# Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
|
1738
1532
|
attr_accessor :automatic_tax
|
1739
|
-
|
1740
1533
|
# For new subscriptions, a past timestamp to backdate the subscription's start date to. If set, the first invoice will contain a proration for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor.
|
1741
1534
|
attr_accessor :backdate_start_date
|
1742
|
-
|
1743
1535
|
# A future timestamp in UTC format to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals.
|
1744
1536
|
attr_accessor :billing_cycle_anchor
|
1745
|
-
|
1746
1537
|
# Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC.
|
1747
1538
|
attr_accessor :billing_cycle_anchor_config
|
1748
|
-
|
1749
1539
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
|
1750
1540
|
attr_accessor :billing_thresholds
|
1751
|
-
|
1752
1541
|
# A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.
|
1753
1542
|
attr_accessor :cancel_at
|
1754
|
-
|
1755
1543
|
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
1756
1544
|
attr_accessor :cancel_at_period_end
|
1757
|
-
|
1758
1545
|
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the 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`. Defaults to `charge_automatically`.
|
1759
1546
|
attr_accessor :collection_method
|
1760
|
-
|
1761
1547
|
# The ID of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
|
1762
1548
|
attr_accessor :coupon
|
1763
|
-
|
1764
1549
|
# 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).
|
1765
1550
|
attr_accessor :currency
|
1766
|
-
|
1767
1551
|
# The identifier of the customer to subscribe.
|
1768
1552
|
attr_accessor :customer
|
1769
|
-
|
1770
1553
|
# Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`.
|
1771
1554
|
attr_accessor :days_until_due
|
1772
|
-
|
1773
1555
|
# ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
1774
1556
|
attr_accessor :default_payment_method
|
1775
|
-
|
1776
1557
|
# ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
1777
1558
|
attr_accessor :default_source
|
1778
|
-
|
1779
1559
|
# The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription.
|
1780
1560
|
attr_accessor :default_tax_rates
|
1781
|
-
|
1782
1561
|
# The subscription's 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.
|
1783
1562
|
attr_accessor :description
|
1784
|
-
|
1785
1563
|
# The coupons to redeem into discounts for the subscription. If not specified or empty, inherits the discount from the subscription's customer.
|
1786
1564
|
attr_accessor :discounts
|
1787
|
-
|
1788
1565
|
# Specifies which fields in the response should be expanded.
|
1789
1566
|
attr_accessor :expand
|
1790
|
-
|
1791
1567
|
# All invoices will be billed using the specified settings.
|
1792
1568
|
attr_accessor :invoice_settings
|
1793
|
-
|
1794
1569
|
# A list of up to 20 subscription items, each with an attached price.
|
1795
1570
|
attr_accessor :items
|
1796
|
-
|
1797
1571
|
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1798
1572
|
attr_accessor :metadata
|
1799
|
-
|
1800
1573
|
# Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session).
|
1801
1574
|
attr_accessor :off_session
|
1802
|
-
|
1803
1575
|
# The account on behalf of which to charge, for each of the subscription's invoices.
|
1804
1576
|
attr_accessor :on_behalf_of
|
1805
|
-
|
1806
1577
|
# Only applies to subscriptions with `collection_method=charge_automatically`.
|
1807
1578
|
#
|
1808
1579
|
# Use `allow_incomplete` to create Subscriptions with `status=incomplete` if the first invoice can't be paid. Creating Subscriptions with this status allows you to manage scenarios where additional customer actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior.
|
@@ -1815,34 +1586,24 @@ module Stripe
|
|
1815
1586
|
#
|
1816
1587
|
# Subscriptions with `collection_method=send_invoice` are automatically activated regardless of the first Invoice status.
|
1817
1588
|
attr_accessor :payment_behavior
|
1818
|
-
|
1819
1589
|
# Payment settings to pass to invoices created by the subscription.
|
1820
1590
|
attr_accessor :payment_settings
|
1821
|
-
|
1822
1591
|
# Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval.
|
1823
1592
|
attr_accessor :pending_invoice_item_interval
|
1824
|
-
|
1825
1593
|
# If specified, the invoicing for the given billing cycle iterations will be processed now.
|
1826
1594
|
attr_accessor :prebilling
|
1827
|
-
|
1828
1595
|
# The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
|
1829
1596
|
attr_accessor :promotion_code
|
1830
|
-
|
1831
1597
|
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
1832
1598
|
attr_accessor :proration_behavior
|
1833
|
-
|
1834
1599
|
# If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges.
|
1835
1600
|
attr_accessor :transfer_data
|
1836
|
-
|
1837
1601
|
# Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
|
1838
1602
|
attr_accessor :trial_end
|
1839
|
-
|
1840
1603
|
# Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
|
1841
1604
|
attr_accessor :trial_from_plan
|
1842
|
-
|
1843
1605
|
# Integer representing the number of trial period days before the customer is charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
|
1844
1606
|
attr_accessor :trial_period_days
|
1845
|
-
|
1846
1607
|
# Settings related to subscription trials.
|
1847
1608
|
attr_accessor :trial_settings
|
1848
1609
|
|
@@ -1926,13 +1687,10 @@ module Stripe
|
|
1926
1687
|
class SearchParams < Stripe::RequestParams
|
1927
1688
|
# Specifies which fields in the response should be expanded.
|
1928
1689
|
attr_accessor :expand
|
1929
|
-
|
1930
1690
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
1931
1691
|
attr_accessor :limit
|
1932
|
-
|
1933
1692
|
# A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
|
1934
1693
|
attr_accessor :page
|
1935
|
-
|
1936
1694
|
# The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for subscriptions](https://stripe.com/docs/search#query-fields-for-subscriptions).
|
1937
1695
|
attr_accessor :query
|
1938
1696
|
|
@@ -1947,13 +1705,10 @@ module Stripe
|
|
1947
1705
|
class ResumeParams < Stripe::RequestParams
|
1948
1706
|
# The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).
|
1949
1707
|
attr_accessor :billing_cycle_anchor
|
1950
|
-
|
1951
1708
|
# Specifies which fields in the response should be expanded.
|
1952
1709
|
attr_accessor :expand
|
1953
|
-
|
1954
1710
|
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
|
1955
1711
|
attr_accessor :proration_behavior
|
1956
|
-
|
1957
1712
|
# If set, the proration will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint.
|
1958
1713
|
attr_accessor :proration_date
|
1959
1714
|
|