Update generated code for v277 (#1198)

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
This commit is contained in:
stripe-openapi[bot] 2023-03-23 13:28:04 -07:00 committed by GitHub
parent 57f61c09ce
commit e1080cdd1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View File

@ -1 +1 @@
v276
v277

View File

@ -2020,6 +2020,20 @@ module Stripe
assert_requested :post, "#{Stripe.api_base}/v1/subscription_schedules/sub_sched_xxxxxxxxxxxxx"
end
end
context "Tax.Calculation.list_line_items" do
should "support requests with args: calculation" do
Stripe::Tax::Calculation.list_line_items("xxx")
assert_requested :get, "#{Stripe.api_base}/v1/tax/calculations/xxx/line_items?"
end
end
context "Tax.Transaction.create_from_calculation" do
should "support requests with args: calculation, reference" do
Stripe::Tax::Transaction.create_from_calculation(
{ calculation: "xxx", reference: "yyy" }
)
assert_requested :post, "#{Stripe.api_base}/v1/tax/transactions/create_from_calculation"
end
end
context "TaxCode.list" do
should "support requests with args: limit" do
Stripe::TaxCode.list({ limit: 3 })