mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-07-18 00:00:44 -04:00
Compare commits
5 Commits
f8a9a287ab
...
1be10ae4fc
Author | SHA1 | Date | |
---|---|---|---|
|
1be10ae4fc | ||
|
167daeaf62 | ||
|
080fddce5a | ||
|
466824d0af | ||
|
945e691968 |
27
CHANGELOG.md
27
CHANGELOG.md
@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# 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
|
## 8.4.0-beta.1 - 2023-02-23
|
||||||
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
||||||
* Updated stable APIs to the latest version
|
* Updated stable APIs to the latest version
|
||||||
@ -21,18 +28,18 @@
|
|||||||
|
|
||||||
## 8.2.0-beta.3 - 2023-01-26
|
## 8.2.0-beta.3 - 2023-01-26
|
||||||
* [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
* [#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`
|
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
||||||
|
|
||||||
## 8.2.0-beta.2 - 2023-01-19
|
## 8.2.0-beta.2 - 2023-01-19
|
||||||
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
* [#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.
|
* Add support for `Tax.Settings` resource.
|
||||||
|
|
||||||
## 8.2.0-beta.1 - 2023-01-12
|
## 8.2.0-beta.1 - 2023-01-12
|
||||||
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
||||||
* Updated stable APIs to the latest version
|
* 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`
|
* 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
|
* Add support for `Tax::Register` resource
|
||||||
|
|
||||||
## 8.1.0 - 2023-01-12
|
## 8.1.0 - 2023-01-12
|
||||||
@ -40,7 +47,7 @@
|
|||||||
|
|
||||||
## 8.1.0-beta.4 - 2023-01-05
|
## 8.1.0-beta.4 - 2023-01-05
|
||||||
* [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
* [#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`
|
* Add support for `mark_stale_quote` method on resource `Quote`
|
||||||
|
|
||||||
## 8.1.0-beta.3 - 2022-12-22
|
## 8.1.0-beta.3 - 2022-12-22
|
||||||
@ -50,12 +57,12 @@
|
|||||||
|
|
||||||
## 8.1.0-beta.2 - 2022-12-15
|
## 8.1.0-beta.2 - 2022-12-15
|
||||||
* [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
* [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
||||||
* Updated stable APIs to the latest version
|
* Updated stable APIs to the latest version
|
||||||
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
||||||
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
||||||
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
* 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
|
* [#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`.
|
* Add support for new resource `QuoteLine`.
|
||||||
|
|
||||||
## 8.1.0-beta.1 - 2022-12-08
|
## 8.1.0-beta.1 - 2022-12-08
|
||||||
@ -73,7 +80,7 @@ Breaking changes that arose during code generation of the library that we postpo
|
|||||||
|
|
||||||
## 7.2.0-beta.5 - 2022-11-02
|
## 7.2.0-beta.5 - 2022-11-02
|
||||||
* [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
|
* [#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
|
* [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
|
||||||
* Updated stable APIs to the latest version
|
* Updated stable APIs to the latest version
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
v232
|
v237
|
@ -64,6 +64,8 @@ module Stripe
|
|||||||
InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
|
InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
|
||||||
Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
|
Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
|
||||||
Issuing::Card::OBJECT_NAME => Issuing::Card,
|
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::Cardholder::OBJECT_NAME => Issuing::Cardholder,
|
||||||
Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
|
Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
|
||||||
Issuing::Transaction::OBJECT_NAME => Issuing::Transaction,
|
Issuing::Transaction::OBJECT_NAME => Issuing::Transaction,
|
||||||
|
@ -51,6 +51,8 @@ require "stripe/resources/invoice_item"
|
|||||||
require "stripe/resources/invoice_line_item"
|
require "stripe/resources/invoice_line_item"
|
||||||
require "stripe/resources/issuing/authorization"
|
require "stripe/resources/issuing/authorization"
|
||||||
require "stripe/resources/issuing/card"
|
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/cardholder"
|
||||||
require "stripe/resources/issuing/dispute"
|
require "stripe/resources/issuing/dispute"
|
||||||
require "stripe/resources/issuing/transaction"
|
require "stripe/resources/issuing/transaction"
|
||||||
|
13
lib/stripe/resources/issuing/card_bundle.rb
Normal file
13
lib/stripe/resources/issuing/card_bundle.rb
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# 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
|
58
lib/stripe/resources/issuing/card_design.rb
Normal file
58
lib/stripe/resources/issuing/card_design.rb
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
# 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
|
@ -1,5 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Stripe
|
module Stripe
|
||||||
VERSION = "8.4.0-beta.1"
|
VERSION = "8.4.0-beta.2"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user