Merge 68dfc60c057f1752935591e381f423ae053b089f into d604a8359ba333f9349acb0c4a6713be117b3796

This commit is contained in:
stripe-openapi[bot] 2025-11-18 00:11:04 +00:00 committed by GitHub
commit 0718403c88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 242 additions and 12 deletions

View File

@ -1 +1 @@
c0dacb8d26f5b7c5d68ef88b3f51d40c1eafeab7 81705b6e2e2e36de0b5623b221a049819f52a023

View File

@ -1 +1 @@
v2124 v2125

View File

@ -425,6 +425,29 @@ module Stripe
end end
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 DiscountAction < ::Stripe::RequestParams
class Add < ::Stripe::RequestParams class Add < ::Stripe::RequestParams
class DiscountEnd < ::Stripe::RequestParams class DiscountEnd < ::Stripe::RequestParams
@ -777,6 +800,8 @@ module Stripe
attr_accessor :set_schedule_end attr_accessor :set_schedule_end
# Settings related to subscription trials. # Settings related to subscription trials.
attr_accessor :trial_settings attr_accessor :trial_settings
# Actions to apply to the billing schedules.
attr_accessor :billing_schedules_actions
def initialize( def initialize(
amendment_end: nil, amendment_end: nil,
@ -788,7 +813,8 @@ module Stripe
proration_behavior: nil, proration_behavior: nil,
set_pause_collection: nil, set_pause_collection: nil,
set_schedule_end: nil, set_schedule_end: nil,
trial_settings: nil trial_settings: nil,
billing_schedules_actions: nil
) )
@amendment_end = amendment_end @amendment_end = amendment_end
@amendment_start = amendment_start @amendment_start = amendment_start
@ -800,6 +826,7 @@ module Stripe
@set_pause_collection = set_pause_collection @set_pause_collection = set_pause_collection
@set_schedule_end = set_schedule_end @set_schedule_end = set_schedule_end
@trial_settings = trial_settings @trial_settings = trial_settings
@billing_schedules_actions = billing_schedules_actions
end end
end end

View File

@ -77,6 +77,29 @@ module Stripe
end end
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 DiscountAction < ::Stripe::RequestParams
class Add < ::Stripe::RequestParams class Add < ::Stripe::RequestParams
class DiscountEnd < ::Stripe::RequestParams class DiscountEnd < ::Stripe::RequestParams
@ -429,6 +452,8 @@ module Stripe
attr_accessor :set_schedule_end attr_accessor :set_schedule_end
# Settings related to subscription trials. # Settings related to subscription trials.
attr_accessor :trial_settings attr_accessor :trial_settings
# Actions to apply to the billing schedules.
attr_accessor :billing_schedules_actions
def initialize( def initialize(
amendment_end: nil, amendment_end: nil,
@ -440,7 +465,8 @@ module Stripe
proration_behavior: nil, proration_behavior: nil,
set_pause_collection: nil, set_pause_collection: nil,
set_schedule_end: nil, set_schedule_end: nil,
trial_settings: nil trial_settings: nil,
billing_schedules_actions: nil
) )
@amendment_end = amendment_end @amendment_end = amendment_end
@amendment_start = amendment_start @amendment_start = amendment_start
@ -452,6 +478,7 @@ module Stripe
@set_pause_collection = set_pause_collection @set_pause_collection = set_pause_collection
@set_schedule_end = set_schedule_end @set_schedule_end = set_schedule_end
@trial_settings = trial_settings @trial_settings = trial_settings
@billing_schedules_actions = billing_schedules_actions
end end
end end

View File

@ -112462,6 +112462,40 @@ module Stripe
} }
def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end
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 DiscountAction < ::Stripe::RequestParams
class Add < ::Stripe::RequestParams class Add < ::Stripe::RequestParams
class DiscountEnd < ::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)) params(_trial_settings: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings)).returns(T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings))
} }
def trial_settings=(_trial_settings); end def trial_settings=(_trial_settings); end
# Actions to apply to the billing schedules.
sig { 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( def initialize(
amendment_end: nil, amendment_end: nil,
@ -113101,7 +113144,8 @@ module Stripe
proration_behavior: nil, proration_behavior: nil,
set_pause_collection: nil, set_pause_collection: nil,
set_schedule_end: nil, set_schedule_end: nil,
trial_settings: nil trial_settings: nil,
billing_schedules_actions: nil
); end ); end
end end
class BillingMode < ::Stripe::RequestParams class BillingMode < ::Stripe::RequestParams
@ -184892,6 +184936,40 @@ module Stripe
} }
def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end
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 DiscountAction < ::Stripe::RequestParams
class Add < ::Stripe::RequestParams class Add < ::Stripe::RequestParams
class DiscountEnd < ::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)) params(_trial_settings: T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings)).returns(T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings))
} }
def trial_settings=(_trial_settings); end def trial_settings=(_trial_settings); end
# Actions to apply to the billing schedules.
sig { 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( def initialize(
amendment_end: nil, amendment_end: nil,
@ -185503,7 +185590,8 @@ module Stripe
proration_behavior: nil, proration_behavior: nil,
set_pause_collection: nil, set_pause_collection: nil,
set_schedule_end: nil, set_schedule_end: nil,
trial_settings: nil trial_settings: nil,
billing_schedules_actions: nil
); end ); end
end end
class Prebilling < ::Stripe::RequestParams class Prebilling < ::Stripe::RequestParams

View File

@ -636,6 +636,40 @@ module Stripe
} }
def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end
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 DiscountAction < ::Stripe::RequestParams
class Add < ::Stripe::RequestParams class Add < ::Stripe::RequestParams
class DiscountEnd < ::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)) params(_trial_settings: T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings)).returns(T.nilable(InvoiceCreatePreviewParams::ScheduleDetails::Amendment::TrialSettings))
} }
def trial_settings=(_trial_settings); end def trial_settings=(_trial_settings); end
# Actions to apply to the billing schedules.
sig { 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( def initialize(
amendment_end: nil, amendment_end: nil,
@ -1275,7 +1318,8 @@ module Stripe
proration_behavior: nil, proration_behavior: nil,
set_pause_collection: nil, set_pause_collection: nil,
set_schedule_end: nil, set_schedule_end: nil,
trial_settings: nil trial_settings: nil,
billing_schedules_actions: nil
); end ); end
end end
class BillingMode < ::Stripe::RequestParams class BillingMode < ::Stripe::RequestParams

View File

@ -114,6 +114,40 @@ module Stripe
} }
def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil); end
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 DiscountAction < ::Stripe::RequestParams
class Add < ::Stripe::RequestParams class Add < ::Stripe::RequestParams
class DiscountEnd < ::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)) params(_trial_settings: T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings)).returns(T.nilable(SubscriptionScheduleAmendParams::Amendment::TrialSettings))
} }
def trial_settings=(_trial_settings); end def trial_settings=(_trial_settings); end
# Actions to apply to the billing schedules.
sig { 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( def initialize(
amendment_end: nil, amendment_end: nil,
@ -725,7 +768,8 @@ module Stripe
proration_behavior: nil, proration_behavior: nil,
set_pause_collection: nil, set_pause_collection: nil,
set_schedule_end: nil, set_schedule_end: nil,
trial_settings: nil trial_settings: nil,
billing_schedules_actions: nil
); end ); end
end end
class Prebilling < ::Stripe::RequestParams class Prebilling < ::Stripe::RequestParams