recurly 4.79.0 → 4.80.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0fb876c8cbd40a156f4310de6b1d487b25fa6ed4c62a2c9fa1d9ca840778a53
4
- data.tar.gz: eba465034a710896c9d5bd07e700179daec60d27777a8b598663205ac3b09180
3
+ metadata.gz: a0e6c839c677863f0df569868d3aea1a97574cc249b3f0dfdfb6f71f4029b592
4
+ data.tar.gz: f766e6760fb8c96a976b89d3c4a6e62536a0eae21fa3b36996da0400f9a700f9
5
5
  SHA512:
6
- metadata.gz: ef08fd4dbfc0db459a37b39cb4bfe1c6f4d7809790bd691898a8dbf7a626514635b08d46bbe6e856e344c418e1f553a03c41073be32ca5ba658b4e67d05adee5
7
- data.tar.gz: f943115c6c99058415884189dc3e7ea452ad8c51dc21d9b5bb88327f5587c4f188dc8a2d74393281b7ee5b9e2b00368f41f5332d8eb07018fe6c45cba996b538
6
+ metadata.gz: 8edd7d42e45fd761b8620c37a32dec83c8a90b3cf14cabd2b6dc6b5f45dc436f002da5967cf4ea4ce6299275aec863a5e0c0ae691b82bd933cecae9cc53cb1ee
7
+ data.tar.gz: 9acd5bcd20f19574e54bb8484954cf0d1d420d67197209b823d918aa6ba1b2a7962b1dd2ded9e45ef88ba37574bc9315dc4bec1afe8ad13b69ff5726d1ac2111
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.79.0
2
+ current_version = 4.80.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.80.0](https://github.com/recurly/recurly-client-ruby/tree/4.80.0) (2026-07-02)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.79.0...4.80.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2021-02-25 [#961](https://github.com/recurly/recurly-client-ruby/pull/961) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
3
14
  ## [4.79.0](https://github.com/recurly/recurly-client-ruby/tree/4.79.0) (2026-06-18)
4
15
 
5
16
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.78.0...4.79.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.79'
8
+ gem 'recurly', '~> 4.80'
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.
@@ -19,7 +19,7 @@ module Recurly
19
19
  define_attribute :unit_amount, Float
20
20
 
21
21
  # @!attribute unit_amount_decimal
22
- # @return [String] Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
22
+ # @return [String] Allows up to 9 decimal places. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
23
23
  define_attribute :unit_amount_decimal, String
24
24
  end
25
25
  end
@@ -26,6 +26,10 @@ module Recurly
26
26
  # @return [String] Only supported on Amazon V1. For Amazon V2, use token_id with Recurly.js.
27
27
  define_attribute :amazon_billing_agreement_id, String
28
28
 
29
+ # @!attribute authentication_method
30
+ # @return [String] UPI Autopay authentication method. Specifies how the customer authorizes the enrollment mandate. Defaults to 'vpa' if omitted.
31
+ define_attribute :authentication_method, String
32
+
29
33
  # @!attribute backup_payment_method
30
34
  # @return [Boolean] The `backup_payment_method` field is used to designate a billing info as a backup on the account that will be tried if the initial billing info used for an invoice is declined. All payment methods, including the billing info marked `primary_payment_method` can be set as a backup. An account can have a maximum of 1 backup, if a user sets a different payment method as a backup, the existing backup will no longer be marked as such.
31
35
  define_attribute :backup_payment_method, :Boolean
@@ -151,7 +155,7 @@ module Recurly
151
155
  define_attribute :transaction_type, String
152
156
 
153
157
  # @!attribute type
154
- # @return [String] The payment method type for a non-credit card based billing info. `bacs`, `becs`, `pix-automatico`, `mercadopago` are the only accepted values.
158
+ # @return [String] The payment method type for a non-credit card based billing info. `bacs`, `becs`, `pix-automatico`, `mercadopago`, `upi-autopay` are the only accepted values.
155
159
  define_attribute :type, String
156
160
 
157
161
  # @!attribute vat_number
@@ -35,7 +35,7 @@ module Recurly
35
35
  define_attribute :unit_amount, Float
36
36
 
37
37
  # @!attribute unit_amount_decimal
38
- # @return [String] Allows up to 9 decimal places. Optionally, override the add-on's default unit amount. If the plan add-on's `tier_type` is `tiered`, `volume`, or `stairstep`, then `unit_amount_decimal` cannot be provided. Only supported when the plan add-on's `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
38
+ # @return [String] Allows up to 9 decimal places. Optionally, override the add-on's default unit amount. If the plan add-on's `tier_type` is `tiered`, `volume`, or `stairstep`, then `unit_amount_decimal` cannot be provided. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
39
39
  define_attribute :unit_amount_decimal, String
40
40
 
41
41
  # @!attribute usage_percentage
@@ -39,7 +39,7 @@ module Recurly
39
39
  define_attribute :unit_amount, Float
40
40
 
41
41
  # @!attribute unit_amount_decimal
42
- # @return [String] Allows up to 9 decimal places. Optionally, override the add-on's default unit amount. If the plan add-on's `tier_type` is `tiered`, `volume`, or `stairstep`, then `unit_amount_decimal` cannot be provided. Only supported when the plan add-on's `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
42
+ # @return [String] Allows up to 9 decimal places. Optionally, override the add-on's default unit amount. If the plan add-on's `tier_type` is `tiered`, `volume`, or `stairstep`, then `unit_amount_decimal` cannot be provided. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
43
43
  define_attribute :unit_amount_decimal, String
44
44
 
45
45
  # @!attribute usage_percentage
@@ -15,7 +15,7 @@ module Recurly
15
15
  define_attribute :unit_amount, Float
16
16
 
17
17
  # @!attribute unit_amount_decimal
18
- # @return [String] Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
18
+ # @return [String] Allows up to 9 decimal places. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
19
19
  define_attribute :unit_amount_decimal, String
20
20
  end
21
21
  end
@@ -19,7 +19,7 @@ module Recurly
19
19
  define_attribute :unit_amount, Float
20
20
 
21
21
  # @!attribute unit_amount_decimal
22
- # @return [String] Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
22
+ # @return [String] Allows up to 9 decimal places. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
23
23
  define_attribute :unit_amount_decimal, String
24
24
  end
25
25
  end
@@ -10,8 +10,12 @@ module Recurly
10
10
  # @return [DateTime] Present when `type` is `temporal`. The datetime after which this redemption will no longer apply.
11
11
  define_attribute :expires_at, DateTime
12
12
 
13
+ # @!attribute redemptions_remaining
14
+ # @return [Integer] The number of redemption periods remaining for which this coupon will still apply.
15
+ define_attribute :redemptions_remaining, Integer
16
+
13
17
  # @!attribute type
14
- # @return [String] The coupon's duration type. `temporal` includes an `expires_at` timestamp. `forever` and `single_use` have no additional fields.
18
+ # @return [String] The coupon's duration type. `temporal` includes an `expires_at` timestamp. `billing_periods` includes a `redemptions_remaining` count of billing cycles. `forever` and `single_use` have no additional fields.
15
19
  define_attribute :type, String
16
20
  end
17
21
  end
@@ -15,7 +15,7 @@ module Recurly
15
15
  define_attribute :unit_amount, Float
16
16
 
17
17
  # @!attribute unit_amount_decimal
18
- # @return [String] Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
18
+ # @return [String] Allows up to 9 decimal places. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
19
19
  define_attribute :unit_amount_decimal, String
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.79.0"
2
+ VERSION = "4.80.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -19850,6 +19850,8 @@ components:
19850
19850
  description: Specifies a URL to which a consumer will be redirected upon
19851
19851
  completion of a redirect payment flow. Only redirect payment flows operating
19852
19852
  through Adyen Components will utilize this return URL.
19853
+ authentication_method:
19854
+ "$ref": "#/components/schemas/UpiAutopayAuthenticationMethodEnum"
19853
19855
  BillingInfoVerify:
19854
19856
  type: object
19855
19857
  properties:
@@ -20394,7 +20396,8 @@ components:
20394
20396
  type: string
20395
20397
  title: Duration Type
20396
20398
  description: The coupon's duration type. `temporal` includes an `expires_at`
20397
- timestamp. `forever` and `single_use` have no additional fields.
20399
+ timestamp. `billing_periods` includes a `redemptions_remaining` count
20400
+ of billing cycles. `forever` and `single_use` have no additional fields.
20398
20401
  "$ref": "#/components/schemas/CouponDurationEnum"
20399
20402
  readOnly: true
20400
20403
  expires_at:
@@ -20404,6 +20407,12 @@ components:
20404
20407
  description: Present when `type` is `temporal`. The datetime after which
20405
20408
  this redemption will no longer apply.
20406
20409
  readOnly: true
20410
+ redemptions_remaining:
20411
+ type: integer
20412
+ title: Redemptions Remaining
20413
+ description: The number of redemption periods remaining for which this coupon
20414
+ will still apply.
20415
+ readOnly: true
20407
20416
  CouponRedemptionCreate:
20408
20417
  type: object
20409
20418
  properties:
@@ -22880,7 +22889,7 @@ components:
22880
22889
  minimum: 0
22881
22890
  maximum: 1000000
22882
22891
  description: |
22883
- Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`.
22892
+ Allows up to 9 decimal places.
22884
22893
  If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
22885
22894
  tax_inclusive:
22886
22895
  type: boolean
@@ -22912,7 +22921,7 @@ components:
22912
22921
  minimum: 0
22913
22922
  maximum: 1000000
22914
22923
  description: |
22915
- Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`.
22924
+ Allows up to 9 decimal places.
22916
22925
  If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
22917
22926
  required:
22918
22927
  - currency
@@ -24004,7 +24013,6 @@ components:
24004
24013
  description: |
24005
24014
  Allows up to 9 decimal places. Optionally, override the add-on's default unit amount.
24006
24015
  If the plan add-on's `tier_type` is `tiered`, `volume`, or `stairstep`, then `unit_amount_decimal` cannot be provided.
24007
- Only supported when the plan add-on's `add_on_type` = `usage`.
24008
24016
  If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
24009
24017
  minimum: 0
24010
24018
  maximum: 1000000
@@ -24088,7 +24096,6 @@ components:
24088
24096
  description: |
24089
24097
  Allows up to 9 decimal places. Optionally, override the add-on's default unit amount.
24090
24098
  If the plan add-on's `tier_type` is `tiered`, `volume`, or `stairstep`, then `unit_amount_decimal` cannot be provided.
24091
- Only supported when the plan add-on's `add_on_type` = `usage`.
24092
24099
  If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
24093
24100
  tiers:
24094
24101
  type: array
@@ -27608,6 +27615,7 @@ components:
27608
27615
  - forever
27609
27616
  - single_use
27610
27617
  - temporal
27618
+ - billing_periods
27611
27619
  TemporalUnitEnum:
27612
27620
  type: string
27613
27621
  description: The temporal unit for the coupon's duration. Used with temporal_amount
@@ -28437,12 +28445,23 @@ components:
28437
28445
  AchTypeEnum:
28438
28446
  type: string
28439
28447
  description: The payment method type for a non-credit card based billing info.
28440
- `bacs`, `becs`, `pix-automatico`, `mercadopago` are the only accepted values.
28448
+ `bacs`, `becs`, `pix-automatico`, `mercadopago`, `upi-autopay` are the only
28449
+ accepted values.
28441
28450
  enum:
28442
28451
  - bacs
28443
28452
  - becs
28444
28453
  - pix-automatico
28445
28454
  - mercadopago
28455
+ - upi-autopay
28456
+ UpiAutopayAuthenticationMethodEnum:
28457
+ type: string
28458
+ title: Authentication Method
28459
+ description: UPI Autopay authentication method. Specifies how the customer authorizes
28460
+ the enrollment mandate. Defaults to 'vpa' if omitted.
28461
+ enum:
28462
+ - vpa
28463
+ - qr-code
28464
+ - app-deep-links
28446
28465
  AchAccountTypeEnum:
28447
28466
  type: string
28448
28467
  description: The bank account type. (ACH only)
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.79.0
4
+ version: 4.80.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-18 00:00:00.000000000 Z
11
+ date: 2026-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -398,7 +398,7 @@ metadata:
398
398
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
399
399
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
400
400
  homepage_uri: https://github.com/recurly/recurly-client-ruby
401
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.79.0
401
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.80.0
402
402
  post_install_message:
403
403
  rdoc_options: []
404
404
  require_paths: