Skip to content

Commit b8f0160

Browse files
committed
regenerated code
1 parent 19200ea commit b8f0160

34 files changed

+8789
-25091
lines changed

lib/stripe/params/checkout/session_create_params.rb

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,58 +1680,6 @@ def initialize(mandate_options: nil, setup_future_usage: nil)
16801680
end
16811681
end
16821682

1683-
class Payto < ::Stripe::RequestParams
1684-
class MandateOptions < ::Stripe::RequestParams
1685-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
1686-
attr_accessor :amount
1687-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
1688-
attr_accessor :amount_type
1689-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1690-
attr_accessor :end_date
1691-
# The periodicity at which payments will be collected. Defaults to `adhoc`.
1692-
attr_accessor :payment_schedule
1693-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
1694-
attr_accessor :payments_per_period
1695-
# The purpose for which payments are made. Has a default value based on your merchant category code.
1696-
attr_accessor :purpose
1697-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1698-
attr_accessor :start_date
1699-
1700-
def initialize(
1701-
amount: nil,
1702-
amount_type: nil,
1703-
end_date: nil,
1704-
payment_schedule: nil,
1705-
payments_per_period: nil,
1706-
purpose: nil,
1707-
start_date: nil
1708-
)
1709-
@amount = amount
1710-
@amount_type = amount_type
1711-
@end_date = end_date
1712-
@payment_schedule = payment_schedule
1713-
@payments_per_period = payments_per_period
1714-
@purpose = purpose
1715-
@start_date = start_date
1716-
end
1717-
end
1718-
# Additional fields for Mandate creation
1719-
attr_accessor :mandate_options
1720-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
1721-
#
1722-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
1723-
#
1724-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
1725-
#
1726-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
1727-
attr_accessor :setup_future_usage
1728-
1729-
def initialize(mandate_options: nil, setup_future_usage: nil)
1730-
@mandate_options = mandate_options
1731-
@setup_future_usage = setup_future_usage
1732-
end
1733-
end
1734-
17351683
class Pix < ::Stripe::RequestParams
17361684
class MandateOptions < ::Stripe::RequestParams
17371685
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.

lib/stripe/params/payment_intent_capture_params.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def initialize(total_tax_amount: nil)
159159
#
160160
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
161161
attr_accessor :discount_amount
162-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
162+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
163163
attr_accessor :line_items
164164
# Contains information about the shipping portion of the amount.
165165
attr_accessor :shipping

lib/stripe/params/payment_intent_confirm_params.rb

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def initialize(total_tax_amount: nil)
168168
#
169169
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
170170
attr_accessor :discount_amount
171-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
171+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
172172
attr_accessor :line_items
173173
# Contains information about the shipping portion of the amount.
174174
attr_accessor :shipping
@@ -4836,56 +4836,6 @@ def initialize(mandate_options: nil, setup_future_usage: nil)
48364836
end
48374837
end
48384838

4839-
class Payto < ::Stripe::RequestParams
4840-
class MandateOptions < ::Stripe::RequestParams
4841-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
4842-
attr_accessor :amount
4843-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
4844-
attr_accessor :amount_type
4845-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
4846-
attr_accessor :end_date
4847-
# The periodicity at which payments will be collected. Defaults to `adhoc`.
4848-
attr_accessor :payment_schedule
4849-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
4850-
attr_accessor :payments_per_period
4851-
# The purpose for which payments are made. Has a default value based on your merchant category code.
4852-
attr_accessor :purpose
4853-
4854-
def initialize(
4855-
amount: nil,
4856-
amount_type: nil,
4857-
end_date: nil,
4858-
payment_schedule: nil,
4859-
payments_per_period: nil,
4860-
purpose: nil
4861-
)
4862-
@amount = amount
4863-
@amount_type = amount_type
4864-
@end_date = end_date
4865-
@payment_schedule = payment_schedule
4866-
@payments_per_period = payments_per_period
4867-
@purpose = purpose
4868-
end
4869-
end
4870-
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
4871-
attr_accessor :mandate_options
4872-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
4873-
#
4874-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
4875-
#
4876-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
4877-
#
4878-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
4879-
#
4880-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
4881-
attr_accessor :setup_future_usage
4882-
4883-
def initialize(mandate_options: nil, setup_future_usage: nil)
4884-
@mandate_options = mandate_options
4885-
@setup_future_usage = setup_future_usage
4886-
end
4887-
end
4888-
48894839
class Pix < ::Stripe::RequestParams
48904840
class MandateOptions < ::Stripe::RequestParams
48914841
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.

lib/stripe/params/payment_intent_create_params.rb

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def initialize(total_tax_amount: nil)
168168
#
169169
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
170170
attr_accessor :discount_amount
171-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
171+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
172172
attr_accessor :line_items
173173
# Contains information about the shipping portion of the amount.
174174
attr_accessor :shipping
@@ -4850,56 +4850,6 @@ def initialize(mandate_options: nil, setup_future_usage: nil)
48504850
end
48514851
end
48524852

