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
# Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
132
132
attr_accessor:duration
133
-
# Required only if `duration` is `repeating`, in which case it must be a positive integer that specifies the number of months the discount will be in effect.
134
-
attr_accessor:duration_in_months
135
133
# Specifies which fields in the response should be expanded.
136
134
attr_accessor:expand
137
135
# Unique string of your choice that will be used to identify this coupon when applying it to a customer. If you don't want to specify a particular code, you can leave the ID blank and we'll generate a random code for you.
# Balance information and default balance settings for this customer.
277
277
attr_accessor:cash_balance
278
-
# If you provide a coupon code, the customer will have a discount applied on all recurring charges. Charges you create through the API will not have the discount.
279
-
attr_accessor:coupon
280
278
# If you are using payment methods created via the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method) parameter.
281
279
#
282
280
# Provide the ID of a payment source already attached to this customer to make it this customer's default payment source.
# Customer's preferred languages, ordered by preference.
305
303
attr_accessor:preferred_locales
306
-
# The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.
307
-
attr_accessor:promotion_code
308
304
# The customer's shipping information. Appears on invoices emailed to this customer.
# Balance information and default balance settings for this customer.
590
582
attr_accessor:cash_balance
591
-
# If you provide a coupon code, the customer will have a discount applied on all recurring charges. Charges you create through the API will not have the discount.
592
-
attr_accessor:coupon
593
583
# An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard.
594
584
attr_accessor:description
595
585
# Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*.
# Customer's preferred languages, ordered by preference.
614
604
attr_accessor:preferred_locales
615
-
# The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.
616
-
attr_accessor:promotion_code
617
605
# The customer's shipping information. Appears on invoices emailed to this customer.
Copy file name to clipboardexpand all lines: lib/stripe/resources/payment_intent.rb
+38-3
Original file line number
Diff line number
Diff line change
@@ -1396,6 +1396,14 @@ class Multibanco < Stripe::StripeObject
1396
1396
class NaverPay < Stripe::StripeObject
1397
1397
# Controls when the funds will be captured from the customer's account.
1398
1398
attr_reader :capture_method
1399
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
1400
+
#
1401
+
# 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.
1402
+
#
1403
+
# 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.
1404
+
#
1405
+
# 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).
1406
+
attr_reader :setup_future_usage
1399
1407
end
1400
1408
1401
1409
class Oxxo < Stripe::StripeObject
@@ -4254,9 +4262,18 @@ class NaverPay < Stripe::RequestParams
4254
4262
#
4255
4263
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
4256
4264
attr_accessor :capture_method
4265
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
4266
+
#
4267
+
# 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.
4268
+
#
4269
+
# 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.
4270
+
#
4271
+
# 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).
@@ -7610,9 +7627,18 @@ class NaverPay < Stripe::RequestParams
7610
7627
#
7611
7628
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
7612
7629
attr_accessor :capture_method
7630
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
7631
+
#
7632
+
# 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.
7633
+
#
7634
+
# 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.
7635
+
#
7636
+
# 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).
@@ -11686,9 +11712,18 @@ class NaverPay < Stripe::RequestParams
11686
11712
#
11687
11713
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
11688
11714
attr_accessor :capture_method
11715
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
11716
+
#
11717
+
# 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.
11718
+
#
11719
+
# 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.
11720
+
#
11721
+
# 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).
# Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
109
109
attr_accessor:duration
110
-
# Required only if `duration` is `repeating`, in which case it must be a positive integer that specifies the number of months the discount will be in effect.
111
-
attr_accessor:duration_in_months
112
110
# Specifies which fields in the response should be expanded.
113
111
attr_accessor:expand
114
112
# Unique string of your choice that will be used to identify this coupon when applying it to a customer. If you don't want to specify a particular code, you can leave the ID blank and we'll generate a random code for you.
0 commit comments