Update generated code for v1999 and 2025-09-30.preview

This commit is contained in:
Stripe OpenAPI 2025-09-19 00:35:02 +00:00
parent 1ab1087af8
commit 48236b489f
20 changed files with 333 additions and 61 deletions

View File

@ -1 +1 @@
v1995
v1999

View File

@ -38,6 +38,8 @@ module Stripe
class SettlementTiming < Stripe::StripeObject
# The number of days charge funds are held before becoming available.
attr_reader :delay_days
# The number of days charge funds are held before becoming available. If present, overrides the default, or minimum available, for the account.
attr_reader :delay_days_override
end
# A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
attr_reader :debit_negative_balances

View File

@ -1748,13 +1748,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end
@ -3974,13 +3984,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end

View File

@ -2050,13 +2050,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end
# 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).
@ -2454,13 +2464,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end
# 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).

View File

@ -208,13 +208,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end
# 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).

View File

@ -670,13 +670,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end

View File

@ -572,13 +572,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end
@ -2807,13 +2817,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end

View File

@ -89,13 +89,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end
# 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).

View File

@ -1548,13 +1548,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end
# 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).
@ -1952,13 +1962,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end
# 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).

View File

@ -382,13 +382,23 @@ module Stripe
attr_accessor :name
# A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
attr_accessor :tax_code
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
attr_accessor :unit_label
def initialize(description: nil, images: nil, metadata: nil, name: nil, tax_code: nil)
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil,
unit_label: nil
)
@description = description
@images = images
@metadata = metadata
@name = name
@tax_code = tax_code
@unit_label = unit_label
end
end

View File

@ -13568,6 +13568,9 @@ module Stripe
# The number of days charge funds are held before becoming available.
sig { returns(Integer) }
def delay_days; end
# The number of days charge funds are held before becoming available. If present, overrides the default, or minimum available, for the account.
sig { returns(T.nilable(Integer)) }
def delay_days_override; end
end
# A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
sig { returns(T.nilable(T::Boolean)) }
@ -24305,15 +24308,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams
@ -27643,15 +27652,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams
@ -43185,15 +43200,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).
@ -43797,15 +43818,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).
@ -47474,15 +47501,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).
@ -85638,15 +85671,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams
@ -167239,15 +167278,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams
@ -170622,15 +170667,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams
@ -180369,15 +180420,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).
@ -180981,15 +181038,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).
@ -184403,15 +184466,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).
@ -214303,15 +214372,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams

View File

@ -39,6 +39,9 @@ module Stripe
# The number of days charge funds are held before becoming available.
sig { returns(Integer) }
def delay_days; end
# The number of days charge funds are held before becoming available. If present, overrides the default, or minimum available, for the account.
sig { returns(T.nilable(Integer)) }
def delay_days_override; end
end
# A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
sig { returns(T.nilable(T::Boolean)) }

View File

@ -2478,15 +2478,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams
@ -5816,15 +5822,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams

View File

@ -3346,15 +3346,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).
@ -3958,15 +3964,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).

View File

@ -342,15 +342,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).

View File

@ -1029,15 +1029,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams

View File

@ -859,15 +859,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams
@ -4242,15 +4248,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams

View File

@ -143,15 +143,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).

View File

@ -2488,15 +2488,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).
@ -3100,15 +3106,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
# 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).

View File

@ -584,15 +584,21 @@ module Stripe
def tax_code; end
sig { params(_tax_code: T.nilable(String)).returns(T.nilable(String)) }
def tax_code=(_tax_code); end
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
sig { returns(T.nilable(String)) }
def unit_label; end
sig { params(_unit_label: T.nilable(String)).returns(T.nilable(String)) }
def unit_label=(_unit_label); end
sig {
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String), unit_label: T.nilable(String)).void
}
def initialize(
description: nil,
images: nil,
metadata: nil,
name: nil,
tax_code: nil
tax_code: nil,
unit_label: nil
); end
end
class Recurring < Stripe::RequestParams