mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Compare commits
No commits in common. "82ac9f2720fe8b045701ef5bb0ec6e8de8f0fd5b" and "318e244a763d4e5e98d2f000fa9fd7864573a08e" have entirely different histories.
82ac9f2720
...
318e244a76
@ -1,15 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 7.2.0-beta.3 - 2022-09-26
|
|
||||||
* [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
|
|
||||||
* Updated stable APIs to the latest version
|
|
||||||
* Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
|
|
||||||
|
|
||||||
## 7.2.0-beta.2 - 2022-08-26
|
## 7.2.0-beta.2 - 2022-08-26
|
||||||
* [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
|
* [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
|
||||||
* Updated stable APIs to the latest version
|
* Updated stable APIs to the latest version
|
||||||
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
||||||
|
|
||||||
|
|
||||||
## 7.2.0-beta.1 - 2022-08-23
|
## 7.2.0-beta.1 - 2022-08-23
|
||||||
* [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
* [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
||||||
- Updated stable APIs to the latest version
|
- Updated stable APIs to the latest version
|
||||||
|
@ -1 +1 @@
|
|||||||
v196
|
v185
|
@ -25,9 +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,
|
|
||||||
Card::OBJECT_NAME => Card,
|
Card::OBJECT_NAME => Card,
|
||||||
CashBalance::OBJECT_NAME => CashBalance,
|
CashBalance::OBJECT_NAME => CashBalance,
|
||||||
Charge::OBJECT_NAME => Charge,
|
Charge::OBJECT_NAME => Charge,
|
||||||
|
@ -14,9 +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/card"
|
require "stripe/resources/card"
|
||||||
require "stripe/resources/cash_balance"
|
require "stripe/resources/cash_balance"
|
||||||
require "stripe/resources/charge"
|
require "stripe/resources/charge"
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Stripe
|
module Stripe
|
||||||
# An AccountSession allows a Connect platform to grant access to a connected account in Connect Embedded UIs.
|
# An AccountSession allows a Connect platform to grant access to a connected account in Connect Elements.
|
||||||
#
|
#
|
||||||
# We recommend that you create an AccountSession each time you need to display an embedded UI
|
# We recommend that you create an AccountSession each time you need to display an embedded UI
|
||||||
# to your user. Do not save AccountSessions to your database as they expire relatively
|
# to your user. Do not save AccountSessions to your database as they expire relatively
|
||||||
# quickly, and cannot be used more than once.
|
# quickly, and cannot be used more than once.
|
||||||
#
|
#
|
||||||
# Related guide: [Connect Embedded UIs](https://stripe.com/docs/connect/get-started-connect-elements).
|
# Related guide: [Connect Elements](https://stripe.com/docs/connect/get-started-connect-elements).
|
||||||
class AccountSession < APIResource
|
class AccountSession < APIResource
|
||||||
extend Stripe::APIOperations::Create
|
extend Stripe::APIOperations::Create
|
||||||
|
|
||||||
|
@ -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
|
|
@ -1,13 +0,0 @@
|
|||||||
# File generated from our OpenAPI spec
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
module Stripe
|
|
||||||
module Capital
|
|
||||||
# This is an object representing the details of a transaction on a Capital financing object.
|
|
||||||
class FinancingTransaction < APIResource
|
|
||||||
extend Stripe::APIOperations::List
|
|
||||||
|
|
||||||
OBJECT_NAME = "capital.financing_transaction"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Stripe
|
module Stripe
|
||||||
VERSION = "7.2.0-beta.3"
|
VERSION = "7.2.0-beta.2"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user