recurly 4.34.0 → 4.35.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: 83e8d65062787add4314eea99340dbb144cb791da91694d427fe80e611fc16aa
|
4
|
+
data.tar.gz: 2574a06cac36f21757b57b603c77cf3c151826cb4b5dcb9473c714dd2c46d3c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a392d2f3054c33c881a839c9f6ab0e060f65809c33854da58837b612c9d52cf6fe67235ff4d966822944c51744a09d1a72d9fc7661ec1a536efe74c41e6a9b3f
|
7
|
+
data.tar.gz: 23245268579c2a5d83b61c311082fb7ce8cef300eed9ce35f1bfa62a0b7b05a0612f5ed11d559f19f50977febdb8246928abd264e493fdfdcb0bdc9af9344b50
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.35.0](https://github.com/recurly/recurly-client-ruby/tree/4.35.0) (2023-05-03)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.34.0...4.35.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 [#843](https://github.com/recurly/recurly-client-ruby/pull/843) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [4.34.0](https://github.com/recurly/recurly-client-ruby/tree/4.34.0) (2023-04-26)
|
4
15
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.33.0...4.34.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.
|
8
|
+
gem 'recurly', '~> 4.35'
|
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
@@ -22347,23 +22347,29 @@ components:
|
|
22347
22347
|
description: Provides the tax type as "vat" for EU VAT, "usst" for U.S.
|
22348
22348
|
Sales Tax, or the 2 letter country code for country level tax types like
|
22349
22349
|
Canada, Australia, New Zealand, Israel, and all non-EU European countries.
|
22350
|
+
Not present when Avalara for Communications is enabled.
|
22350
22351
|
region:
|
22351
22352
|
type: string
|
22352
22353
|
title: Region
|
22353
22354
|
description: Provides the tax region applied on an invoice. For U.S. Sales
|
22354
22355
|
Tax, this will be the 2 letter state code. For EU VAT this will be the
|
22355
22356
|
2 letter country code. For all country level tax types, this will display
|
22356
|
-
the regional tax, like VAT, GST, or PST.
|
22357
|
+
the regional tax, like VAT, GST, or PST. Not present when Avalara for
|
22358
|
+
Communications is enabled.
|
22357
22359
|
rate:
|
22358
22360
|
type: number
|
22359
22361
|
format: float
|
22360
22362
|
title: Rate
|
22363
|
+
description: The combined tax rate. Not present when Avalara for Communications
|
22364
|
+
is enabled.
|
22361
22365
|
tax_details:
|
22362
22366
|
type: array
|
22363
|
-
description: Provides additional tax details for
|
22364
|
-
|
22365
|
-
|
22366
|
-
|
22367
|
+
description: Provides additional tax details for Communications taxes when
|
22368
|
+
Avalara for Communications is enabled or Canadian Sales Tax when there
|
22369
|
+
is tax applied at both the country and province levels. This will only
|
22370
|
+
be populated for the Invoice response when fetching a single invoice and
|
22371
|
+
not for the InvoiceList or LineItemList. Only populated for a single LineItem
|
22372
|
+
fetch when Avalara for Communications is enabled.
|
22367
22373
|
items:
|
22368
22374
|
"$ref": "#/components/schemas/TaxDetail"
|
22369
22375
|
TaxDetail:
|
@@ -22373,13 +22379,15 @@ components:
|
|
22373
22379
|
type:
|
22374
22380
|
type: string
|
22375
22381
|
title: Type
|
22376
|
-
description: Provides the tax type for the region
|
22382
|
+
description: Provides the tax type for the region or type of Comminications
|
22383
|
+
tax when Avalara for Communications is enabled. For Canadian Sales Tax,
|
22377
22384
|
this will be GST, HST, QST or PST.
|
22378
22385
|
region:
|
22379
22386
|
type: string
|
22380
22387
|
title: Region
|
22381
22388
|
description: Provides the tax region applied on an invoice. For Canadian
|
22382
22389
|
Sales Tax, this will be either the 2 letter province code or country code.
|
22390
|
+
Not present when Avalara for Communications is enabled.
|
22383
22391
|
rate:
|
22384
22392
|
type: number
|
22385
22393
|
format: float
|
@@ -22390,6 +22398,22 @@ components:
|
|
22390
22398
|
format: float
|
22391
22399
|
title: Tax
|
22392
22400
|
description: The total tax applied for this tax type.
|
22401
|
+
name:
|
22402
|
+
type: string
|
22403
|
+
title: Name
|
22404
|
+
description: Provides the name of the Communications tax applied. Present
|
22405
|
+
only when Avalara for Communications is enabled.
|
22406
|
+
level:
|
22407
|
+
type: string
|
22408
|
+
title: Level
|
22409
|
+
description: Provides the jurisdiction level for the Communications tax
|
22410
|
+
applied. Example values include city, state and federal. Present only
|
22411
|
+
when Avalara for Communications is enabled.
|
22412
|
+
billable:
|
22413
|
+
type: boolean
|
22414
|
+
title: Billable
|
22415
|
+
description: Whether or not the line item is taxable. Only populated for
|
22416
|
+
a single LineItem fetch when Avalara for Communications is enabled.
|
22393
22417
|
Transaction:
|
22394
22418
|
type: object
|
22395
22419
|
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: 4.
|
4
|
+
version: 4.35.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
|
@@ -336,7 +336,7 @@ metadata:
|
|
336
336
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
337
337
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
338
338
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
339
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
339
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.35.0
|
340
340
|
post_install_message:
|
341
341
|
rdoc_options: []
|
342
342
|
require_paths:
|