recurly 3.26.0 → 3.27.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/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 +30 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28851d5a38736103501ec9a536fe4c5abd10e947f98c993d498ee1f4e71deeee
|
4
|
+
data.tar.gz: 56aa36ec27725718854fac4ad9f204bd26c216f1d915718c082cdbd9626d0eb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0ac51ea1b3ec3e6f608b559a8b15c5cddf13071269893e7821d3319664fb542c8e9fca35aeb25274a5c922d747198b5e73d619fb127063d00424575a3268f6f
|
7
|
+
data.tar.gz: b7d965554afe6b6ab4f4c9c3c1fe130bde8339a48e92acb6252b7563c82fc0ad8cb80a372d46d395a783f7e33d41d1fd818fb999db6a75bbb23f2dd05d3863e0
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [3.27.0](https://github.com/recurly/recurly-client-ruby/tree/3.27.0) (2023-05-03)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.26.0...3.27.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2019-10-10 [#842](https://github.com/recurly/recurly-client-ruby/pull/842) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [3.26.0](https://github.com/recurly/recurly-client-ruby/tree/3.26.0) (2023-04-26)
|
4
15
|
|
5
16
|
[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.27'
|
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.
|
@@ -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
@@ -21336,23 +21336,29 @@ components:
|
|
21336
21336
|
description: Provides the tax type as "vat" for EU VAT, "usst" for U.S.
|
21337
21337
|
Sales Tax, or the 2 letter country code for country level tax types like
|
21338
21338
|
Canada, Australia, New Zealand, Israel, and all non-EU European countries.
|
21339
|
+
Not present when Avalara for Communications is enabled.
|
21339
21340
|
region:
|
21340
21341
|
type: string
|
21341
21342
|
title: Region
|
21342
21343
|
description: Provides the tax region applied on an invoice. For U.S. Sales
|
21343
21344
|
Tax, this will be the 2 letter state code. For EU VAT this will be the
|
21344
21345
|
2 letter country code. For all country level tax types, this will display
|
21345
|
-
the regional tax, like VAT, GST, or PST.
|
21346
|
+
the regional tax, like VAT, GST, or PST. Not present when Avalara for
|
21347
|
+
Communications is enabled.
|
21346
21348
|
rate:
|
21347
21349
|
type: number
|
21348
21350
|
format: float
|
21349
21351
|
title: Rate
|
21352
|
+
description: The combined tax rate. Not present when Avalara for Communications
|
21353
|
+
is enabled.
|
21350
21354
|
tax_details:
|
21351
21355
|
type: array
|
21352
|
-
description: Provides additional tax details for
|
21353
|
-
|
21354
|
-
|
21355
|
-
|
21356
|
+
description: Provides additional tax details for Communications taxes when
|
21357
|
+
Avalara for Communications is enabled or Canadian Sales Tax when there
|
21358
|
+
is tax applied at both the country and province levels. This will only
|
21359
|
+
be populated for the Invoice response when fetching a single invoice and
|
21360
|
+
not for the InvoiceList or LineItemList. Only populated for a single LineItem
|
21361
|
+
fetch when Avalara for Communications is enabled.
|
21356
21362
|
items:
|
21357
21363
|
"$ref": "#/components/schemas/TaxDetail"
|
21358
21364
|
TaxDetail:
|
@@ -21362,13 +21368,15 @@ components:
|
|
21362
21368
|
type:
|
21363
21369
|
type: string
|
21364
21370
|
title: Type
|
21365
|
-
description: Provides the tax type for the region
|
21371
|
+
description: Provides the tax type for the region or type of Comminications
|
21372
|
+
tax when Avalara for Communications is enabled. For Canadian Sales Tax,
|
21366
21373
|
this will be GST, HST, QST or PST.
|
21367
21374
|
region:
|
21368
21375
|
type: string
|
21369
21376
|
title: Region
|
21370
21377
|
description: Provides the tax region applied on an invoice. For Canadian
|
21371
21378
|
Sales Tax, this will be either the 2 letter province code or country code.
|
21379
|
+
Not present when Avalara for Communications is enabled.
|
21372
21380
|
rate:
|
21373
21381
|
type: number
|
21374
21382
|
format: float
|
@@ -21379,6 +21387,22 @@ components:
|
|
21379
21387
|
format: float
|
21380
21388
|
title: Tax
|
21381
21389
|
description: The total tax applied for this tax type.
|
21390
|
+
name:
|
21391
|
+
type: string
|
21392
|
+
title: Name
|
21393
|
+
description: Provides the name of the Communications tax applied. Present
|
21394
|
+
only when Avalara for Communications is enabled.
|
21395
|
+
level:
|
21396
|
+
type: string
|
21397
|
+
title: Level
|
21398
|
+
description: Provides the jurisdiction level for the Communications tax
|
21399
|
+
applied. Example values include city, state and federal. Present only
|
21400
|
+
when Avalara for Communications is enabled.
|
21401
|
+
billable:
|
21402
|
+
type: boolean
|
21403
|
+
title: Billable
|
21404
|
+
description: Whether or not the line item is taxable. Only populated for
|
21405
|
+
a single LineItem fetch when Avalara for Communications is enabled.
|
21382
21406
|
Transaction:
|
21383
21407
|
type: object
|
21384
21408
|
properties:
|
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.27.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-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -306,7 +306,7 @@ metadata:
|
|
306
306
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
307
307
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
308
308
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
309
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.
|
309
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.27.0
|
310
310
|
post_install_message:
|
311
311
|
rdoc_options: []
|
312
312
|
require_paths:
|