Compare commits

..

No commits in common. "1be10ae4fcdc76c04e0dda13f6bbbf5304e380c1" and "f8a9a287abf38bf56fdfda6a6f29dfa622e4b4e4" have entirely different histories.

8 changed files with 13 additions and 95 deletions

View File

@ -1,12 +1,5 @@
# Changelog
## 8.4.0-beta.2 - 2023-03-03
* [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
* Updated stable APIs to the latest version
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
* Add support for `list` and `retrieve` methods on resource `CardBundle`
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
## 8.4.0-beta.1 - 2023-02-23
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
* Updated stable APIs to the latest version
@ -28,18 +21,18 @@
## 8.2.0-beta.3 - 2023-01-26
* [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
* Updated stable APIs to the latest version
* Updated stable APIs to the latest version
* Add support for `list_transactions` method on resource `Tax.Transaction`
## 8.2.0-beta.2 - 2023-01-19
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
* Updated stable APIs to the latest version
* Updated stable APIs to the latest version
* Add support for `Tax.Settings` resource.
## 8.2.0-beta.1 - 2023-01-12
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
* Updated stable APIs to the latest version
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
* Updated stable APIs to the latest version
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
* Add support for `Tax::Register` resource
## 8.1.0 - 2023-01-12
@ -47,7 +40,7 @@
## 8.1.0-beta.4 - 2023-01-05
* [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
* Updated stable APIs to the latest version
* Updated stable APIs to the latest version
* Add support for `mark_stale_quote` method on resource `Quote`
## 8.1.0-beta.3 - 2022-12-22
@ -57,12 +50,12 @@
## 8.1.0-beta.2 - 2022-12-15
* [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
* Updated stable APIs to the latest version
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
* Updated stable APIs to the latest version
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
* [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
* Updated stable APIs to the latest version
* Updated stable APIs to the latest version
* Add support for new resource `QuoteLine`.
## 8.1.0-beta.1 - 2022-12-08
@ -80,7 +73,7 @@ Breaking changes that arose during code generation of the library that we postpo
## 7.2.0-beta.5 - 2022-11-02
* [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
* Updated beta APIs to the latest stable version
* Updated beta APIs to the latest stable version
* [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
* Updated stable APIs to the latest version

View File

@ -1 +1 @@
v237
v232

View File

@ -1 +1 @@
8.4.0-beta.2
8.4.0-beta.1

View File

@ -64,8 +64,6 @@ module Stripe
InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
Issuing::Card::OBJECT_NAME => Issuing::Card,
Issuing::CardBundle::OBJECT_NAME => Issuing::CardBundle,
Issuing::CardDesign::OBJECT_NAME => Issuing::CardDesign,
Issuing::Cardholder::OBJECT_NAME => Issuing::Cardholder,
Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
Issuing::Transaction::OBJECT_NAME => Issuing::Transaction,

View File

@ -51,8 +51,6 @@ require "stripe/resources/invoice_item"
require "stripe/resources/invoice_line_item"
require "stripe/resources/issuing/authorization"
require "stripe/resources/issuing/card"
require "stripe/resources/issuing/card_bundle"
require "stripe/resources/issuing/card_design"
require "stripe/resources/issuing/cardholder"
require "stripe/resources/issuing/dispute"
require "stripe/resources/issuing/transaction"

View File

@ -1,13 +0,0 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
module Issuing
# A Card Bundle represents the bundle of physical items - card stock, carrier letter, and envelope - that is shipped to a cardholder when you create a physical card.
class CardBundle < APIResource
extend Stripe::APIOperations::List
OBJECT_NAME = "issuing.card_bundle"
end
end
end

View File

@ -1,58 +0,0 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
module Issuing
# A Card Design is a logical grouping of a Card Bundle, card logo, and carrier text that represents a product line.
class CardDesign < APIResource
extend Stripe::APIOperations::List
include Stripe::APIOperations::Save
OBJECT_NAME = "issuing.card_design"
def test_helpers
TestHelpers.new(self)
end
class TestHelpers < APIResourceTestHelpers
RESOURCE_CLASS = CardDesign
def self.activate_testmode(card_design, params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/test_helpers/issuing/card_designs/%<card_design>s/status/activate", { card_design: CGI.escape(card_design) }),
params: params,
opts: opts
)
end
def self.deactivate_testmode(card_design, params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/test_helpers/issuing/card_designs/%<card_design>s/status/deactivate", { card_design: CGI.escape(card_design) }),
params: params,
opts: opts
)
end
def activate_testmode(params = {}, opts = {})
@resource.request_stripe_object(
method: :post,
path: format("/v1/test_helpers/issuing/card_designs/%<card_design>s/status/activate", { card_design: CGI.escape(@resource["id"]) }),
params: params,
opts: opts
)
end
def deactivate_testmode(params = {}, opts = {})
@resource.request_stripe_object(
method: :post,
path: format("/v1/test_helpers/issuing/card_designs/%<card_design>s/status/deactivate", { card_design: CGI.escape(@resource["id"]) }),
params: params,
opts: opts
)
end
end
end
end
end

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Stripe
VERSION = "8.4.0-beta.2"
VERSION = "8.4.0-beta.1"
end