mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Update generated code for v1130
This commit is contained in:
parent
dbed1a3a59
commit
7b693ab18c
@ -1 +1 @@
|
||||
v1127
|
||||
v1130
|
@ -124,6 +124,7 @@ module Stripe
|
||||
Subscription.object_name => Subscription,
|
||||
SubscriptionItem.object_name => SubscriptionItem,
|
||||
SubscriptionSchedule.object_name => SubscriptionSchedule,
|
||||
Tax::Association.object_name => Tax::Association,
|
||||
Tax::Calculation.object_name => Tax::Calculation,
|
||||
Tax::CalculationLineItem.object_name => Tax::CalculationLineItem,
|
||||
Tax::Form.object_name => Tax::Form,
|
||||
|
@ -111,6 +111,7 @@ require "stripe/resources/source_transaction"
|
||||
require "stripe/resources/subscription"
|
||||
require "stripe/resources/subscription_item"
|
||||
require "stripe/resources/subscription_schedule"
|
||||
require "stripe/resources/tax/association"
|
||||
require "stripe/resources/tax/calculation"
|
||||
require "stripe/resources/tax/calculation_line_item"
|
||||
require "stripe/resources/tax/form"
|
||||
|
24
lib/stripe/resources/tax/association.rb
Normal file
24
lib/stripe/resources/tax/association.rb
Normal file
@ -0,0 +1,24 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
module Tax
|
||||
# A Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf based on the PaymentIntent input
|
||||
class Association < APIResource
|
||||
OBJECT_NAME = "tax.association"
|
||||
def self.object_name
|
||||
"tax.association"
|
||||
end
|
||||
|
||||
# Finds a tax association object by PaymentIntent id.
|
||||
def self.find(params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :get,
|
||||
path: "/v1/tax/associations/find",
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user