recurly 4.55.0 → 4.56.0
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/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +11 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/requests/subscription_create.rb +4 -0
- data/lib/recurly/requests/subscription_purchase.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +17 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 885e9961b071423aee754fd426c09c14a4851482a7b3bf831fc2932fefedc27b
|
4
|
+
data.tar.gz: 81847095f9f134a62a3b8fb416b60ecbdfc4cfbc0ceb12e8f2610445409ed6b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc3e5d23a58ad5cc97319b61cb684ea29f42017f8ba2c687ae8477ffdc7c80516cde907d532c4bf2f3deed8f644dce17119a45fa62e32bb8f2beabf34b3e4352
|
7
|
+
data.tar.gz: bfbab980d669b9ac37718eaa8028b8da1fac07f1ec31625ee80c84dbfc49c9ad6ac4d3b262ef06bd5dedc6dcf066e4dd19f173a1db5e8a75038f5d7b8f67c887
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.56.0](https://github.com/recurly/recurly-client-ruby/tree/4.56.0) (2024-10-30)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.55.0...4.56.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Adds bulk parameter to SubscriptionCreate and SubscriptionPurchase [#915](https://github.com/recurly/recurly-client-ruby/pull/915) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [4.55.0](https://github.com/recurly/recurly-client-ruby/tree/4.55.0) (2024-08-28)
|
4
15
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.54.0...4.55.0)
|
data/GETTING_STARTED.md
CHANGED
@@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
|
|
5
5
|
In your Gemfile, add `recurly` as a dependency.
|
6
6
|
|
7
7
|
```ruby
|
8
|
-
gem 'recurly', '~> 4.
|
8
|
+
gem 'recurly', '~> 4.56'
|
9
9
|
```
|
10
10
|
|
11
11
|
> *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
|
@@ -22,6 +22,10 @@ module Recurly
|
|
22
22
|
# @return [String] The `billing_info_id` is the value that represents a specific billing info for an end customer. When `billing_info_id` is used to assign billing info to the subscription, all future billing events for the subscription will bill to the specified billing info. `billing_info_id` can ONLY be used for sites utilizing the Wallet feature.
|
23
23
|
define_attribute :billing_info_id, String
|
24
24
|
|
25
|
+
# @!attribute bulk
|
26
|
+
# @return [Boolean] Optional field to be used only when needing to bypass the 60 second limit on creating subscriptions. Should only be used when creating subscriptions in bulk from the API.
|
27
|
+
define_attribute :bulk, :Boolean
|
28
|
+
|
25
29
|
# @!attribute collection_method
|
26
30
|
# @return [String] Collection method
|
27
31
|
define_attribute :collection_method, String
|
@@ -14,6 +14,10 @@ module Recurly
|
|
14
14
|
# @return [Boolean] Whether the subscription renews at the end of its term.
|
15
15
|
define_attribute :auto_renew, :Boolean
|
16
16
|
|
17
|
+
# @!attribute bulk
|
18
|
+
# @return [Boolean] Optional field to be used only when needing to bypass the 60 second limit on creating subscriptions. Should only be used when creating subscriptions in bulk from the API.
|
19
|
+
define_attribute :bulk, :Boolean
|
20
|
+
|
17
21
|
# @!attribute custom_fields
|
18
22
|
# @return [Array[CustomField]] The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
|
19
23
|
define_attribute :custom_fields, Array, { :item_type => :CustomField }
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -9915,10 +9915,11 @@ paths:
|
|
9915
9915
|
summary: Refund an invoice
|
9916
9916
|
description: |
|
9917
9917
|
There are two ways to do a refund:
|
9918
|
-
*
|
9919
|
-
|
9920
|
-
|
9921
|
-
|
9918
|
+
* Apply a specific dollar/cent amount or percentage amount to an entire invoice, which will refund the resulting amount across all line items on the invoice.
|
9919
|
+
* If you want to refund the entire refundable amount on the invoice, the simplest way is to do `type=amount` without specifiying an `amount`.
|
9920
|
+
* Note: You must have the Credit Memos feature flag enabled on your site to utilize percentage amount refunds on invoices.
|
9921
|
+
* Apply a refund to one or more individual line items on an invoice. A line item can be refunded by a quantity amount, a specific dollar/cent amount, or a percentage amount and will only apply to the specific line item you are aiming to refund.
|
9922
|
+
* Note: You must have the Credit Memos feature flag enabled on your site to utilize specific dollar/cent amount and percentage amount refunds on line items.
|
9922
9923
|
parameters:
|
9923
9924
|
- "$ref": "#/components/parameters/invoice_id"
|
9924
9925
|
requestBody:
|
@@ -23562,6 +23563,12 @@ components:
|
|
23562
23563
|
title: Gift card Redemption Code
|
23563
23564
|
description: A gift card redemption code to be redeemed on the purchase
|
23564
23565
|
invoice.
|
23566
|
+
bulk:
|
23567
|
+
type: boolean
|
23568
|
+
description: Optional field to be used only when needing to bypass the 60
|
23569
|
+
second limit on creating subscriptions. Should only be used when creating
|
23570
|
+
subscriptions in bulk from the API.
|
23571
|
+
default: false
|
23565
23572
|
required:
|
23566
23573
|
- plan_code
|
23567
23574
|
- currency
|
@@ -23664,6 +23671,12 @@ components:
|
|
23664
23671
|
description: The new set of ramp intervals for the subscription.
|
23665
23672
|
items:
|
23666
23673
|
"$ref": "#/components/schemas/SubscriptionRampInterval"
|
23674
|
+
bulk:
|
23675
|
+
type: boolean
|
23676
|
+
description: Optional field to be used only when needing to bypass the 60
|
23677
|
+
second limit on creating subscriptions. Should only be used when creating
|
23678
|
+
subscriptions in bulk from the API.
|
23679
|
+
default: false
|
23667
23680
|
required:
|
23668
23681
|
- plan_code
|
23669
23682
|
SubscriptionUpdate:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.56.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -355,7 +355,7 @@ metadata:
|
|
355
355
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
356
356
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
357
357
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
358
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
358
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.56.0
|
359
359
|
post_install_message:
|
360
360
|
rdoc_options: []
|
361
361
|
require_paths:
|