Skip to content

Commit b1ab151

Browse files
Update generated code for v1467
1 parent ed1204c commit b1ab151

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1466
1+
v1467

lib/stripe/resources/charge.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ class Funding < Stripe::StripeObject
182182
class Card < Stripe::StripeObject
183183
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
184184
attr_reader :brand
185+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
186+
attr_reader :brand_product
185187
# 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.
186188
attr_reader :country
187189
# Two-digit number representing the card's expiration month.
@@ -939,6 +941,8 @@ class Funding < Stripe::StripeObject
939941
class Card < Stripe::StripeObject
940942
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
941943
attr_reader :brand
944+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
945+
attr_reader :brand_product
942946
# 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.
943947
attr_reader :country
944948
# Two-digit number representing the card's expiration month.

rbi/stripe/resources/charge.rbi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ module Stripe
219219
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
220220
sig { returns(T.nilable(String)) }
221221
attr_reader :brand
222+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
223+
sig { returns(T.nilable(String)) }
224+
attr_reader :brand_product
222225
# 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.
223226
sig { returns(T.nilable(String)) }
224227
attr_reader :country
@@ -1185,6 +1188,9 @@ module Stripe
11851188
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
11861189
sig { returns(T.nilable(String)) }
11871190
attr_reader :brand
1191+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
1192+
sig { returns(T.nilable(String)) }
1193+
attr_reader :brand_product
11881194
# 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.
11891195
sig { returns(T.nilable(String)) }
11901196
attr_reader :country

0 commit comments

Comments
 (0)