Compare commits

...

2 Commits

Author SHA1 Message Date
anniel-stripe
6dc009579d
Disable AsciiComments rule (#1142) 2022-11-02 16:31:55 -07:00
Kamil Pajdzik
c2bb4dbceb
Codegen for openapi v204 (#1138) 2022-11-02 13:21:34 -07:00
4 changed files with 10 additions and 4 deletions

View File

@ -45,9 +45,7 @@ Style/AccessModifierDeclarations:
EnforcedStyle: inline EnforcedStyle: inline
Style/AsciiComments: Style/AsciiComments:
AllowedChars: Enabled: false
-
-
Style/FrozenStringLiteralComment: Style/FrozenStringLiteralComment:
EnforcedStyle: always EnforcedStyle: always

View File

@ -1 +1 @@
v184 v204

View File

@ -6,6 +6,10 @@ module Stripe
# but not yet refunded. Funds will be refunded to the credit or debit card that # but not yet refunded. Funds will be refunded to the credit or debit card that
# was originally charged. # was originally charged.
# #
# Stripe Tax users with recurring payments and invoices can create [Credit Notes](https://stripe.com/docs/api/credit_notes),
# which reduce overall tax liability because tax is correctly recalculated and
# apportioned to the related invoice.
#
# Related guide: [Refunds](https://stripe.com/docs/refunds). # Related guide: [Refunds](https://stripe.com/docs/refunds).
class Refund < APIResource class Refund < APIResource
extend Stripe::APIOperations::Create extend Stripe::APIOperations::Create

View File

@ -7,6 +7,10 @@ module Stripe
# just like a `Card` object: once chargeable, they can be charged, or can be # just like a `Card` object: once chargeable, they can be charged, or can be
# attached to customers. # attached to customers.
# #
# Stripe doesn't recommend using the deprecated [Sources API](https://stripe.com/docs/api/sources).
# We recommend that you adopt the [PaymentMethods API](https://stripe.com/docs/api/payment_methods).
# This newer API provides access to our latest features and payment method types.
#
# Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers). # Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers).
class Source < APIResource class Source < APIResource
extend Stripe::APIOperations::Create extend Stripe::APIOperations::Create