recurly 4.33.0 → 4.35.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: 37670f0323bda5789149a45daa009f4754b92ea72f9267e2f43d3a59c0abb42f
4
- data.tar.gz: 7cbbeda88d39250d5512098551605315628fd9304a14c713a31e0f23496d1f5e
3
+ metadata.gz: 83e8d65062787add4314eea99340dbb144cb791da91694d427fe80e611fc16aa
4
+ data.tar.gz: 2574a06cac36f21757b57b603c77cf3c151826cb4b5dcb9473c714dd2c46d3c7
5
5
  SHA512:
6
- metadata.gz: 6c67616be142641fc0f45b694d8d52fa563f84e98181f9389923f3c1249d6b68700b53fd2e301c731cb31dcd50537c023e0f736592a75135bb4bd6f9fec80baa
7
- data.tar.gz: 4e605e1fb22679183778da14af2a4745991250f490839abcd606b510cc28722ab1fc4a0fa2a62c78de5d96cb7b9915a15c919e3a4e3b2aa2120b1e8f8a858c27
6
+ metadata.gz: a392d2f3054c33c881a839c9f6ab0e060f65809c33854da58837b612c9d52cf6fe67235ff4d966822944c51744a09d1a72d9fc7661ec1a536efe74c41e6a9b3f
7
+ data.tar.gz: 23245268579c2a5d83b61c311082fb7ce8cef300eed9ce35f1bfa62a0b7b05a0612f5ed11d559f19f50977febdb8246928abd264e493fdfdcb0bdc9af9344b50
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.33.0
2
+ current_version = 4.35.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.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
+
14
+ ## [4.34.0](https://github.com/recurly/recurly-client-ruby/tree/4.34.0) (2023-04-26)
15
+
16
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.33.0...4.34.0)
17
+
18
+
19
+ **Merged Pull Requests**
20
+
21
+ - Generated Latest Changes for v2021-02-25 (used_tax_service on Invoice) [#839](https://github.com/recurly/recurly-client-ruby/pull/839) ([recurly-integrations](https://github.com/recurly-integrations))
22
+
23
+
24
+
3
25
  ## [4.33.0](https://github.com/recurly/recurly-client-ruby/tree/4.33.0) (2023-04-13)
4
26
 
5
27
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.32.0...4.33.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.33'
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.
@@ -154,6 +154,10 @@ module Recurly
154
154
  # @return [DateTime] Last updated at
155
155
  define_attribute :updated_at, DateTime
156
156
 
157
+ # @!attribute used_tax_service
158
+ # @return [Boolean] Will be `true` when the invoice had a successful response from the tax service and `false` when the invoice was not sent to tax service due to a lack of address or enabled jurisdiction or was processed without tax due to a non-blocking error returned from the tax service.
159
+ define_attribute :used_tax_service, :Boolean
160
+
157
161
  # @!attribute uuid
158
162
  # @return [String] Invoice UUID
159
163
  define_attribute :uuid, 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] Rate
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
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.33.0"
2
+ VERSION = "4.35.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -19032,6 +19032,13 @@ components:
19032
19032
  description: The outstanding balance remaining on this invoice.
19033
19033
  tax_info:
19034
19034
  "$ref": "#/components/schemas/TaxInfo"
19035
+ used_tax_service:
19036
+ type: boolean
19037
+ title: Used Tax Service?
19038
+ description: Will be `true` when the invoice had a successful response from
19039
+ the tax service and `false` when the invoice was not sent to tax service
19040
+ due to a lack of address or enabled jurisdiction or was processed without
19041
+ tax due to a non-blocking error returned from the tax service.
19035
19042
  vat_number:
19036
19043
  type: string
19037
19044
  title: VAT number
@@ -22340,23 +22347,29 @@ components:
22340
22347
  description: Provides the tax type as "vat" for EU VAT, "usst" for U.S.
22341
22348
  Sales Tax, or the 2 letter country code for country level tax types like
22342
22349
  Canada, Australia, New Zealand, Israel, and all non-EU European countries.
22350
+ Not present when Avalara for Communications is enabled.
22343
22351
  region:
22344
22352
  type: string
22345
22353
  title: Region
22346
22354
  description: Provides the tax region applied on an invoice. For U.S. Sales
22347
22355
  Tax, this will be the 2 letter state code. For EU VAT this will be the
22348
22356
  2 letter country code. For all country level tax types, this will display
22349
- 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.
22350
22359
  rate:
22351
22360
  type: number
22352
22361
  format: float
22353
22362
  title: Rate
22363
+ description: The combined tax rate. Not present when Avalara for Communications
22364
+ is enabled.
22354
22365
  tax_details:
22355
22366
  type: array
22356
- description: Provides additional tax details for Canadian Sales Tax when
22357
- there is tax applied at both the country and province levels. This will
22358
- only be populated for the Invoice response when fetching a single invoice
22359
- and not for the InvoiceList or LineItem.
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.
22360
22373
  items:
22361
22374
  "$ref": "#/components/schemas/TaxDetail"
22362
22375
  TaxDetail:
@@ -22366,13 +22379,15 @@ components:
22366
22379
  type:
22367
22380
  type: string
22368
22381
  title: Type
22369
- description: Provides the tax type for the region. For Canadian Sales Tax,
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,
22370
22384
  this will be GST, HST, QST or PST.
22371
22385
  region:
22372
22386
  type: string
22373
22387
  title: Region
22374
22388
  description: Provides the tax region applied on an invoice. For Canadian
22375
22389
  Sales Tax, this will be either the 2 letter province code or country code.
22390
+ Not present when Avalara for Communications is enabled.
22376
22391
  rate:
22377
22392
  type: number
22378
22393
  format: float
@@ -22383,6 +22398,22 @@ components:
22383
22398
  format: float
22384
22399
  title: Tax
22385
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.
22386
22417
  Transaction:
22387
22418
  type: object
22388
22419
  properties:
@@ -24043,7 +24074,9 @@ components:
24043
24074
  - es-MX
24044
24075
  - es-US
24045
24076
  - fi-FI
24077
+ - fr-BE
24046
24078
  - fr-CA
24079
+ - fr-CH
24047
24080
  - fr-FR
24048
24081
  - hi-IN
24049
24082
  - it-IT
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.33.0
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-04-13 00:00:00.000000000 Z
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.33.0
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: