mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-05-30 00:00:47 -04:00
Update generated code for v1751
This commit is contained in:
parent
ca7f3644bc
commit
a0ffd3098d
@ -1 +1 @@
|
||||
v1748
|
||||
v1751
|
@ -4038,7 +4038,7 @@ module Stripe
|
||||
attr_accessor :billing_mode
|
||||
# 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.
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
attr_accessor :cancel_at_period_end
|
||||
# This simulates the subscription being canceled or expired immediately.
|
||||
attr_accessor :cancel_now
|
||||
|
@ -855,7 +855,7 @@ module Stripe
|
||||
attr_accessor :billing_cycle_anchor
|
||||
# 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.
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
attr_accessor :cancel_at_period_end
|
||||
# Details about why this subscription was cancelled
|
||||
attr_accessor :cancellation_details
|
||||
@ -1708,7 +1708,7 @@ module Stripe
|
||||
attr_accessor :billing_mode
|
||||
# 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.
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
attr_accessor :cancel_at_period_end
|
||||
# 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`.
|
||||
attr_accessor :collection_method
|
||||
@ -1902,7 +1902,7 @@ module Stripe
|
||||
attr_reader :billing_mode
|
||||
# A date in the future at which the subscription will automatically get canceled
|
||||
attr_reader :cancel_at
|
||||
# Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period.
|
||||
# Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period. This field will be removed in a future API version. Please use `cancel_at` instead.
|
||||
attr_reader :cancel_at_period_end
|
||||
# If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with `cancel_at_period_end`, `canceled_at` will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.
|
||||
attr_reader :canceled_at
|
||||
|
@ -3561,7 +3561,7 @@ module Stripe
|
||||
attr_accessor :billing_mode
|
||||
# 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.
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
attr_accessor :cancel_at_period_end
|
||||
# This simulates the subscription being canceled or expired immediately.
|
||||
attr_accessor :cancel_now
|
||||
|
@ -629,7 +629,7 @@ module Stripe
|
||||
attr_accessor :billing_cycle_anchor
|
||||
# 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.
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
attr_accessor :cancel_at_period_end
|
||||
# Details about why this subscription was cancelled
|
||||
attr_accessor :cancellation_details
|
||||
@ -1482,7 +1482,7 @@ module Stripe
|
||||
attr_accessor :billing_mode
|
||||
# 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.
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
attr_accessor :cancel_at_period_end
|
||||
# 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`.
|
||||
attr_accessor :collection_method
|
||||
|
@ -22947,13 +22947,13 @@ module Stripe
|
||||
sig { returns(T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData)) }
|
||||
attr_accessor :price_data
|
||||
# The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
attr_accessor :quantity
|
||||
# The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T::Array[String])))) }
|
||||
attr_accessor :tax_rates
|
||||
sig {
|
||||
params(adjustable_quantity: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData), quantity: T.nilable(T.nilable(T.any(String, Integer))), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
|
||||
params(adjustable_quantity: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData), quantity: T.nilable(Integer), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
|
||||
}
|
||||
def initialize(
|
||||
adjustable_quantity: nil,
|
||||
@ -37135,7 +37135,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T.any(Integer, String))))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# This simulates the subscription being canceled or expired immediately.
|
||||
@ -91276,7 +91276,7 @@ module Stripe
|
||||
# A date in the future at which the subscription will automatically get canceled
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
attr_reader :cancel_at
|
||||
# Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period.
|
||||
# Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period. This field will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T::Boolean) }
|
||||
attr_reader :cancel_at_period_end
|
||||
# If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with `cancel_at_period_end`, `canceled_at` will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.
|
||||
@ -92071,7 +92071,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T.any(Integer, String))))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# Details about why this subscription was cancelled
|
||||
@ -92981,7 +92981,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.any(Integer, String))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# 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`.
|
||||
@ -123460,13 +123460,13 @@ module Stripe
|
||||
}
|
||||
attr_accessor :price_data
|
||||
# The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
attr_accessor :quantity
|
||||
# The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T::Array[String])))) }
|
||||
attr_accessor :tax_rates
|
||||
sig {
|
||||
params(adjustable_quantity: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData), quantity: T.nilable(T.nilable(T.any(String, Integer))), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
|
||||
params(adjustable_quantity: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData), quantity: T.nilable(Integer), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
|
||||
}
|
||||
def initialize(
|
||||
adjustable_quantity: nil,
|
||||
@ -135526,7 +135526,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T.any(Integer, String))))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# This simulates the subscription being canceled or expired immediately.
|
||||
@ -171834,7 +171834,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T.any(Integer, String))))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# Details about why this subscription was cancelled
|
||||
@ -172756,7 +172756,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.any(Integer, String))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# 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`.
|
||||
|
@ -4124,13 +4124,13 @@ module Stripe
|
||||
sig { returns(T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData)) }
|
||||
attr_accessor :price_data
|
||||
# The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
attr_accessor :quantity
|
||||
# The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T::Array[String])))) }
|
||||
attr_accessor :tax_rates
|
||||
sig {
|
||||
params(adjustable_quantity: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData), quantity: T.nilable(T.nilable(T.any(String, Integer))), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
|
||||
params(adjustable_quantity: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData), quantity: T.nilable(Integer), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
|
||||
}
|
||||
def initialize(
|
||||
adjustable_quantity: nil,
|
||||
|
@ -4661,7 +4661,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T.any(Integer, String))))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# This simulates the subscription being canceled or expired immediately.
|
||||
|
@ -306,7 +306,7 @@ module Stripe
|
||||
# A date in the future at which the subscription will automatically get canceled
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
attr_reader :cancel_at
|
||||
# Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period.
|
||||
# Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period. This field will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T::Boolean) }
|
||||
attr_reader :cancel_at_period_end
|
||||
# If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with `cancel_at_period_end`, `canceled_at` will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.
|
||||
@ -1101,7 +1101,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T.any(Integer, String))))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# Details about why this subscription was cancelled
|
||||
@ -2011,7 +2011,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.any(Integer, String))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# 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`.
|
||||
|
@ -2662,13 +2662,13 @@ module Stripe
|
||||
}
|
||||
attr_accessor :price_data
|
||||
# The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
|
||||
sig { returns(T.nilable(Integer)) }
|
||||
attr_accessor :quantity
|
||||
# The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T::Array[String])))) }
|
||||
attr_accessor :tax_rates
|
||||
sig {
|
||||
params(adjustable_quantity: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData), quantity: T.nilable(T.nilable(T.any(String, Integer))), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
|
||||
params(adjustable_quantity: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData), quantity: T.nilable(Integer), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
|
||||
}
|
||||
def initialize(
|
||||
adjustable_quantity: nil,
|
||||
|
@ -3833,7 +3833,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T.any(Integer, String))))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# This simulates the subscription being canceled or expired immediately.
|
||||
|
@ -687,7 +687,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.nilable(T.any(String, T.any(Integer, String))))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# Details about why this subscription was cancelled
|
||||
@ -1609,7 +1609,7 @@ module Stripe
|
||||
# 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.
|
||||
sig { returns(T.nilable(T.any(Integer, String))) }
|
||||
attr_accessor :cancel_at
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
||||
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`. This param will be removed in a future API version. Please use `cancel_at` instead.
|
||||
sig { returns(T.nilable(T::Boolean)) }
|
||||
attr_accessor :cancel_at_period_end
|
||||
# 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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user