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
# 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).
Copy file name to clipboardexpand all lines: lib/stripe/resources/bank_account.rb
+1-1
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ class Error < Stripe::StripeObject
56
56
# Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.
57
57
attr_reader:pending_verification
58
58
end
59
-
# The ID of the account that the bank account is associated with.
59
+
# The account this bank account belongs to. Only applicable on Accounts (not customers or recipients) This property is only available when returned as an [External Account](/api/external_account_bank_accounts/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.
60
60
attr_reader:account
61
61
# The name of the person or business that owns the bank account.
Copy file name to clipboardexpand all lines: lib/stripe/resources/billing/credit_balance_summary.rb
+2-2
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,9 @@ def initialize(id: nil)
53
53
@id=id
54
54
end
55
55
end
56
-
# The price type that credit grants can apply to. We currently only support the `metered` price type.
56
+
# The price type that credit grants can apply to. We currently only support the `metered` price type. Cannot be used in combination with `prices`.
57
57
attr_accessor:price_type
58
-
# A list of prices that the credit grant can apply to. We currently only support the `metered` prices.
58
+
# A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`.
Copy file name to clipboardexpand all lines: lib/stripe/resources/billing/credit_grant.rb
+12-6
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,9 @@ class Price < Stripe::StripeObject
35
35
# Unique identifier for the object.
36
36
attr_reader:id
37
37
end
38
-
# The price type that credit grants can apply to. We currently only support the `metered` price type. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.
38
+
# The price type that credit grants can apply to. We currently only support the `metered` price type. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `prices`.
39
39
attr_reader:price_type
40
-
# The prices that credit grants can apply to. We currently only support `metered` prices. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.
40
+
# The prices that credit grants can apply to. We currently only support `metered` prices. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `price_type`.
41
41
attr_reader:prices
42
42
end
43
43
# Attribute for field scope
@@ -105,9 +105,9 @@ def initialize(id: nil)
105
105
@id=id
106
106
end
107
107
end
108
-
# The price type that credit grants can apply to. We currently only support the `metered` price type.
108
+
# The price type that credit grants can apply to. We currently only support the `metered` price type. Cannot be used in combination with `prices`.
109
109
attr_accessor:price_type
110
-
# A list of prices that the credit grant can apply to. We currently only support the `metered` prices.
110
+
# A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`.
111
111
attr_accessor:prices
112
112
113
113
definitialize(price_type: nil,prices: nil)
@@ -124,7 +124,7 @@ def initialize(scope: nil)
124
124
end
125
125
# Amount of this credit grant.
126
126
attr_accessor:amount
127
-
# Configuration specifying what this credit grant applies to.
127
+
# Configuration specifying what this credit grant applies to. We currently only support `metered` prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.
128
128
attr_accessor:applicability_config
129
129
# The category of this credit grant.
130
130
attr_accessor:category
@@ -140,6 +140,8 @@ def initialize(scope: nil)
140
140
attr_accessor:metadata
141
141
# A descriptive name shown in the Dashboard.
142
142
attr_accessor:name
143
+
# The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100.
144
+
attr_accessor:priority
143
145
144
146
definitialize(
145
147
amount: nil,
@@ -150,7 +152,8 @@ def initialize(
150
152
expand: nil,
151
153
expires_at: nil,
152
154
metadata: nil,
153
-
name: nil
155
+
name: nil,
156
+
priority: nil
154
157
)
155
158
@amount=amount
156
159
@applicability_config=applicability_config
@@ -161,6 +164,7 @@ def initialize(
161
164
@expires_at=expires_at
162
165
@metadata=metadata
163
166
@name=name
167
+
@priority=priority
164
168
end
165
169
end
166
170
@@ -229,6 +233,8 @@ def initialize(expand: nil)
229
233
attr_reader:name
230
234
# String representing the object's type. Objects of the same type share the same value.
231
235
attr_reader:object
236
+
# The priority for applying this credit grant. The highest priority is 0 and the lowest is 100.
237
+
attr_reader:priority
232
238
# ID of the test clock this credit grant belongs to.
233
239
attr_reader:test_clock
234
240
# Time at which the object was last updated. Measured in seconds since the Unix epoch.
Copy file name to clipboardexpand all lines: lib/stripe/resources/card.rb
+2-2
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ class Networks < Stripe::StripeObject
21
21
# The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
22
22
attr_reader:preferred
23
23
end
24
-
# The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
24
+
# Attribute for field account
25
25
attr_reader:account
26
26
# City/District/Suburb/Town/Village.
27
27
attr_reader:address_city
@@ -49,7 +49,7 @@ class Networks < Stripe::StripeObject
49
49
attr_reader:brand_product
50
50
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
51
51
attr_reader:country
52
-
# Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
52
+
# Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available when returned as an [External Account](/api/external_account_cards/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.
53
53
attr_reader:currency
54
54
# The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.
Copy file name to clipboardexpand all lines: lib/stripe/resources/charge.rb
+2-2
Original file line number
Diff line number
Diff line change
@@ -1167,7 +1167,7 @@ class Zip < Stripe::StripeObject; end
1167
1167
attr_reader:swish
1168
1168
# Attribute for field twint
1169
1169
attr_reader:twint
1170
-
# The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.
1170
+
# The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/docs/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
1171
1171
# An additional hash is included on `payment_method_details` with a name matching this value.
1172
1172
# It contains information specific to the payment method.
1173
1173
attr_reader:type
@@ -2908,7 +2908,7 @@ def initialize(amount: nil)
2908
2908
@amount=amount
2909
2909
end
2910
2910
end
2911
-
# The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded.
2911
+
# The amount to capture, which must be less than or equal to the original amount.
0 commit comments