recurly 4.47.0 → 4.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +11 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/requests/billing_info_create.rb +4 -0
- data/lib/recurly/resources/external_subscription.rb +4 -0
- data/lib/recurly/resources/payment_method.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +22 -2
- 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: 141fc1a54c4099a33a67b75725424617633cc85571a1019fcd27ca02b626b3fb
|
4
|
+
data.tar.gz: 58b6fe9e205defb227d8d9eba85dcceb88f85833bccff8de5f981dd5905ed641
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6721ecabb597255a0b34359cae4cc7e2a9985ea64ceece16b36f3619b9a5e9d4a68608c577aa9e7acd7dec8d5ab7caedcd6b894819f0982824040204a83319e2
|
7
|
+
data.tar.gz: '09a9bdb67eeabad3c7ebd3f2bf26c35c856bef1ad1db9be595301e96ffe7a1cb2479f71d317c204d99178996ce74bd0382997d9b45ae580422609427347a480d'
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.48.0](https://github.com/recurly/recurly-client-ruby/tree/4.48.0) (2024-03-19)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.47.0...4.48.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 [#894](https://github.com/recurly/recurly-client-ruby/pull/894) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [4.47.0](https://github.com/recurly/recurly-client-ruby/tree/4.47.0) (2024-02-20)
|
4
15
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.46.0...4.47.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.48'
|
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.
|
@@ -26,6 +26,10 @@ module Recurly
|
|
26
26
|
# @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.
|
27
27
|
define_attribute :backup_payment_method, :Boolean
|
28
28
|
|
29
|
+
# @!attribute card_network_preference
|
30
|
+
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
|
31
|
+
define_attribute :card_network_preference, String
|
32
|
+
|
29
33
|
# @!attribute card_type
|
30
34
|
# @return [String]
|
31
35
|
define_attribute :card_type, String
|
@@ -66,6 +66,10 @@ module Recurly
|
|
66
66
|
# @return [String] External subscriptions can be active, canceled, expired, or past_due.
|
67
67
|
define_attribute :state, String
|
68
68
|
|
69
|
+
# @!attribute test
|
70
|
+
# @return [Boolean] An indication of whether or not the external subscription was purchased in a sandbox environment.
|
71
|
+
define_attribute :test, :Boolean
|
72
|
+
|
69
73
|
# @!attribute trial_ends_at
|
70
74
|
# @return [DateTime] When the external subscription trial period ends in the external platform.
|
71
75
|
define_attribute :trial_ends_at, DateTime
|
@@ -14,6 +14,10 @@ module Recurly
|
|
14
14
|
# @return [String] Billing Agreement identifier. Only present for Amazon or Paypal payment methods.
|
15
15
|
define_attribute :billing_agreement_id, String
|
16
16
|
|
17
|
+
# @!attribute card_network_preference
|
18
|
+
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
|
19
|
+
define_attribute :card_network_preference, String
|
20
|
+
|
17
21
|
# @!attribute card_type
|
18
22
|
# @return [String] Visa, MasterCard, American Express, Discover, JCB, etc.
|
19
23
|
define_attribute :card_type, String
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -8617,8 +8617,6 @@ paths:
|
|
8617
8617
|
summary: Apply available credit to a pending or past due charge invoice
|
8618
8618
|
description: Apply credit payment to the outstanding balance on an existing
|
8619
8619
|
charge invoice from an account’s available balance from existing credit invoices.
|
8620
|
-
Credit that was refunded from the invoice cannot be applied back to the invoice
|
8621
|
-
as payment.
|
8622
8620
|
parameters:
|
8623
8621
|
- "$ref": "#/components/parameters/site_id"
|
8624
8622
|
- "$ref": "#/components/parameters/invoice_id"
|
@@ -18389,6 +18387,10 @@ components:
|
|
18389
18387
|
deprecated: true
|
18390
18388
|
card_type:
|
18391
18389
|
"$ref": "#/components/schemas/CardTypeEnum"
|
18390
|
+
card_network_preference:
|
18391
|
+
description: Represents the card network preference associated with the
|
18392
|
+
billing info for dual badged cards. Must be a supported card network.
|
18393
|
+
"$ref": "#/components/schemas/CardNetworkEnum"
|
18392
18394
|
BillingInfoVerify:
|
18393
18395
|
type: object
|
18394
18396
|
properties:
|
@@ -24173,6 +24175,12 @@ components:
|
|
24173
24175
|
title: Trial ends at
|
24174
24176
|
description: When the external subscription trial period ends in the external
|
24175
24177
|
platform.
|
24178
|
+
test:
|
24179
|
+
type: boolean
|
24180
|
+
title: Test
|
24181
|
+
description: An indication of whether or not the external subscription was
|
24182
|
+
purchased in a sandbox environment.
|
24183
|
+
default: false
|
24176
24184
|
created_at:
|
24177
24185
|
type: string
|
24178
24186
|
format: date-time
|
@@ -24427,6 +24435,10 @@ components:
|
|
24427
24435
|
Reference value used when the external token was created. For Braintree
|
24428
24436
|
the PayPal PayerID is populated in the response.
|
24429
24437
|
maxLength: 264
|
24438
|
+
card_network_preference:
|
24439
|
+
description: Represents the card network preference associated with the
|
24440
|
+
billing info for dual badged cards. Must be a supported card network.
|
24441
|
+
"$ref": "#/components/schemas/CardNetworkEnum"
|
24430
24442
|
billing_agreement_id:
|
24431
24443
|
type: string
|
24432
24444
|
description: Billing Agreement identifier. Only present for Amazon or Paypal
|
@@ -25469,6 +25481,14 @@ components:
|
|
25469
25481
|
- Unknown
|
25470
25482
|
- Visa
|
25471
25483
|
- Tarjeta Naranja
|
25484
|
+
CardNetworkEnum:
|
25485
|
+
type: string
|
25486
|
+
enum:
|
25487
|
+
- Bancontact
|
25488
|
+
- CartesBancaires
|
25489
|
+
- Dankort
|
25490
|
+
- MasterCard
|
25491
|
+
- Visa
|
25472
25492
|
AccountTypeEnum:
|
25473
25493
|
type: string
|
25474
25494
|
enum:
|
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.48.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-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -350,7 +350,7 @@ metadata:
|
|
350
350
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
351
351
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
352
352
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
353
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
353
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.48.0
|
354
354
|
post_install_message:
|
355
355
|
rdoc_options: []
|
356
356
|
require_paths:
|