You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# When you enable this parameter, the customer of this Account receives an email receipt when their payment succeeds. If this parameter isn't set, the default value is `false`.
# The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
2179
2181
attr_accessor:statement_descriptor
2180
2182
# The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
@@ -2183,10 +2185,12 @@ class Payments < ::Stripe::RequestParams
# When you enable this parameter, the customer of this Account receives an email receipt when their payment succeeds. If this parameter isn't set, the default value is `false`.
# The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
2101
2103
attr_accessor:statement_descriptor
2102
2104
# The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
@@ -2105,10 +2107,12 @@ class Payments < ::Stripe::RequestParams
Copy file name to clipboardExpand all lines: lib/stripe/params/billing_portal/session_create_params.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@ def initialize(
142
142
@type=type
143
143
end
144
144
end
145
-
# The ID of an existing [configuration](https://docs.stripe.com/api/customer_portal/configuration) to use for this session, describing its functionality and features. If not specified, the session uses the default configuration.
145
+
# The ID of an existing [configuration](https://docs.stripe.com/api/customer_portal/configurations) to use for this session, describing its functionality and features. If not specified, the session uses the default configuration.
# Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution, for this session.
582
+
attr_accessor:enabled
583
+
584
+
definitialize(enabled: nil)
585
+
@enabled=enabled
586
+
end
587
+
end
588
+
580
589
classNameCollection < ::Stripe::RequestParams
581
590
classBusiness < ::Stripe::RequestParams
582
591
# Enable business name collection on the Checkout Session. Defaults to `false`.
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
1135
+
# The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.
1127
1136
attr_accessor:country
1128
1137
1129
1138
definitialize(country: nil)
@@ -2458,6 +2467,8 @@ def initialize(link: nil)
2458
2467
attr_accessor:line_items
2459
2468
# The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.
2460
2469
attr_accessor:locale
2470
+
# Settings for Managed Payments for this Checkout Session and resulting [PaymentIntents](/api/payment_intents/object), [Invoices](/api/invoices/object), and [Subscriptions](/api/subscriptions/object).
2471
+
attr_accessor:managed_payments
2461
2472
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2462
2473
attr_accessor:metadata
2463
2474
# The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.
# A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with `tax_rates`.
29
+
# A list of up to 10 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`.
30
30
attr_accessor:tax_amounts
31
-
# The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and cannot be mixed with `tax_amounts`.
31
+
# The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and `tax_amounts` is not used.
32
32
attr_accessor:tax_rates
33
-
# Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`
33
+
# Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.
34
34
attr_accessor:type
35
35
# The integer unit amount in cents (or local equivalent) of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.
# A list of up to 10 tax amounts for the credit note line item. Cannot be mixed with `tax_rates`.
29
+
# A list of up to 10 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`.
30
30
attr_accessor:tax_amounts
31
-
# The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and cannot be mixed with `tax_amounts`.
31
+
# The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and `tax_amounts` is not used.
32
32
attr_accessor:tax_rates
33
-
# Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`
33
+
# Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.
34
34
attr_accessor:type
35
35
# The integer unit amount in cents (or local equivalent) of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`.
0 commit comments