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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83e8d65062787add4314eea99340dbb144cb791da91694d427fe80e611fc16aa
4
- data.tar.gz: 2574a06cac36f21757b57b603c77cf3c151826cb4b5dcb9473c714dd2c46d3c7
3
+ metadata.gz: 63627cfe02c6b1f623b0ec942fbdfefcc602baab2ba76c210b5b3946610c6010
4
+ data.tar.gz: eab3fc22497332fec976abbfb79cd9c4a33a54c0755d701d445b4a54ac0fb34f
5
5
  SHA512:
6
- metadata.gz: a392d2f3054c33c881a839c9f6ab0e060f65809c33854da58837b612c9d52cf6fe67235ff4d966822944c51744a09d1a72d9fc7661ec1a536efe74c41e6a9b3f
7
- data.tar.gz: 23245268579c2a5d83b61c311082fb7ce8cef300eed9ce35f1bfa62a0b7b05a0612f5ed11d559f19f50977febdb8246928abd264e493fdfdcb0bdc9af9344b50
6
+ metadata.gz: 20999a85623503c5af9e2e7bd2097dc900729a01b96e9c9e758f409594f6b2130627cef2c49a06a750227359679f8bbed5a4c9e727401c6de528ebf1f19634dd
7
+ data.tar.gz: c042cf9edadd7293aea0550297a720c5ff212402c765d7a86e3c8c545d7c9023e162b6a08d94abd4576c66156ab5cd4cca6105003d2489a3474a24ad69c4874b
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.35.0
2
+ current_version = 4.36.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.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.35'
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
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.35.0"
2
+ VERSION = "4.36.0"
3
3
  end
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 Invoices
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 Accounts
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.35.0
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-03 00:00:00.000000000 Z
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.35.0
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: