recurly 3.26.0 → 3.28.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 +22 -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/resources/tax_detail.rb +14 -2
- data/lib/recurly/resources/tax_info.rb +4 -4
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +53 -6
- 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: f358220bcde59e70cefed04b0f39869b5e976a2f5b8051bf0938d9a2d98659fe
|
4
|
+
data.tar.gz: fb89656186be6d4a34d042daf0a7fe46d0e36cc272441c102df9141354c37966
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af696c3da92306020d79701b60a4134c536349f0946b399dab177af36f519fc2d2947ac1c49e3fdf6c3fecdaaa05820f0cb1eb32859eead6585b4f607664f3e8
|
7
|
+
data.tar.gz: 1b241b8ea83c74e31e653af77d8992ad1f2cd38a19732bb3030244b89ddf0820d84e55175333c1368e29ab2e8204d98429cb9af7941f10b04ac433e9f1f6be5d
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
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
|
+
|
14
|
+
## [3.27.0](https://github.com/recurly/recurly-client-ruby/tree/3.27.0) (2023-05-03)
|
15
|
+
|
16
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.26.0...3.27.0)
|
17
|
+
|
18
|
+
|
19
|
+
**Merged Pull Requests**
|
20
|
+
|
21
|
+
- Generated Latest Changes for v2019-10-10 [#842](https://github.com/recurly/recurly-client-ruby/pull/842) ([recurly-integrations](https://github.com/recurly-integrations))
|
22
|
+
|
23
|
+
|
24
|
+
|
3
25
|
## [3.26.0](https://github.com/recurly/recurly-client-ruby/tree/3.26.0) (2023-04-26)
|
4
26
|
|
5
27
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.25.0...3.26.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.
|
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
|
@@ -6,12 +6,24 @@ module Recurly
|
|
6
6
|
module Resources
|
7
7
|
class TaxDetail < Resource
|
8
8
|
|
9
|
+
# @!attribute billable
|
10
|
+
# @return [Boolean] Whether or not the line item is taxable. Only populated for a single LineItem fetch when Avalara for Communications is enabled.
|
11
|
+
define_attribute :billable, :Boolean
|
12
|
+
|
13
|
+
# @!attribute level
|
14
|
+
# @return [String] Provides the jurisdiction level for the Communications tax applied. Example values include city, state and federal. Present only when Avalara for Communications is enabled.
|
15
|
+
define_attribute :level, String
|
16
|
+
|
17
|
+
# @!attribute name
|
18
|
+
# @return [String] Provides the name of the Communications tax applied. Present only when Avalara for Communications is enabled.
|
19
|
+
define_attribute :name, String
|
20
|
+
|
9
21
|
# @!attribute rate
|
10
22
|
# @return [Float] Provides the tax rate for the region.
|
11
23
|
define_attribute :rate, Float
|
12
24
|
|
13
25
|
# @!attribute region
|
14
|
-
# @return [String] Provides the tax region applied on an invoice. For Canadian Sales Tax, this will be either the 2 letter province code or country code.
|
26
|
+
# @return [String] Provides the tax region applied on an invoice. For Canadian Sales Tax, this will be either the 2 letter province code or country code. Not present when Avalara for Communications is enabled.
|
15
27
|
define_attribute :region, String
|
16
28
|
|
17
29
|
# @!attribute tax
|
@@ -19,7 +31,7 @@ module Recurly
|
|
19
31
|
define_attribute :tax, Float
|
20
32
|
|
21
33
|
# @!attribute type
|
22
|
-
# @return [String] Provides the tax type for the region. For Canadian Sales Tax, this will be GST, HST, QST or PST.
|
34
|
+
# @return [String] Provides the tax type for the region or type of Comminications tax when Avalara for Communications is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.
|
23
35
|
define_attribute :type, String
|
24
36
|
end
|
25
37
|
end
|
@@ -7,19 +7,19 @@ module Recurly
|
|
7
7
|
class TaxInfo < Resource
|
8
8
|
|
9
9
|
# @!attribute rate
|
10
|
-
# @return [Float]
|
10
|
+
# @return [Float] The combined tax rate. Not present when Avalara for Communications is enabled.
|
11
11
|
define_attribute :rate, Float
|
12
12
|
|
13
13
|
# @!attribute region
|
14
|
-
# @return [String] Provides the tax region applied on an invoice. For U.S. Sales Tax, this will be the 2 letter state code. For EU VAT this will be the 2 letter country code. For all country level tax types, this will display the regional tax, like VAT, GST, or PST.
|
14
|
+
# @return [String] Provides the tax region applied on an invoice. For U.S. Sales Tax, this will be the 2 letter state code. For EU VAT this will be the 2 letter country code. For all country level tax types, this will display the regional tax, like VAT, GST, or PST. Not present when Avalara for Communications is enabled.
|
15
15
|
define_attribute :region, String
|
16
16
|
|
17
17
|
# @!attribute tax_details
|
18
|
-
# @return [Array[TaxDetail]] Provides additional tax details for Canadian Sales Tax when there is tax applied at both the country and province levels. This will only be populated for the Invoice response when fetching a single invoice and not for the InvoiceList or LineItem.
|
18
|
+
# @return [Array[TaxDetail]] Provides additional tax details for Communications taxes when Avalara for Communications is enabled or Canadian Sales Tax when there is tax applied at both the country and province levels. This will only be populated for the Invoice response when fetching a single invoice and not for the InvoiceList or LineItemList. Only populated for a single LineItem fetch when Avalara for Communications is enabled.
|
19
19
|
define_attribute :tax_details, Array, { :item_type => :TaxDetail }
|
20
20
|
|
21
21
|
# @!attribute type
|
22
|
-
# @return [String] Provides the tax type as "vat" for EU VAT, "usst" for U.S. Sales Tax, or the 2 letter country code for country level tax types like Canada, Australia, New Zealand, Israel, and all non-EU European countries.
|
22
|
+
# @return [String] Provides the tax type as "vat" for EU VAT, "usst" for U.S. Sales Tax, or the 2 letter country code for country level tax types like Canada, Australia, New Zealand, Israel, and all non-EU European countries. Not present when Avalara for Communications is enabled.
|
23
23
|
define_attribute :type, String
|
24
24
|
end
|
25
25
|
end
|
data/lib/recurly/version.rb
CHANGED
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
|
@@ -21336,23 +21347,29 @@ components:
|
|
21336
21347
|
description: Provides the tax type as "vat" for EU VAT, "usst" for U.S.
|
21337
21348
|
Sales Tax, or the 2 letter country code for country level tax types like
|
21338
21349
|
Canada, Australia, New Zealand, Israel, and all non-EU European countries.
|
21350
|
+
Not present when Avalara for Communications is enabled.
|
21339
21351
|
region:
|
21340
21352
|
type: string
|
21341
21353
|
title: Region
|
21342
21354
|
description: Provides the tax region applied on an invoice. For U.S. Sales
|
21343
21355
|
Tax, this will be the 2 letter state code. For EU VAT this will be the
|
21344
21356
|
2 letter country code. For all country level tax types, this will display
|
21345
|
-
the regional tax, like VAT, GST, or PST.
|
21357
|
+
the regional tax, like VAT, GST, or PST. Not present when Avalara for
|
21358
|
+
Communications is enabled.
|
21346
21359
|
rate:
|
21347
21360
|
type: number
|
21348
21361
|
format: float
|
21349
21362
|
title: Rate
|
21363
|
+
description: The combined tax rate. Not present when Avalara for Communications
|
21364
|
+
is enabled.
|
21350
21365
|
tax_details:
|
21351
21366
|
type: array
|
21352
|
-
description: Provides additional tax details for
|
21353
|
-
|
21354
|
-
|
21355
|
-
|
21367
|
+
description: Provides additional tax details for Communications taxes when
|
21368
|
+
Avalara for Communications is enabled or Canadian Sales Tax when there
|
21369
|
+
is tax applied at both the country and province levels. This will only
|
21370
|
+
be populated for the Invoice response when fetching a single invoice and
|
21371
|
+
not for the InvoiceList or LineItemList. Only populated for a single LineItem
|
21372
|
+
fetch when Avalara for Communications is enabled.
|
21356
21373
|
items:
|
21357
21374
|
"$ref": "#/components/schemas/TaxDetail"
|
21358
21375
|
TaxDetail:
|
@@ -21362,13 +21379,15 @@ components:
|
|
21362
21379
|
type:
|
21363
21380
|
type: string
|
21364
21381
|
title: Type
|
21365
|
-
description: Provides the tax type for the region
|
21382
|
+
description: Provides the tax type for the region or type of Comminications
|
21383
|
+
tax when Avalara for Communications is enabled. For Canadian Sales Tax,
|
21366
21384
|
this will be GST, HST, QST or PST.
|
21367
21385
|
region:
|
21368
21386
|
type: string
|
21369
21387
|
title: Region
|
21370
21388
|
description: Provides the tax region applied on an invoice. For Canadian
|
21371
21389
|
Sales Tax, this will be either the 2 letter province code or country code.
|
21390
|
+
Not present when Avalara for Communications is enabled.
|
21372
21391
|
rate:
|
21373
21392
|
type: number
|
21374
21393
|
format: float
|
@@ -21379,6 +21398,22 @@ components:
|
|
21379
21398
|
format: float
|
21380
21399
|
title: Tax
|
21381
21400
|
description: The total tax applied for this tax type.
|
21401
|
+
name:
|
21402
|
+
type: string
|
21403
|
+
title: Name
|
21404
|
+
description: Provides the name of the Communications tax applied. Present
|
21405
|
+
only when Avalara for Communications is enabled.
|
21406
|
+
level:
|
21407
|
+
type: string
|
21408
|
+
title: Level
|
21409
|
+
description: Provides the jurisdiction level for the Communications tax
|
21410
|
+
applied. Example values include city, state and federal. Present only
|
21411
|
+
when Avalara for Communications is enabled.
|
21412
|
+
billable:
|
21413
|
+
type: boolean
|
21414
|
+
title: Billable
|
21415
|
+
description: Whether or not the line item is taxable. Only populated for
|
21416
|
+
a single LineItem fetch when Avalara for Communications is enabled.
|
21382
21417
|
Transaction:
|
21383
21418
|
type: object
|
21384
21419
|
properties:
|
@@ -21446,6 +21481,7 @@ components:
|
|
21446
21481
|
- force_collect
|
21447
21482
|
- refunded_externally
|
21448
21483
|
- chargeback
|
21484
|
+
- external_recovery
|
21449
21485
|
currency:
|
21450
21486
|
type: string
|
21451
21487
|
title: Currency
|
@@ -22161,6 +22197,7 @@ components:
|
|
22161
22197
|
object:
|
22162
22198
|
type: string
|
22163
22199
|
enum:
|
22200
|
+
- bacs
|
22164
22201
|
- credit_card
|
22165
22202
|
- paypal
|
22166
22203
|
- amazon
|
@@ -22231,6 +22268,16 @@ components:
|
|
22231
22268
|
type: string
|
22232
22269
|
description: An identifier for a specific payment gateway.
|
22233
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
|
22234
22281
|
billing_agreement_id:
|
22235
22282
|
type: string
|
22236
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.
|
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-
|
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.
|
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:
|