mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-19 00:01:13 -05:00
Merge 68dfc60c057f1752935591e381f423ae053b089f into d604a8359ba333f9349acb0c4a6713be117b3796
This commit is contained in:
commit
0718403c88
@ -1 +1 @@
|
||||
c0dacb8d26f5b7c5d68ef88b3f51d40c1eafeab7
|
||||
81705b6e2e2e36de0b5623b221a049819f52a023
|
||||
@ -1 +1 @@
|
||||
v2124
|
||||
v2125
|
||||
@ -425,6 +425,29 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BillingSchedulesAction < ::Stripe::RequestParams
|
||||
class AppliesTo < ::Stripe::RequestParams
|
||||
# The ID of the price object.
|
||||
attr_accessor :price
|
||||
# Controls which subscription items the billing schedule applies to.
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(price: nil, type: nil)
|
||||
@price = price
|
||||
@type = type
|
||||
end
|
||||
end
|
||||
# Specify which subscription items the billing schedule applies to.
|
||||
attr_accessor :applies_to
|
||||
# Select the action.
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(applies_to: nil, type: nil)
|
||||
@applies_to = applies_to
|
||||
@type = type
|
||||
end
|
||||
end
|
||||
|
||||
class DiscountAction < ::Stripe::RequestParams
|
||||
class Add < ::Stripe::RequestParams
|
||||
class DiscountEnd < ::Stripe::RequestParams
|
||||
@ -777,6 +800,8 @@ module Stripe
|
||||
attr_accessor :set_schedule_end
|
||||
# Settings related to subscription trials.
|
||||
attr_accessor :trial_settings
|
||||
# Actions to apply to the billing schedules.
|
||||
attr_accessor :billing_schedules_actions
|
||||
|
||||
def initialize(
|
||||
amendment_end: nil,
|
||||
@ -788,7 +813,8 @@ module Stripe
|
||||
proration_behavior: nil,
|
||||
set_pause_collection: nil,
|
||||
set_schedule_end: nil,
|
||||
trial_settings: nil
|
||||
trial_settings: nil,
|
||||
billing_schedules_actions: nil
|
||||
)
|
||||
@amendment_end = amendment_end
|
||||
@amendment_start = amendment_start
|
||||
@ -800,6 +826,7 @@ module Stripe
|
||||
@set_pause_collection = set_pause_collection
|
||||
@set_schedule_end = set_schedule_end
|
||||
@trial_settings = trial_settings
|
||||
@billing_schedules_actions = billing_schedules_actions
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -77,6 +77,29 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class BillingSchedulesAction < ::Stripe::RequestParams
|
||||
class AppliesTo < ::Stripe::RequestParams
|
||||
# The ID of the price object.
|
||||
attr_accessor :price
|
||||
# Controls which subscription items the billing schedule applies to.
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(price: nil, type: nil)
|
||||
@price = price
|
||||
@type = type
|
||||
end
|
||||
end
|
||||
# Specify which subscription items the billing schedule applies to.
|
||||
attr_accessor :applies_to
|
||||
# Select the action.
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(applies_to: nil, type: nil)
|
||||
@applies_to = applies_to
|
||||
@type = type
|
||||
end
|
||||
end
|
||||
|
||||
class DiscountAction < ::Stripe::RequestParams
|
||||
class Add < ::Stripe::RequestParams
|
||||
class DiscountEnd < ::Stripe::RequestParams
|
||||
@ -429,6 +452,8 @@ module Stripe
|
||||
attr_accessor :set_schedule_end
|
||||
# Settings related to subscription trials.
|
||||
attr_accessor :trial_settings
|
||||
# Actions to apply to the billing schedules.
|
||||
attr_accessor :billing_schedules_actions
|
||||
|
||||
def initialize(
|
||||
amendment_end: nil,
|
||||
@ -440,7 +465,8 @@ module Stripe
|
||||
proration_behavior: nil,
|
||||
set_pause_collection: nil,
|
||||
set_schedule_end: nil,
|
||||
trial_settings: nil
|
||||
trial_settings: nil,
|
||||
billing_schedules_actions: nil
|
||||
)
|
||||
@amendment_end = amendment_end
|
||||
@amendment_start = amendment_start
|
||||
@ -452,6 +478,7 @@ module Stripe
|
||||
@set_pause_collection = set_pause_collection
|
||||
@set_schedule_end = set_schedule_end
|
||||
@trial_settings = trial_settings
|
||||
@billing_schedules_actions = billing_schedules_actions
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -112462,6 +112462,40 @@ module Stripe
|
||||
}
|
||||
def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end
|
||||
end
|
||||
class BillingSchedulesAction < ::Stripe::RequestParams
|
||||
class AppliesTo < ::Stripe::RequestParams
|
||||
# The ID of the price object.
|
||||
sig { returns(T.nilable(String)) }
|
||||
def price; end
|
||||
sig { params(_price: T.nilable(String)).returns(T.nilable(String)) }
|
||||
def price=(_price); end
|
||||
# Controls which subscription items the billing schedule applies to.
|
||||
sig { returns(String) }
|
||||
def type; end
|
||||
sig { params(_type: String).returns(String) }
|
||||
def type=(_type); end
|
||||
sig { params(price: T.nilable(String), type: String).void }
|
||||
def initialize(price: nil, type: nil); end
|
||||
end
|
||||
# Specify which subscription items the billing schedule applies to.
|
||||
sig {
|
||||
returns(T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction::AppliesTo]))
|
||||
}
|
||||
def applies_to; end
|
||||
sig {
|
||||
params(_applies_to: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction::AppliesTo])).returns(T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction::AppliesTo]))
|
||||
}
|
||||
def applies_to=(_applies_to); end
|
||||
# Select the action.
|
||||
sig { returns(String) }
|
||||
def type; end
|
||||
sig { params(_type: String).returns(String) }
|
||||
def type=(_type); end
|
||||
sig {
|
||||
params(applies_to: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction::AppliesTo]), type: String).void
|
||||
}
|
||||
def initialize(applies_to: nil, type: nil); end
|
||||
end
|
||||
class DiscountAction < ::Stripe::RequestParams
|
||||
class Add < ::Stripe::RequestParams
|
||||
class DiscountEnd < ::Stripe::RequestParams
|
||||
@ -113088,8 +113122,17 @@ module Stripe
|
||||
params(_trial_settings: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings)).returns(T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings))
|
||||
}
|
||||
def trial_settings=(_trial_settings); end
|
||||
# Actions to apply to the billing schedules.
|
||||
sig {
|
||||
params(amendment_end: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::AmendmentEnd), amendment_start: InvoiceCreatePreviewParams::ScheduleDetails::Amendment::AmendmentStart, billing_cycle_anchor: T.nilable(String), discount_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::DiscountAction]), item_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::ItemAction]), metadata_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::MetadataAction]), proration_behavior: T.nilable(String), set_pause_collection: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::SetPauseCollection), set_schedule_end: T.nilable(String), trial_settings: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings)).void
|
||||
returns(T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction]))
|
||||
}
|
||||
def billing_schedules_actions; end
|
||||
sig {
|
||||
params(_billing_schedules_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction])).returns(T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction]))
|
||||
}
|
||||
def billing_schedules_actions=(_billing_schedules_actions); end
|
||||
sig {
|
||||
params(amendment_end: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::AmendmentEnd), amendment_start: InvoiceCreatePreviewParams::ScheduleDetails::Amendment::AmendmentStart, billing_cycle_anchor: T.nilable(String), discount_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::DiscountAction]), item_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::ItemAction]), metadata_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::MetadataAction]), proration_behavior: T.nilable(String), set_pause_collection: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::SetPauseCollection), set_schedule_end: T.nilable(String), trial_settings: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings), billing_schedules_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction])).void
|
||||
}
|
||||
def initialize(
|
||||
amendment_end: nil,
|
||||
@ -113101,7 +113144,8 @@ module Stripe
|
||||
proration_behavior: nil,
|
||||
set_pause_collection: nil,
|
||||
set_schedule_end: nil,
|
||||
trial_settings: nil
|
||||
trial_settings: nil,
|
||||
billing_schedules_actions: nil
|
||||
); end
|
||||
end
|
||||
class BillingMode < ::Stripe::RequestParams
|
||||
@ -184892,6 +184936,40 @@ module Stripe
|
||||
}
|
||||
def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end
|
||||
end
|
||||
class BillingSchedulesAction < ::Stripe::RequestParams
|
||||
class AppliesTo < ::Stripe::RequestParams
|
||||
# The ID of the price object.
|
||||
sig { returns(T.nilable(String)) }
|
||||
def price; end
|
||||
sig { params(_price: T.nilable(String)).returns(T.nilable(String)) }
|
||||
def price=(_price); end
|
||||
# Controls which subscription items the billing schedule applies to.
|
||||
sig { returns(String) }
|
||||
def type; end
|
||||
sig { params(_type: String).returns(String) }
|
||||
def type=(_type); end
|
||||
sig { params(price: T.nilable(String), type: String).void }
|
||||
def initialize(price: nil, type: nil); end
|
||||
end
|
||||
# Specify which subscription items the billing schedule applies to.
|
||||
sig {
|
||||
returns(T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction::AppliesTo]))
|
||||
}
|
||||
def applies_to; end
|
||||
sig {
|
||||
params(_applies_to: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction::AppliesTo])).returns(T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction::AppliesTo]))
|
||||
}
|
||||
def applies_to=(_applies_to); end
|
||||
# Select the action.
|
||||
sig { returns(String) }
|
||||
def type; end
|
||||
sig { params(_type: String).returns(String) }
|
||||
def type=(_type); end
|
||||
sig {
|
||||
params(applies_to: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction::AppliesTo]), type: String).void
|
||||
}
|
||||
def initialize(applies_to: nil, type: nil); end
|
||||
end
|
||||
class DiscountAction < ::Stripe::RequestParams
|
||||
class Add < ::Stripe::RequestParams
|
||||
class DiscountEnd < ::Stripe::RequestParams
|
||||
@ -185490,8 +185568,17 @@ module Stripe
|
||||
params(_trial_settings: T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings)).returns(T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings))
|
||||
}
|
||||
def trial_settings=(_trial_settings); end
|
||||
# Actions to apply to the billing schedules.
|
||||
sig {
|
||||
params(amendment_end: T.nilable(SubscriptionScheduleAmendParams::Amendment::AmendmentEnd), amendment_start: SubscriptionScheduleAmendParams::Amendment::AmendmentStart, billing_cycle_anchor: T.nilable(String), discount_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::DiscountAction]), item_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::ItemAction]), metadata_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::MetadataAction]), proration_behavior: T.nilable(String), set_pause_collection: T.nilable(SubscriptionScheduleAmendParams::Amendment::SetPauseCollection), set_schedule_end: T.nilable(String), trial_settings: T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings)).void
|
||||
returns(T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction]))
|
||||
}
|
||||
def billing_schedules_actions; end
|
||||
sig {
|
||||
params(_billing_schedules_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction])).returns(T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction]))
|
||||
}
|
||||
def billing_schedules_actions=(_billing_schedules_actions); end
|
||||
sig {
|
||||
params(amendment_end: T.nilable(SubscriptionScheduleAmendParams::Amendment::AmendmentEnd), amendment_start: SubscriptionScheduleAmendParams::Amendment::AmendmentStart, billing_cycle_anchor: T.nilable(String), discount_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::DiscountAction]), item_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::ItemAction]), metadata_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::MetadataAction]), proration_behavior: T.nilable(String), set_pause_collection: T.nilable(SubscriptionScheduleAmendParams::Amendment::SetPauseCollection), set_schedule_end: T.nilable(String), trial_settings: T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings), billing_schedules_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction])).void
|
||||
}
|
||||
def initialize(
|
||||
amendment_end: nil,
|
||||
@ -185503,7 +185590,8 @@ module Stripe
|
||||
proration_behavior: nil,
|
||||
set_pause_collection: nil,
|
||||
set_schedule_end: nil,
|
||||
trial_settings: nil
|
||||
trial_settings: nil,
|
||||
billing_schedules_actions: nil
|
||||
); end
|
||||
end
|
||||
class Prebilling < ::Stripe::RequestParams
|
||||
|
||||
@ -636,6 +636,40 @@ module Stripe
|
||||
}
|
||||
def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end
|
||||
end
|
||||
class BillingSchedulesAction < ::Stripe::RequestParams
|
||||
class AppliesTo < ::Stripe::RequestParams
|
||||
# The ID of the price object.
|
||||
sig { returns(T.nilable(String)) }
|
||||
def price; end
|
||||
sig { params(_price: T.nilable(String)).returns(T.nilable(String)) }
|
||||
def price=(_price); end
|
||||
# Controls which subscription items the billing schedule applies to.
|
||||
sig { returns(String) }
|
||||
def type; end
|
||||
sig { params(_type: String).returns(String) }
|
||||
def type=(_type); end
|
||||
sig { params(price: T.nilable(String), type: String).void }
|
||||
def initialize(price: nil, type: nil); end
|
||||
end
|
||||
# Specify which subscription items the billing schedule applies to.
|
||||
sig {
|
||||
returns(T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction::AppliesTo]))
|
||||
}
|
||||
def applies_to; end
|
||||
sig {
|
||||
params(_applies_to: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction::AppliesTo])).returns(T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction::AppliesTo]))
|
||||
}
|
||||
def applies_to=(_applies_to); end
|
||||
# Select the action.
|
||||
sig { returns(String) }
|
||||
def type; end
|
||||
sig { params(_type: String).returns(String) }
|
||||
def type=(_type); end
|
||||
sig {
|
||||
params(applies_to: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction::AppliesTo]), type: String).void
|
||||
}
|
||||
def initialize(applies_to: nil, type: nil); end
|
||||
end
|
||||
class DiscountAction < ::Stripe::RequestParams
|
||||
class Add < ::Stripe::RequestParams
|
||||
class DiscountEnd < ::Stripe::RequestParams
|
||||
@ -1262,8 +1296,17 @@ module Stripe
|
||||
params(_trial_settings: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings)).returns(T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings))
|
||||
}
|
||||
def trial_settings=(_trial_settings); end
|
||||
# Actions to apply to the billing schedules.
|
||||
sig {
|
||||
params(amendment_end: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::AmendmentEnd), amendment_start: InvoiceCreatePreviewParams::ScheduleDetails::Amendment::AmendmentStart, billing_cycle_anchor: T.nilable(String), discount_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::DiscountAction]), item_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::ItemAction]), metadata_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::MetadataAction]), proration_behavior: T.nilable(String), set_pause_collection: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::SetPauseCollection), set_schedule_end: T.nilable(String), trial_settings: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings)).void
|
||||
returns(T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction]))
|
||||
}
|
||||
def billing_schedules_actions; end
|
||||
sig {
|
||||
params(_billing_schedules_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction])).returns(T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction]))
|
||||
}
|
||||
def billing_schedules_actions=(_billing_schedules_actions); end
|
||||
sig {
|
||||
params(amendment_end: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::AmendmentEnd), amendment_start: InvoiceCreatePreviewParams::ScheduleDetails::Amendment::AmendmentStart, billing_cycle_anchor: T.nilable(String), discount_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::DiscountAction]), item_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::ItemAction]), metadata_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::MetadataAction]), proration_behavior: T.nilable(String), set_pause_collection: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::SetPauseCollection), set_schedule_end: T.nilable(String), trial_settings: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings), billing_schedules_actions: T.nilable(T::Array[InvoiceCreatePreviewParams::ScheduleDetails::Amendment::BillingSchedulesAction])).void
|
||||
}
|
||||
def initialize(
|
||||
amendment_end: nil,
|
||||
@ -1275,7 +1318,8 @@ module Stripe
|
||||
proration_behavior: nil,
|
||||
set_pause_collection: nil,
|
||||
set_schedule_end: nil,
|
||||
trial_settings: nil
|
||||
trial_settings: nil,
|
||||
billing_schedules_actions: nil
|
||||
); end
|
||||
end
|
||||
class BillingMode < ::Stripe::RequestParams
|
||||
|
||||
@ -114,6 +114,40 @@ module Stripe
|
||||
}
|
||||
def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end
|
||||
end
|
||||
class BillingSchedulesAction < ::Stripe::RequestParams
|
||||
class AppliesTo < ::Stripe::RequestParams
|
||||
# The ID of the price object.
|
||||
sig { returns(T.nilable(String)) }
|
||||
def price; end
|
||||
sig { params(_price: T.nilable(String)).returns(T.nilable(String)) }
|
||||
def price=(_price); end
|
||||
# Controls which subscription items the billing schedule applies to.
|
||||
sig { returns(String) }
|
||||
def type; end
|
||||
sig { params(_type: String).returns(String) }
|
||||
def type=(_type); end
|
||||
sig { params(price: T.nilable(String), type: String).void }
|
||||
def initialize(price: nil, type: nil); end
|
||||
end
|
||||
# Specify which subscription items the billing schedule applies to.
|
||||
sig {
|
||||
returns(T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction::AppliesTo]))
|
||||
}
|
||||
def applies_to; end
|
||||
sig {
|
||||
params(_applies_to: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction::AppliesTo])).returns(T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction::AppliesTo]))
|
||||
}
|
||||
def applies_to=(_applies_to); end
|
||||
# Select the action.
|
||||
sig { returns(String) }
|
||||
def type; end
|
||||
sig { params(_type: String).returns(String) }
|
||||
def type=(_type); end
|
||||
sig {
|
||||
params(applies_to: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction::AppliesTo]), type: String).void
|
||||
}
|
||||
def initialize(applies_to: nil, type: nil); end
|
||||
end
|
||||
class DiscountAction < ::Stripe::RequestParams
|
||||
class Add < ::Stripe::RequestParams
|
||||
class DiscountEnd < ::Stripe::RequestParams
|
||||
@ -712,8 +746,17 @@ module Stripe
|
||||
params(_trial_settings: T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings)).returns(T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings))
|
||||
}
|
||||
def trial_settings=(_trial_settings); end
|
||||
# Actions to apply to the billing schedules.
|
||||
sig {
|
||||
params(amendment_end: T.nilable(SubscriptionScheduleAmendParams::Amendment::AmendmentEnd), amendment_start: SubscriptionScheduleAmendParams::Amendment::AmendmentStart, billing_cycle_anchor: T.nilable(String), discount_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::DiscountAction]), item_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::ItemAction]), metadata_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::MetadataAction]), proration_behavior: T.nilable(String), set_pause_collection: T.nilable(SubscriptionScheduleAmendParams::Amendment::SetPauseCollection), set_schedule_end: T.nilable(String), trial_settings: T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings)).void
|
||||
returns(T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction]))
|
||||
}
|
||||
def billing_schedules_actions; end
|
||||
sig {
|
||||
params(_billing_schedules_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction])).returns(T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction]))
|
||||
}
|
||||
def billing_schedules_actions=(_billing_schedules_actions); end
|
||||
sig {
|
||||
params(amendment_end: T.nilable(SubscriptionScheduleAmendParams::Amendment::AmendmentEnd), amendment_start: SubscriptionScheduleAmendParams::Amendment::AmendmentStart, billing_cycle_anchor: T.nilable(String), discount_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::DiscountAction]), item_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::ItemAction]), metadata_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::MetadataAction]), proration_behavior: T.nilable(String), set_pause_collection: T.nilable(SubscriptionScheduleAmendParams::Amendment::SetPauseCollection), set_schedule_end: T.nilable(String), trial_settings: T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings), billing_schedules_actions: T.nilable(T::Array[SubscriptionScheduleAmendParams::Amendment::BillingSchedulesAction])).void
|
||||
}
|
||||
def initialize(
|
||||
amendment_end: nil,
|
||||
@ -725,7 +768,8 @@ module Stripe
|
||||
proration_behavior: nil,
|
||||
set_pause_collection: nil,
|
||||
set_schedule_end: nil,
|
||||
trial_settings: nil
|
||||
trial_settings: nil,
|
||||
billing_schedules_actions: nil
|
||||
); end
|
||||
end
|
||||
class Prebilling < ::Stripe::RequestParams
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user