recurly 4.40.0 → 4.42.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: 516898930f6b60b8f1a395185faef9f1202df9b635708656ffa68cd83dd1fb1e
4
- data.tar.gz: 2c8e9afc6c23e0998b38911c4c46845a9d0d10c008cbc65e666889dc3ada67d5
3
+ metadata.gz: 7802ac249c077300036dea6ac4488f55df9c12d1483c6a9f56183cb85b49af66
4
+ data.tar.gz: 69689a9e956ca294bbadc961b9980f075a84ca1fd0d96afffbc6dfde773a8e70
5
5
  SHA512:
6
- metadata.gz: 56f7cbbc66edb19a6a3702dd2402c93acea4d42a18862c4c97dc475f6f21cdc06bbdc12d3147b1338e49c6b10a334d83688a00de069bfeb576f6ab58ad017244
7
- data.tar.gz: d414f601498ca69ccd18e703e36426d52bcfc427ce14f6fee1b2efc41f9f6ef63b34ed526e0960d339e6bd61980b82aee3a0d7e69b2c1768ba29f2ecb4c49d3f
6
+ metadata.gz: 94c751bb78e2d1a3f67eabfcee1b9b61ec0d27465d7f05e1ba7e720e9991545867087fa6f18318e4f4dc96db1b0906644de4e9034ed752369f541672c4e983a6
7
+ data.tar.gz: 91fad41e3162d3e16770ca2d46aea058e51c115e606be885e1905160207379b9b5058246895a88dd457aeee04763790254339116cd43b805570a2fb646373dcc
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.40.0
2
+ current_version = 4.42.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.42.0](https://github.com/recurly/recurly-client-ruby/tree/4.42.0) (2023-08-29)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.41.0...4.42.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2021-02-25 (`VATNumber`, `LifecycleDecline`) [#865](https://github.com/recurly/recurly-client-ruby/pull/865) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
14
+ ## [4.41.0](https://github.com/recurly/recurly-client-ruby/tree/4.41.0) (2023-08-10)
15
+
16
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.40.0...4.41.0)
17
+
18
+
19
+ **Merged Pull Requests**
20
+
21
+ - Generated Latest Changes for v2021-02-25 (action_result) [#864](https://github.com/recurly/recurly-client-ruby/pull/864) ([recurly-integrations](https://github.com/recurly-integrations))
22
+
23
+
24
+
3
25
  ## [4.40.0](https://github.com/recurly/recurly-client-ruby/tree/4.40.0) (2023-07-27)
4
26
 
5
27
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.38.0...4.40.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.40'
8
+ gem 'recurly', '~> 4.42'
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.
@@ -7,7 +7,7 @@ module Recurly
7
7
  class GatewayAttributes < Request
8
8
 
9
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.
10
+ # @return [String] Used by Adyen and Braintree gateways. For Adyen the Shopper Reference value used when the external token was created. Must be used in conjunction with gateway_token and gateway_code. For Braintree the PayPal PayerID is populated in the response.
11
11
  define_attribute :account_reference, String
12
12
  end
13
13
  end
@@ -7,7 +7,7 @@ module Recurly
7
7
  class GatewayAttributes < Resource
8
8
 
9
9
  # @!attribute account_reference
10
- # @return [String] Used by Adyen gateways. The Shopper Reference value used when the external token was created.
10
+ # @return [String] Used by Adyen and Braintree gateways. For Adyen the Shopper Reference value used when the external token was created. For Braintree the PayPal PayerID is populated in the response.
11
11
  define_attribute :account_reference, String
12
12
  end
13
13
  end
@@ -10,6 +10,10 @@ module Recurly
10
10
  # @return [AccountMini] Account mini details
11
11
  define_attribute :account, :AccountMini
12
12
 
13
+ # @!attribute action_result
14
+ # @return [Hash] Action result params to be used in Recurly-JS to complete a payment when using asynchronous payment methods, e.g., Boleto, iDEAL and Sofort.
15
+ define_attribute :action_result, Hash
16
+
13
17
  # @!attribute activated_at
14
18
  # @return [DateTime] Activated at
15
19
  define_attribute :activated_at, DateTime
@@ -10,6 +10,10 @@ module Recurly
10
10
  # @return [AccountMini] Account mini details
11
11
  define_attribute :account, :AccountMini
12
12
 
13
+ # @!attribute action_result
14
+ # @return [Hash] Action result params to be used in Recurly-JS to complete a payment when using asynchronous payment methods, e.g., Boleto, iDEAL and Sofort.
15
+ define_attribute :action_result, Hash
16
+
13
17
  # @!attribute amount
14
18
  # @return [Float] Total transaction amount sent to the payment gateway.
15
19
  define_attribute :amount, Float
@@ -150,6 +154,10 @@ module Recurly
150
154
  # @return [String] The UUID is useful for matching data with the CSV exports and building URLs into Recurly's UI.
151
155
  define_attribute :uuid, String
152
156
 
157
+ # @!attribute vat_number
158
+ # @return [String] VAT number for the customer on this transaction. If the customer's Billing Info country is BR or AR, then this will be their Tax Identifier. For all other countries this will come from the VAT Number field in the Billing Info.
159
+ define_attribute :vat_number, String
160
+
153
161
  # @!attribute voided_at
154
162
  # @return [DateTime] Voided at
155
163
  define_attribute :voided_at, DateTime
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.40.0"
2
+ VERSION = "4.42.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -18204,9 +18204,10 @@ components:
18204
18204
  properties:
18205
18205
  account_reference:
18206
18206
  type: string
18207
- description: Used by Adyen gateways. The Shopper Reference value used
18208
- when the external token was created. Must be used in conjunction with
18209
- gateway_token and gateway_code.
18207
+ description: Used by Adyen and Braintree gateways. For Adyen the Shopper
18208
+ Reference value used when the external token was created. Must be
18209
+ used in conjunction with gateway_token and gateway_code. For Braintree
18210
+ the PayPal PayerID is populated in the response.
18210
18211
  maxLength: 264
18211
18212
  amazon_billing_agreement_id:
18212
18213
  type: string
@@ -21712,6 +21713,12 @@ components:
21712
21713
  format: date-time
21713
21714
  description: When the subscription was converted from a gift card.
21714
21715
  title: Converted at
21716
+ action_result:
21717
+ type: object
21718
+ description: Action result params to be used in Recurly-JS to complete a
21719
+ payment when using asynchronous payment methods, e.g., Boleto, iDEAL and
21720
+ Sofort.
21721
+ title: Action result
21715
21722
  SubscriptionAddOn:
21716
21723
  type: object
21717
21724
  title: Subscription Add-on
@@ -23027,6 +23034,19 @@ components:
23027
23034
  format: date-time
23028
23035
  title: Collected at, or if not collected yet, the time the transaction was
23029
23036
  created.
23037
+ action_result:
23038
+ type: object
23039
+ description: Action result params to be used in Recurly-JS to complete a
23040
+ payment when using asynchronous payment methods, e.g., Boleto, iDEAL and
23041
+ Sofort.
23042
+ title: Action result
23043
+ vat_number:
23044
+ type: string
23045
+ description: VAT number for the customer on this transaction. If the customer's
23046
+ Billing Info country is BR or AR, then this will be their Tax Identifier.
23047
+ For all other countries this will come from the VAT Number field in the
23048
+ Billing Info.
23049
+ title: VAT Number
23030
23050
  ExternalTransaction:
23031
23051
  type: object
23032
23052
  properties:
@@ -24149,8 +24169,9 @@ components:
24149
24169
  properties:
24150
24170
  account_reference:
24151
24171
  type: string
24152
- description: Used by Adyen gateways. The Shopper Reference value used
24153
- when the external token was created.
24172
+ description: Used by Adyen and Braintree gateways. For Adyen the Shopper
24173
+ Reference value used when the external token was created. For Braintree
24174
+ the PayPal PayerID is populated in the response.
24154
24175
  maxLength: 264
24155
24176
  billing_agreement_id:
24156
24177
  type: string
@@ -25322,6 +25343,7 @@ components:
25322
25343
  - invalid_payment_method_hard
25323
25344
  - invalid_transaction
25324
25345
  - issuer_unavailable
25346
+ - lifecycle_decline
25325
25347
  - merch_max_transaction_limit_exceeded
25326
25348
  - moneybot_disconnect
25327
25349
  - moneybot_unavailable
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.40.0
4
+ version: 4.42.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-07-27 00:00:00.000000000 Z
11
+ date: 2023-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -345,7 +345,7 @@ metadata:
345
345
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
346
346
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
347
347
  homepage_uri: https://github.com/recurly/recurly-client-ruby
348
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.40.0
348
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.42.0
349
349
  post_install_message:
350
350
  rdoc_options: []
351
351
  require_paths:
@@ -361,7 +361,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
361
361
  - !ruby/object:Gem::Version
362
362
  version: '0'
363
363
  requirements: []
364
- rubygems_version: 3.0.3
364
+ rubygems_version: 3.0.3.1
365
365
  signing_key:
366
366
  specification_version: 4
367
367
  summary: The ruby client for Recurly's V3 API