mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Update generated code (#1411)
* Update generated code for v1060 * Update generated code for v1062 * Update generated code for v1063 * Update generated code for v1071 * Update generated code for v1079 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
This commit is contained in:
parent
102b9da798
commit
da8d64c580
@ -1 +1 @@
|
||||
v1011
|
||||
v1079
|
@ -5,8 +5,7 @@ module Stripe
|
||||
# These bank accounts are payment methods on `Customer` objects.
|
||||
#
|
||||
# On the other hand [External Accounts](https://stripe.com/api#external_accounts) are transfer
|
||||
# destinations on `Account` objects for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
||||
# is `application`, which includes [Custom accounts](https://stripe.com/connect/custom-accounts).
|
||||
# destinations on `Account` objects for connected accounts.
|
||||
# They can be bank accounts or debit cards as well, and are documented in the links above.
|
||||
#
|
||||
# Related guide: [Bank debits and transfers](https://stripe.com/payments/bank-debits-transfers)
|
||||
|
@ -15,7 +15,7 @@ module Stripe
|
||||
"climate.order"
|
||||
end
|
||||
|
||||
# Cancels a Climate order. You can cancel an order within 30 days of creation. Stripe refunds the
|
||||
# Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the
|
||||
# reservation amount_subtotal, but not the amount_fees for user-triggered cancellations. Frontier
|
||||
# might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe
|
||||
# provides 90 days advance notice and refunds the amount_total.
|
||||
@ -28,7 +28,7 @@ module Stripe
|
||||
)
|
||||
end
|
||||
|
||||
# Cancels a Climate order. You can cancel an order within 30 days of creation. Stripe refunds the
|
||||
# Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the
|
||||
# reservation amount_subtotal, but not the amount_fees for user-triggered cancellations. Frontier
|
||||
# might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe
|
||||
# provides 90 days advance notice and refunds the amount_total.
|
||||
|
@ -35,7 +35,7 @@ module Stripe
|
||||
|
||||
# You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
|
||||
#
|
||||
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error.
|
||||
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
||||
def cancel(params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
@ -47,7 +47,7 @@ module Stripe
|
||||
|
||||
# You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
|
||||
#
|
||||
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error.
|
||||
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
||||
def self.cancel(intent, params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
|
@ -24,7 +24,7 @@ module Stripe
|
||||
)
|
||||
end
|
||||
|
||||
# Retrieves the line items of a persisted tax calculation as a collection.
|
||||
# Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
|
||||
def list_line_items(params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :get,
|
||||
@ -34,7 +34,7 @@ module Stripe
|
||||
)
|
||||
end
|
||||
|
||||
# Retrieves the line items of a persisted tax calculation as a collection.
|
||||
# Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
|
||||
def self.list_line_items(calculation, params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :get,
|
||||
|
@ -12,7 +12,7 @@ module Stripe
|
||||
"tax.transaction"
|
||||
end
|
||||
|
||||
# Creates a Tax Transaction from a calculation.
|
||||
# Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days.
|
||||
def self.create_from_calculation(params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :post,
|
||||
|
Loading…
x
Reference in New Issue
Block a user