4853-
class Payto < ::Stripe::RequestParams
4854-
class MandateOptions < ::Stripe::RequestParams
4855-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
4856-
attr_accessor :amount
4857-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
4858-
attr_accessor :amount_type
4859-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
4860-
attr_accessor :end_date
4861-
# The periodicity at which payments will be collected. Defaults to `adhoc`.
4862-
attr_accessor :payment_schedule
4863-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
4864-
attr_accessor :payments_per_period
4865-
# The purpose for which payments are made. Has a default value based on your merchant category code.
4866-
attr_accessor :purpose
4867-
4868-
def initialize(
4869-
amount: nil,
4870-
amount_type: nil,
4871-
end_date: nil,
4872-
payment_schedule: nil,
4873-
payments_per_period: nil,
4874-
purpose: nil
4875-
)
4876-
@amount = amount
4877-
@amount_type = amount_type
4878-
@end_date = end_date
4879-
@payment_schedule = payment_schedule
4880-
@payments_per_period = payments_per_period
4881-
@purpose = purpose
4882-
end
4883-
end
4884-
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
4885-
attr_accessor :mandate_options
4886-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
4887-
#
4888-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
4889-
#
4890-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
4891-
#
4892-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
4893-
#
4894-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
4895-
attr_accessor :setup_future_usage
4896-
4897-
def initialize(mandate_options: nil, setup_future_usage: nil)
4898-
@mandate_options = mandate_options
4899-
@setup_future_usage = setup_future_usage
4900-
end
4901-
end
4902-
49034853
class Pix < ::Stripe::RequestParams
49044854
class MandateOptions < ::Stripe::RequestParams
49054855
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.

lib/stripe/params/payment_intent_increment_authorization_params.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def initialize(total_tax_amount: nil)
159159
#
160160
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
161161
attr_accessor :discount_amount
162-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
162+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
163163
attr_accessor :line_items
164164
# Contains information about the shipping portion of the amount.
165165
attr_accessor :shipping

lib/stripe/params/payment_intent_update_params.rb

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def initialize(total_tax_amount: nil)
168168
#
169169
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
170170
attr_accessor :discount_amount
171-
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
171+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
172172
attr_accessor :line_items
173173
# Contains information about the shipping portion of the amount.
174174
attr_accessor :shipping
@@ -4828,56 +4828,6 @@ def initialize(mandate_options: nil, setup_future_usage: nil)
48284828
end
48294829
end
48304830

4831-
class Payto < ::Stripe::RequestParams
4832-
class MandateOptions < ::Stripe::RequestParams
4833-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
4834-
attr_accessor :amount
4835-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
4836-
attr_accessor :amount_type
4837-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
4838-
attr_accessor :end_date
4839-
# The periodicity at which payments will be collected. Defaults to `adhoc`.
4840-
attr_accessor :payment_schedule
4841-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
4842-
attr_accessor :payments_per_period
4843-
# The purpose for which payments are made. Has a default value based on your merchant category code.
4844-
attr_accessor :purpose
4845-
4846-
def initialize(
4847-
amount: nil,
4848-
amount_type: nil,
4849-
end_date: nil,
4850-
payment_schedule: nil,
4851-
payments_per_period: nil,
4852-
purpose: nil
4853-
)
4854-
@amount = amount
4855-
@amount_type = amount_type
4856-
@end_date = end_date
4857-
@payment_schedule = payment_schedule
4858-
@payments_per_period = payments_per_period
4859-
@purpose = purpose
4860-
end
4861-
end
4862-
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
4863-
attr_accessor :mandate_options
4864-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
4865-
#
4866-
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
4867-
#
4868-
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
4869-
#
4870-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
4871-
#
4872-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
4873-
attr_accessor :setup_future_usage
4874-
4875-
def initialize(mandate_options: nil, setup_future_usage: nil)
4876-
@mandate_options = mandate_options
4877-
@setup_future_usage = setup_future_usage
4878-
end
4879-
end
4880-
48814831
class Pix < ::Stripe::RequestParams
48824832
class MandateOptions < ::Stripe::RequestParams
48834833
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.

lib/stripe/params/setup_intent_confirm_params.rb

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,49 +1071,6 @@ def initialize(mandate_options: nil)
10711071
end
10721072
end
10731073

1074-
class Payto < ::Stripe::RequestParams
1075-
class MandateOptions < ::Stripe::RequestParams
1076-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
1077-
attr_accessor :amount
1078-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
1079-
attr_accessor :amount_type
1080-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1081-
attr_accessor :end_date
1082-
# The periodicity at which payments will be collected. Defaults to `adhoc`.
1083-
attr_accessor :payment_schedule
1084-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
1085-
attr_accessor :payments_per_period
1086-
# The purpose for which payments are made. Has a default value based on your merchant category code.
1087-
attr_accessor :purpose
1088-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1089-
attr_accessor :start_date
1090-
1091-
def initialize(
1092-
amount: nil,
1093-
amount_type: nil,
1094-
end_date: nil,
1095-
payment_schedule: nil,
1096-
payments_per_period: nil,
1097-
purpose: nil,
1098-
start_date: nil
1099-
)
1100-
@amount = amount
1101-
@amount_type = amount_type
1102-
@end_date = end_date
1103-
@payment_schedule = payment_schedule
1104-
@payments_per_period = payments_per_period
1105-
@purpose = purpose
1106-
@start_date = start_date
1107-
end
1108-
end
1109-
# Additional fields for Mandate creation.
1110-
attr_accessor :mandate_options
1111-
1112-
def initialize(mandate_options: nil)
1113-
@mandate_options = mandate_options
1114-
end
1115-
end
1116-
11171074
class SepaDebit < ::Stripe::RequestParams
11181075
class MandateOptions < ::Stripe::RequestParams
11191076
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.

0 commit comments

Comments
 (0)