stripe 10.1.0.pre.beta.1 → 10.1.0.pre.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/object_types.rb +1 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +2 -2
- data/lib/stripe/resources/margin.rb +14 -0
- data/lib/stripe/resources.rb +1 -0
- data/lib/stripe/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a59a9272d721346ce0981f56d161ae578e115fc877ae16933aef5ef79ffccb4b
|
4
|
+
data.tar.gz: 36deaaee3ff623ae88748944c71ec59b29e6962623da0b86c784081ef0ff4053
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
1
|
+
v627
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
10.1.0-beta.
|
1
|
+
10.1.0-beta.2
|
data/lib/stripe/api_version.rb
CHANGED
data/lib/stripe/object_types.rb
CHANGED
@@ -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
|
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/
|
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
|
data/lib/stripe/resources.rb
CHANGED
@@ -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"
|
data/lib/stripe/version.rb
CHANGED
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.
|
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-
|
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
|