mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-07-18 00:00:44 -04:00
Compare commits
No commits in common. "105506a7fd67ad5be6351e47e26e7dfa1a2f924a" and "8f210e251a234ee88285851cd84bd6ff2292591b" have entirely different histories.
105506a7fd
...
8f210e251a
@ -1,14 +1,5 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 8.4.0-beta.4 - 2023-03-16
|
|
||||||
* [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
|
||||||
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
|
||||||
* [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
|
||||||
* Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
|
||||||
* Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
|
||||||
* Remove support for `retrieve` method on resource `FinancingSummary`
|
|
||||||
* [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
|
||||||
|
|
||||||
## 8.4.0-beta.3 - 2023-03-09
|
## 8.4.0-beta.3 - 2023-03-09
|
||||||
* [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
* [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
||||||
* Updated stable APIs to the latest version
|
* Updated stable APIs to the latest version
|
||||||
|
@ -1 +1 @@
|
|||||||
v262
|
v249
|
@ -25,8 +25,6 @@ module Stripe
|
|||||||
BillingPortal::Configuration::OBJECT_NAME => BillingPortal::Configuration,
|
BillingPortal::Configuration::OBJECT_NAME => BillingPortal::Configuration,
|
||||||
BillingPortal::Session::OBJECT_NAME => BillingPortal::Session,
|
BillingPortal::Session::OBJECT_NAME => BillingPortal::Session,
|
||||||
Capability::OBJECT_NAME => Capability,
|
Capability::OBJECT_NAME => Capability,
|
||||||
Capital::FinancingOffer::OBJECT_NAME => Capital::FinancingOffer,
|
|
||||||
Capital::FinancingSummary::OBJECT_NAME => Capital::FinancingSummary,
|
|
||||||
Capital::FinancingTransaction::OBJECT_NAME => Capital::FinancingTransaction,
|
Capital::FinancingTransaction::OBJECT_NAME => Capital::FinancingTransaction,
|
||||||
Card::OBJECT_NAME => Card,
|
Card::OBJECT_NAME => Card,
|
||||||
CashBalance::OBJECT_NAME => CashBalance,
|
CashBalance::OBJECT_NAME => CashBalance,
|
||||||
|
@ -14,8 +14,6 @@ require "stripe/resources/bank_account"
|
|||||||
require "stripe/resources/billing_portal/configuration"
|
require "stripe/resources/billing_portal/configuration"
|
||||||
require "stripe/resources/billing_portal/session"
|
require "stripe/resources/billing_portal/session"
|
||||||
require "stripe/resources/capability"
|
require "stripe/resources/capability"
|
||||||
require "stripe/resources/capital/financing_offer"
|
|
||||||
require "stripe/resources/capital/financing_summary"
|
|
||||||
require "stripe/resources/capital/financing_transaction"
|
require "stripe/resources/capital/financing_transaction"
|
||||||
require "stripe/resources/card"
|
require "stripe/resources/card"
|
||||||
require "stripe/resources/cash_balance"
|
require "stripe/resources/cash_balance"
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# File generated from our OpenAPI spec
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
module Stripe
|
|
||||||
module Capital
|
|
||||||
# This is an object representing an offer of financing from
|
|
||||||
# Stripe Capital to a Connect subaccount.
|
|
||||||
class FinancingOffer < APIResource
|
|
||||||
extend Stripe::APIOperations::List
|
|
||||||
|
|
||||||
OBJECT_NAME = "capital.financing_offer"
|
|
||||||
|
|
||||||
def mark_delivered(params = {}, opts = {})
|
|
||||||
request_stripe_object(
|
|
||||||
method: :post,
|
|
||||||
path: format("/v1/capital/financing_offers/%<financing_offer>s/mark_delivered", { financing_offer: CGI.escape(self["id"]) }),
|
|
||||||
params: params,
|
|
||||||
opts: opts
|
|
||||||
)
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.mark_delivered(financing_offer, params = {}, opts = {})
|
|
||||||
request_stripe_object(
|
|
||||||
method: :post,
|
|
||||||
path: format("/v1/capital/financing_offers/%<financing_offer>s/mark_delivered", { financing_offer: CGI.escape(financing_offer) }),
|
|
||||||
params: params,
|
|
||||||
opts: opts
|
|
||||||
)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
@ -1,12 +0,0 @@
|
|||||||
# File generated from our OpenAPI spec
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
module Stripe
|
|
||||||
module Capital
|
|
||||||
# A financing object describes an account's current financing state. Used by Connect
|
|
||||||
# platforms to read the state of Capital offered to their connected accounts.
|
|
||||||
class FinancingSummary < SingletonAPIResource
|
|
||||||
OBJECT_NAME = "capital.financing_summary"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
@ -18,15 +18,6 @@ module Stripe
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.create_from_calculation(params = {}, opts = {})
|
|
||||||
request_stripe_object(
|
|
||||||
method: :post,
|
|
||||||
path: "/v1/tax/transactions/create_from_calculation",
|
|
||||||
params: params,
|
|
||||||
opts: opts
|
|
||||||
)
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.create_reversal(params = {}, opts = {})
|
def self.create_reversal(params = {}, opts = {})
|
||||||
request_stripe_object(
|
request_stripe_object(
|
||||||
method: :post,
|
method: :post,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Stripe
|
module Stripe
|
||||||
VERSION = "8.4.0-beta.4"
|
VERSION = "8.4.0-beta.3"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user