stripe 10.1.0.pre.beta.1 → 10.1.0.pre.beta.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 959669bf82947e40816ff8b17297fb3ceb6f94ba6c08b7793a148e47d2ffb24d
4
- data.tar.gz: 19121759e8cc80a16a69fcaac2ced159a04790abe6fbe290697fdfc849d96f71
3
+ metadata.gz: a59a9272d721346ce0981f56d161ae578e115fc877ae16933aef5ef79ffccb4b
4
+ data.tar.gz: 36deaaee3ff623ae88748944c71ec59b29e6962623da0b86c784081ef0ff4053
5
5
  SHA512:
6
- metadata.gz: 3c5a53ad6153bf31d53c0c339886bf553bb44277f68cff7d11b60ac6a9f4fa8d5bd8099f90c9dea719b23724264921c7356a32d6c30df278310278d3e9dc5499
7
- data.tar.gz: ddc62d3a05e152a6247cb1921105e5dd560689994fe80b651000261ce0b5b95cb93f45fb89c4427e4e9e926f85d159bb0d06a72021300591609a0311af6afed9
6
+ metadata.gz: 83fcb4fe1b20b6dce2a8b547cc065eda4dbaf315fa669ef9367e5b5ab319f48809a2fb1385d2d244c004e5cf1af019c00fbb2c2bf024fadab9194022aab92bea
7
+ data.tar.gz: 8259b4b7e5241732f8a1629c607a1f6ac47b3fddce59446500739e620947b0b47cc43e1e1c341a31eb9ff8b11c267188f0fea90c0d840c6a2209bfcd48c32ac3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 10.1.0-beta.2 - 2023-10-26
4
+ * [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
5
+ * Add support for new resource `Margin`
6
+ * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
7
+
3
8
  ## 10.1.0-beta.1 - 2023-10-17
4
9
  * [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
5
10
  - Update pinned API version to `2023-10-16`
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v603
1
+ v627
data/VERSION CHANGED
@@ -1 +1 @@
1
- 10.1.0-beta.1
1
+ 10.1.0-beta.2
@@ -4,6 +4,6 @@
4
4
  module Stripe
5
5
  module ApiVersion
6
6
  CURRENT = "2023-10-16"
7
- PREVIEW = "2023-09-15.preview-v2"
7
+ PREVIEW = "2023-10-26.preview-v2"
8
8
  end
9
9
  end
@@ -78,6 +78,7 @@ module Stripe
78
78
  LineItem::OBJECT_NAME => LineItem,
79
79
  LoginLink::OBJECT_NAME => LoginLink,
80
80
  Mandate::OBJECT_NAME => Mandate,
81
+ Margin::OBJECT_NAME => Margin,
81
82
  Order::OBJECT_NAME => Order,
82
83
  PaymentIntent::OBJECT_NAME => PaymentIntent,
83
84
  PaymentLink::OBJECT_NAME => PaymentLink,
@@ -3,9 +3,9 @@
3
3
 
4
4
  module Stripe
5
5
  module Issuing
6
- # Every time an applicant submits an application for a Charge Card product your Platform offers, or every time your Platform takes a proactive credit decision on an existing account, you must record the decision by creating a new CreditUnderwritingRecord object on a Connected account.
6
+ # Every time an applicant submits an application for a Charge Card product your platform offers, or every time your platform takes a proactive credit decision on an existing account, you must record the decision by creating a new `CreditUnderwritingRecord` object on a connected account.
7
7
  #
8
- # [Follow the guide](https://stripe.com/docs/issuing/coming_soon) to learn about your requirements as a Platform.
8
+ # [Follow the guide](https://stripe.com/docs/issuing/credit/report-credit-decisions-and-manage-aans) to learn about your requirements as a platform.
9
9
  class CreditUnderwritingRecord < APIResource
10
10
  extend Stripe::APIOperations::List
11
11
 
@@ -0,0 +1,14 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ # A (partner) margin represents a specific discount distributed in partner reseller programs to business partners who
6
+ # resell products and services and earn a discount (margin) for doing so.
7
+ class Margin < APIResource
8
+ extend Stripe::APIOperations::Create
9
+ extend Stripe::APIOperations::List
10
+ include Stripe::APIOperations::Save
11
+
12
+ OBJECT_NAME = "margin"
13
+ end
14
+ end
@@ -64,6 +64,7 @@ require "stripe/resources/issuing/transaction"
64
64
  require "stripe/resources/line_item"
65
65
  require "stripe/resources/login_link"
66
66
  require "stripe/resources/mandate"
67
+ require "stripe/resources/margin"
67
68
  require "stripe/resources/order"
68
69
  require "stripe/resources/payment_intent"
69
70
  require "stripe/resources/payment_link"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "10.1.0-beta.1"
4
+ VERSION = "10.1.0-beta.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.1.0.pre.beta.1
4
+ version: 10.1.0.pre.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-17 00:00:00.000000000 Z
11
+ date: 2023-10-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Stripe is the easiest way to accept payments online. See https://stripe.com
14
14
  for details.
@@ -116,6 +116,7 @@ files:
116
116
  - lib/stripe/resources/line_item.rb
117
117
  - lib/stripe/resources/login_link.rb
118
118
  - lib/stripe/resources/mandate.rb
119
+ - lib/stripe/resources/margin.rb
119
120
  - lib/stripe/resources/order.rb
120
121
  - lib/stripe/resources/payment_intent.rb
121
122
  - lib/stripe/resources/payment_link.rb