recurly 3.27.0 → 3.28.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: 28851d5a38736103501ec9a536fe4c5abd10e947f98c993d498ee1f4e71deeee
4
- data.tar.gz: 56aa36ec27725718854fac4ad9f204bd26c216f1d915718c082cdbd9626d0eb0
3
+ metadata.gz: f358220bcde59e70cefed04b0f39869b5e976a2f5b8051bf0938d9a2d98659fe
4
+ data.tar.gz: fb89656186be6d4a34d042daf0a7fe46d0e36cc272441c102df9141354c37966
5
5
  SHA512:
6
- metadata.gz: a0ac51ea1b3ec3e6f608b559a8b15c5cddf13071269893e7821d3319664fb542c8e9fca35aeb25274a5c922d747198b5e73d619fb127063d00424575a3268f6f
7
- data.tar.gz: b7d965554afe6b6ab4f4c9c3c1fe130bde8339a48e92acb6252b7563c82fc0ad8cb80a372d46d395a783f7e33d41d1fd818fb999db6a75bbb23f2dd05d3863e0
6
+ metadata.gz: af696c3da92306020d79701b60a4134c536349f0946b399dab177af36f519fc2d2947ac1c49e3fdf6c3fecdaaa05820f0cb1eb32859eead6585b4f607664f3e8
7
+ data.tar.gz: 1b241b8ea83c74e31e653af77d8992ad1f2cd38a19732bb3030244b89ddf0820d84e55175333c1368e29ab2e8204d98429cb9af7941f10b04ac433e9f1f6be5d
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.27.0
2
+ current_version = 3.28.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
+ ## [3.28.0](https://github.com/recurly/recurly-client-ruby/tree/3.28.0) (2023-05-23)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.27.0...3.28.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2019-10-10 (gateway_attributes on PaymentMethod) [#847](https://github.com/recurly/recurly-client-ruby/pull/847) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
3
14
  ## [3.27.0](https://github.com/recurly/recurly-client-ruby/tree/3.27.0) (2023-05-03)
4
15
 
5
16
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.26.0...3.27.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', '~> 3.27'
8
+ gem 'recurly', '~> 3.28'
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.
@@ -46,6 +46,10 @@ module Recurly
46
46
  # @return [String] Fraud Session ID
47
47
  define_attribute :fraud_session_id, String
48
48
 
49
+ # @!attribute gateway_attributes
50
+ # @return [GatewayAttributes] Additional attributes to send to the gateway.
51
+ define_attribute :gateway_attributes, :GatewayAttributes
52
+
49
53
  # @!attribute gateway_code
50
54
  # @return [String] An identifier for a specific payment gateway. Must be used in conjunction with `gateway_token`.
51
55
  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 = "3.27.0"
2
+ VERSION = "3.28.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -16645,6 +16645,17 @@ components:
16645
16645
  title: An identifier for a specific payment gateway. Must be used in conjunction
16646
16646
  with `gateway_token`.
16647
16647
  maxLength: 12
16648
+ gateway_attributes:
16649
+ type: object
16650
+ description: Additional attributes to send to the gateway.
16651
+ x-class-name: GatewayAttributes
16652
+ properties:
16653
+ account_reference:
16654
+ type: string
16655
+ description: Used by Adyen gateways. The Shopper Reference value used
16656
+ when the external token was created. Must be used in conjunction with
16657
+ gateway_token and gateway_code.
16658
+ maxLength: 264
16648
16659
  amazon_billing_agreement_id:
16649
16660
  type: string
16650
16661
  title: Amazon billing agreement ID
@@ -21470,6 +21481,7 @@ components:
21470
21481
  - force_collect
21471
21482
  - refunded_externally
21472
21483
  - chargeback
21484
+ - external_recovery
21473
21485
  currency:
21474
21486
  type: string
21475
21487
  title: Currency
@@ -22185,6 +22197,7 @@ components:
22185
22197
  object:
22186
22198
  type: string
22187
22199
  enum:
22200
+ - bacs
22188
22201
  - credit_card
22189
22202
  - paypal
22190
22203
  - amazon
@@ -22255,6 +22268,16 @@ components:
22255
22268
  type: string
22256
22269
  description: An identifier for a specific payment gateway.
22257
22270
  maxLength: 13
22271
+ gateway_attributes:
22272
+ type: object
22273
+ description: Gateway specific attributes associated with this PaymentMethod
22274
+ x-class-name: GatewayAttributes
22275
+ properties:
22276
+ account_reference:
22277
+ type: string
22278
+ description: Used by Adyen gateways. The Shopper Reference value used
22279
+ when the external token was created.
22280
+ maxLength: 264
22258
22281
  billing_agreement_id:
22259
22282
  type: string
22260
22283
  description: Billing Agreement identifier. Only present for Amazon or Paypal
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: 3.27.0
4
+ version: 3.28.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
@@ -165,6 +165,7 @@ files:
165
165
  - lib/recurly/requests/dunning_campaigns_bulk_update.rb
166
166
  - lib/recurly/requests/external_refund.rb
167
167
  - lib/recurly/requests/external_transaction.rb
168
+ - lib/recurly/requests/gateway_attributes.rb
168
169
  - lib/recurly/requests/invoice_address.rb
169
170
  - lib/recurly/requests/invoice_collect.rb
170
171
  - lib/recurly/requests/invoice_create.rb
@@ -243,6 +244,7 @@ files:
243
244
  - lib/recurly/resources/export_file.rb
244
245
  - lib/recurly/resources/export_files.rb
245
246
  - lib/recurly/resources/fraud_info.rb
247
+ - lib/recurly/resources/gateway_attributes.rb
246
248
  - lib/recurly/resources/invoice.rb
247
249
  - lib/recurly/resources/invoice_address.rb
248
250
  - lib/recurly/resources/invoice_collection.rb
@@ -306,7 +308,7 @@ metadata:
306
308
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
307
309
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
308
310
  homepage_uri: https://github.com/recurly/recurly-client-ruby
309
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.27.0
311
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.28.0
310
312
  post_install_message:
311
313
  rdoc_options: []
312
314
  require_paths: