recurly 4.35.0 → 4.36.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/requests/gateway_attributes.rb +14 -0
- data/lib/recurly/resources/gateway_attributes.rb +14 -0
- data/lib/recurly/resources/payment_method.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +29 -3
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63627cfe02c6b1f623b0ec942fbdfefcc602baab2ba76c210b5b3946610c6010
|
4
|
+
data.tar.gz: eab3fc22497332fec976abbfb79cd9c4a33a54c0755d701d445b4a54ac0fb34f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20999a85623503c5af9e2e7bd2097dc900729a01b96e9c9e758f409594f6b2130627cef2c49a06a750227359679f8bbed5a4c9e727401c6de528ebf1f19634dd
|
7
|
+
data.tar.gz: c042cf9edadd7293aea0550297a720c5ff212402c765d7a86e3c8c545d7c9023e162b6a08d94abd4576c66156ab5cd4cca6105003d2489a3474a24ad69c4874b
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.36.0](https://github.com/recurly/recurly-client-ruby/tree/4.36.0) (2023-05-23)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.35.0...4.36.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 (gateway_attributes on PaymentMethod) [#846](https://github.com/recurly/recurly-client-ruby/pull/846) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [4.35.0](https://github.com/recurly/recurly-client-ruby/tree/4.35.0) (2023-05-03)
|
4
15
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.34.0...4.35.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.36'
|
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.
|
@@ -54,6 +54,10 @@ module Recurly
|
|
54
54
|
# @return [String] Fraud Session ID
|
55
55
|
define_attribute :fraud_session_id, String
|
56
56
|
|
57
|
+
# @!attribute gateway_attributes
|
58
|
+
# @return [GatewayAttributes] Additional attributes to send to the gateway.
|
59
|
+
define_attribute :gateway_attributes, :GatewayAttributes
|
60
|
+
|
57
61
|
# @!attribute gateway_code
|
58
62
|
# @return [String] An identifier for a specific payment gateway. Must be used in conjunction with `gateway_token`.
|
59
63
|
define_attribute :gateway_code, String
|
@@ -0,0 +1,14 @@
|
|
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 GatewayAttributes < Request
|
8
|
+
|
9
|
+
# @!attribute account_reference
|
10
|
+
# @return [String] Used by Adyen gateways. The Shopper Reference value used when the external token was created. Must be used in conjunction with gateway_token and gateway_code.
|
11
|
+
define_attribute :account_reference, String
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,14 @@
|
|
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 Resources
|
7
|
+
class GatewayAttributes < Resource
|
8
|
+
|
9
|
+
# @!attribute account_reference
|
10
|
+
# @return [String] Used by Adyen gateways. The Shopper Reference value used when the external token was created.
|
11
|
+
define_attribute :account_reference, String
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -34,6 +34,10 @@ module Recurly
|
|
34
34
|
# @return [String] Credit card number's first six digits.
|
35
35
|
define_attribute :first_six, String
|
36
36
|
|
37
|
+
# @!attribute gateway_attributes
|
38
|
+
# @return [GatewayAttributes] Gateway specific attributes associated with this PaymentMethod
|
39
|
+
define_attribute :gateway_attributes, :GatewayAttributes
|
40
|
+
|
37
41
|
# @!attribute gateway_code
|
38
42
|
# @return [String] An identifier for a specific payment gateway.
|
39
43
|
define_attribute :gateway_code, String
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -199,11 +199,13 @@ x-tagGroups:
|
|
199
199
|
- purchase
|
200
200
|
- usage
|
201
201
|
- automated_exports
|
202
|
+
- gift_cards
|
203
|
+
- name: App Management
|
204
|
+
tags:
|
202
205
|
- external_subscriptions
|
203
206
|
- external_invoices
|
204
207
|
- external_products
|
205
208
|
- external_accounts
|
206
|
-
- gift_cards
|
207
209
|
- name: Products and Promotions
|
208
210
|
tags:
|
209
211
|
- item
|
@@ -349,7 +351,7 @@ tags:
|
|
349
351
|
Recurly platform and instead is managed by third-party platforms like Apple App
|
350
352
|
Store and Google Play Store.
|
351
353
|
- name: external_invoices
|
352
|
-
x-displayName: External
|
354
|
+
x-displayName: External Invoice
|
353
355
|
description: An invoice from an external resource that is not managed by the Recurly
|
354
356
|
platform and instead is managed by third-party platforms like Apple App Store
|
355
357
|
and Google Play Store.
|
@@ -363,7 +365,7 @@ tags:
|
|
363
365
|
description: Add gift card purchases to your checkout and allow gift card recipients
|
364
366
|
to redeem the gift card for credit towards any of your products.
|
365
367
|
- name: external_accounts
|
366
|
-
x-displayName: External
|
368
|
+
x-displayName: External Account
|
367
369
|
description: An account from an external resource that is not managed by the Recurly
|
368
370
|
platform and instead is managed by third-party platforms like Apple App Store
|
369
371
|
and Google Play Store.
|
@@ -17851,6 +17853,17 @@ components:
|
|
17851
17853
|
title: An identifier for a specific payment gateway. Must be used in conjunction
|
17852
17854
|
with `gateway_token`.
|
17853
17855
|
maxLength: 12
|
17856
|
+
gateway_attributes:
|
17857
|
+
type: object
|
17858
|
+
description: Additional attributes to send to the gateway.
|
17859
|
+
x-class-name: GatewayAttributes
|
17860
|
+
properties:
|
17861
|
+
account_reference:
|
17862
|
+
type: string
|
17863
|
+
description: Used by Adyen gateways. The Shopper Reference value used
|
17864
|
+
when the external token was created. Must be used in conjunction with
|
17865
|
+
gateway_token and gateway_code.
|
17866
|
+
maxLength: 264
|
17854
17867
|
amazon_billing_agreement_id:
|
17855
17868
|
type: string
|
17856
17869
|
title: Amazon billing agreement ID
|
@@ -23604,6 +23617,16 @@ components:
|
|
23604
23617
|
type: string
|
23605
23618
|
description: An identifier for a specific payment gateway.
|
23606
23619
|
maxLength: 13
|
23620
|
+
gateway_attributes:
|
23621
|
+
type: object
|
23622
|
+
description: Gateway specific attributes associated with this PaymentMethod
|
23623
|
+
x-class-name: GatewayAttributes
|
23624
|
+
properties:
|
23625
|
+
account_reference:
|
23626
|
+
type: string
|
23627
|
+
description: Used by Adyen gateways. The Shopper Reference value used
|
23628
|
+
when the external token was created.
|
23629
|
+
maxLength: 264
|
23607
23630
|
billing_agreement_id:
|
23608
23631
|
type: string
|
23609
23632
|
description: Billing Agreement identifier. Only present for Amazon or Paypal
|
@@ -24312,6 +24335,7 @@ components:
|
|
24312
24335
|
ExternalPaymentMethodEnum:
|
24313
24336
|
type: string
|
24314
24337
|
enum:
|
24338
|
+
- bacs
|
24315
24339
|
- ach
|
24316
24340
|
- amazon
|
24317
24341
|
- apple_pay
|
@@ -24432,6 +24456,7 @@ components:
|
|
24432
24456
|
enum:
|
24433
24457
|
- api
|
24434
24458
|
- chargeback
|
24459
|
+
- external_recovery
|
24435
24460
|
- force_collect
|
24436
24461
|
- hpp
|
24437
24462
|
- merchant
|
@@ -24501,6 +24526,7 @@ components:
|
|
24501
24526
|
PaymentMethodEnum:
|
24502
24527
|
type: string
|
24503
24528
|
enum:
|
24529
|
+
- bacs
|
24504
24530
|
- amazon
|
24505
24531
|
- amazon_billing_agreement
|
24506
24532
|
- apple_pay
|
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.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -170,6 +170,7 @@ files:
|
|
170
170
|
- lib/recurly/requests/external_account_update.rb
|
171
171
|
- lib/recurly/requests/external_refund.rb
|
172
172
|
- lib/recurly/requests/external_transaction.rb
|
173
|
+
- lib/recurly/requests/gateway_attributes.rb
|
173
174
|
- lib/recurly/requests/gift_card_create.rb
|
174
175
|
- lib/recurly/requests/gift_card_delivery_create.rb
|
175
176
|
- lib/recurly/requests/gift_card_redeem.rb
|
@@ -265,6 +266,7 @@ files:
|
|
265
266
|
- lib/recurly/resources/external_product_reference_mini.rb
|
266
267
|
- lib/recurly/resources/external_subscription.rb
|
267
268
|
- lib/recurly/resources/fraud_info.rb
|
269
|
+
- lib/recurly/resources/gateway_attributes.rb
|
268
270
|
- lib/recurly/resources/gift_card.rb
|
269
271
|
- lib/recurly/resources/gift_card_delivery.rb
|
270
272
|
- lib/recurly/resources/granted_by.rb
|
@@ -336,7 +338,7 @@ metadata:
|
|
336
338
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
337
339
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
338
340
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
339
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
341
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.36.0
|
340
342
|
post_install_message:
|
341
343
|
rdoc_options: []
|
342
344
|
require_paths:
|