recurly 4.49.0 → 4.50.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/proration_settings.rb +18 -0
- data/lib/recurly/requests/subscription_change_create.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +30 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9deb4deb5ca3391327d77c6a0e01784b582d552822ca1a049549b02ba457d0cc
|
|
4
|
+
data.tar.gz: 68d1bc0fe11b5dadde464dd7b450765751fe528d482394205afaeda885e2e63c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 508098f34e9196704e4a6d511c4e6f7654008fb25b025984582dfc60f707a4dfb8cd8f4b1945d4522b932a6cd919c553443e42a67f3e484e2bfe590e7dff3734
|
|
7
|
+
data.tar.gz: b594596975bb8f5b5e1b5cce5f37ac7c60bc14ed5252379741d5c6bbbe59f0ef8c849a1dd80ae190d0aebf758148e4733f9d87b20e5ed0b4eab8af0d34fb8ee9
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.50.0](https://github.com/recurly/recurly-client-ruby/tree/4.50.0) (2024-05-08)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.49.0...4.50.0)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Merged Pull Requests**
|
|
9
|
+
|
|
10
|
+
- Generated Latest Changes for v2021-02-25 (Proration Settings) [#901](https://github.com/recurly/recurly-client-ruby/pull/901) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
3
14
|
## [4.49.0](https://github.com/recurly/recurly-client-ruby/tree/4.49.0) (2024-05-01)
|
|
4
15
|
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.48.1...4.49.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.50'
|
|
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.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# This file is automatically created by Recurly's OpenAPI generation process
|
|
2
|
+
# and thus any edits you make by hand will be lost. If you wish to make a
|
|
3
|
+
# change to this file, please create a Github issue explaining the changes you
|
|
4
|
+
# need and we will usher them to the appropriate places.
|
|
5
|
+
module Recurly
|
|
6
|
+
module Requests
|
|
7
|
+
class ProrationSettings < Request
|
|
8
|
+
|
|
9
|
+
# @!attribute charge
|
|
10
|
+
# @return [String] Determines how the amount charged is determined for this change
|
|
11
|
+
define_attribute :charge, String
|
|
12
|
+
|
|
13
|
+
# @!attribute credit
|
|
14
|
+
# @return [String] Determines how the amount credited is determined for this change
|
|
15
|
+
define_attribute :credit, String
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -46,6 +46,10 @@ module Recurly
|
|
|
46
46
|
# @return [String] For manual invoicing, this identifies the PO number associated with the subscription.
|
|
47
47
|
define_attribute :po_number, String
|
|
48
48
|
|
|
49
|
+
# @!attribute proration_settings
|
|
50
|
+
# @return [ProrationSettings] Allows you to control how any resulting charges and credits will be calculated and prorated.
|
|
51
|
+
define_attribute :proration_settings, :ProrationSettings
|
|
52
|
+
|
|
49
53
|
# @!attribute quantity
|
|
50
54
|
# @return [Integer] Optionally override the default quantity of 1.
|
|
51
55
|
define_attribute :quantity, Integer
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
|
@@ -21253,6 +21253,34 @@ components:
|
|
|
21253
21253
|
description: |
|
|
21254
21254
|
The percentage taken of the monetary amount of usage tracked.
|
|
21255
21255
|
This can be up to 4 decimal places represented as a string.
|
|
21256
|
+
ProrationSettings:
|
|
21257
|
+
type: object
|
|
21258
|
+
title: Proration Settings
|
|
21259
|
+
description: Allows you to control how any resulting charges and credits will
|
|
21260
|
+
be calculated and prorated.
|
|
21261
|
+
properties:
|
|
21262
|
+
charge:
|
|
21263
|
+
"$ref": "#/components/schemas/ProrationSettingsChargeEnum"
|
|
21264
|
+
credit:
|
|
21265
|
+
"$ref": "#/components/schemas/ProrationSettingsCreditEnum"
|
|
21266
|
+
ProrationSettingsChargeEnum:
|
|
21267
|
+
type: string
|
|
21268
|
+
title: Charge
|
|
21269
|
+
description: Determines how the amount charged is determined for this change
|
|
21270
|
+
default: prorated_amount
|
|
21271
|
+
enum:
|
|
21272
|
+
- full_amount
|
|
21273
|
+
- prorated_amount
|
|
21274
|
+
- none
|
|
21275
|
+
ProrationSettingsCreditEnum:
|
|
21276
|
+
type: string
|
|
21277
|
+
title: Credit
|
|
21278
|
+
description: Determines how the amount credited is determined for this change
|
|
21279
|
+
default: prorated_amount
|
|
21280
|
+
enum:
|
|
21281
|
+
- full_amount
|
|
21282
|
+
- prorated_amount
|
|
21283
|
+
- none
|
|
21256
21284
|
Settings:
|
|
21257
21285
|
type: object
|
|
21258
21286
|
properties:
|
|
@@ -22476,6 +22504,8 @@ components:
|
|
|
22476
22504
|
description: The new set of ramp intervals for the subscription.
|
|
22477
22505
|
items:
|
|
22478
22506
|
"$ref": "#/components/schemas/SubscriptionRampInterval"
|
|
22507
|
+
proration_settings:
|
|
22508
|
+
"$ref": "#/components/schemas/ProrationSettings"
|
|
22479
22509
|
SubscriptionChangeShippingCreate:
|
|
22480
22510
|
type: object
|
|
22481
22511
|
title: Shipping details that will be changed on a subscription
|
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.50.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-05-
|
|
11
|
+
date: 2024-05-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -201,6 +201,7 @@ files:
|
|
|
201
201
|
- lib/recurly/requests/plan_ramp_pricing.rb
|
|
202
202
|
- lib/recurly/requests/plan_update.rb
|
|
203
203
|
- lib/recurly/requests/pricing.rb
|
|
204
|
+
- lib/recurly/requests/proration_settings.rb
|
|
204
205
|
- lib/recurly/requests/purchase_create.rb
|
|
205
206
|
- lib/recurly/requests/shipping_address_create.rb
|
|
206
207
|
- lib/recurly/requests/shipping_address_update.rb
|
|
@@ -350,7 +351,7 @@ metadata:
|
|
|
350
351
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
|
351
352
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
|
352
353
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
|
353
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
|
354
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.50.0
|
|
354
355
|
post_install_message:
|
|
355
356
|
rdoc_options: []
|
|
356
357
|
require_paths:
|