recurly 3.25.0 → 3.27.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: 4aff2f3330116454a182cc1993edc02a2e192024936aa9727fda1bc3894124cc
4
- data.tar.gz: 81e97af9a4d118fbb31996900d580aa4a6f5699d1d14fe12f9709c9add6c2842
3
+ metadata.gz: 28851d5a38736103501ec9a536fe4c5abd10e947f98c993d498ee1f4e71deeee
4
+ data.tar.gz: 56aa36ec27725718854fac4ad9f204bd26c216f1d915718c082cdbd9626d0eb0
5
5
  SHA512:
6
- metadata.gz: 586de0de06d1aa08a3e061da546a34ab51bcad40257932d012894d00591476682e5b33dfea6b4da480d4f9e8e963d23c952c451b6e5b5910e7a06bc7a4e79830
7
- data.tar.gz: 5dd9e588a610f97353ca7df860dc476a2faf64df41f55b81ab6e8710968570f7d2bfdd48a41a6486a34675fbaf003c115dc75bf6c6a283520396c271db9a9587
6
+ metadata.gz: a0ac51ea1b3ec3e6f608b559a8b15c5cddf13071269893e7821d3319664fb542c8e9fca35aeb25274a5c922d747198b5e73d619fb127063d00424575a3268f6f
7
+ data.tar.gz: b7d965554afe6b6ab4f4c9c3c1fe130bde8339a48e92acb6252b7563c82fc0ad8cb80a372d46d395a783f7e33d41d1fd818fb999db6a75bbb23f2dd05d3863e0
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.25.0
2
+ current_version = 3.27.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
+ ## [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
+
14
+ ## [3.26.0](https://github.com/recurly/recurly-client-ruby/tree/3.26.0) (2023-04-26)
15
+
16
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.25.0...3.26.0)
17
+
18
+
19
+ **Merged Pull Requests**
20
+
21
+ - Generated Latest Changes for v2019-10-10 (used_tax_service on Invoice) [#838](https://github.com/recurly/recurly-client-ruby/pull/838) ([recurly-integrations](https://github.com/recurly-integrations))
22
+
23
+
24
+
3
25
  ## [3.25.0](https://github.com/recurly/recurly-client-ruby/tree/3.25.0) (2023-01-19)
4
26
 
5
27
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.24.0...3.25.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.25'
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.
@@ -30,6 +30,10 @@ module Recurly
30
30
  # @return [String] Company name
31
31
  define_attribute :company, String
32
32
 
33
+ # @!attribute currency
34
+ # @return [String] 3-letter ISO 4217 currency code.
35
+ define_attribute :currency, String
36
+
33
37
  # @!attribute cvv
34
38
  # @return [String] *STRONGLY RECOMMENDED*
35
39
  define_attribute :cvv, String
@@ -43,7 +43,7 @@ module Recurly
43
43
  define_attribute :updated_at, DateTime
44
44
 
45
45
  # @!attribute user_access
46
- # @return [String] The access control applied inside Recurly's admin UI: - `api_only` - No one will be able to view or edit this field's data via the admin UI. - `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but editing will only be available via the API. - `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI.
46
+ # @return [String] The access control applied inside Recurly's admin UI: - `api_only` - No one will be able to view or edit this field's data via the admin UI. - `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but editing will only be available via the API. - `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI. - `set_only` - Users with the Customers role will be able to set this field's data via the admin console.
47
47
  define_attribute :user_access, String
48
48
  end
49
49
  end
@@ -142,6 +142,10 @@ module Recurly
142
142
  # @return [DateTime] Last updated at
143
143
  define_attribute :updated_at, DateTime
144
144
 
145
+ # @!attribute used_tax_service
146
+ # @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.
147
+ define_attribute :used_tax_service, :Boolean
148
+
145
149
  # @!attribute vat_number
146
150
  # @return [String] VAT registration number for the customer on this invoice. This will come from the VAT Number field in the Billing Info or the Account Info depending on your tax settings and the invoice collection method.
147
151
  define_attribute :vat_number, 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 = "3.25.0"
2
+ VERSION = "3.27.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -224,8 +224,8 @@ tags:
224
224
  x-displayName: Site
225
225
  - name: custom_field_definition
226
226
  x-displayName: Custom Field Definition
227
- description: Describes the fields that can use used as custom fields on accounts
228
- or subscriptions.
227
+ description: Describes the fields that can be used as custom fields on accounts,
228
+ items, line-items (one time charges), plans, or subscriptions.
229
229
  - name: item
230
230
  x-displayName: Item
231
231
  description: |-
@@ -15561,7 +15561,9 @@ components:
15561
15561
  - es-MX
15562
15562
  - es-US
15563
15563
  - fi-FI
15564
+ - fr-BE
15564
15565
  - fr-CA
15566
+ - fr-CH
15565
15567
  - fr-FR
15566
15568
  - hi-IN
15567
15569
  - it-IT
@@ -15698,7 +15700,9 @@ components:
15698
15700
  - es-MX
15699
15701
  - es-US
15700
15702
  - fi-FI
15703
+ - fr-BE
15701
15704
  - fr-CA
15705
+ - fr-CH
15702
15706
  - fr-FR
15703
15707
  - hi-IN
15704
15708
  - it-IT
@@ -16619,6 +16623,9 @@ components:
16619
16623
  title: Security code or CVV
16620
16624
  description: "*STRONGLY RECOMMENDED*"
16621
16625
  maxLength: 4
16626
+ currency:
16627
+ type: string
16628
+ description: 3-letter ISO 4217 currency code.
16622
16629
  vat_number:
16623
16630
  type: string
16624
16631
  title: VAT number
@@ -17468,10 +17475,12 @@ components:
17468
17475
  - `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but
17469
17476
  editing will only be available via the API.
17470
17477
  - `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI.
17478
+ - `set_only` - Users with the Customers role will be able to set this field's data via the admin console.
17471
17479
  enum:
17472
17480
  - api_only
17473
17481
  - read_only
17474
17482
  - write
17483
+ - set_only
17475
17484
  display_name:
17476
17485
  type: string
17477
17486
  title: Display name
@@ -17966,6 +17975,13 @@ components:
17966
17975
  description: The outstanding balance remaining on this invoice.
17967
17976
  tax_info:
17968
17977
  "$ref": "#/components/schemas/TaxInfo"
17978
+ used_tax_service:
17979
+ type: boolean
17980
+ title: Used Tax Service?
17981
+ description: Will be `true` when the invoice had a successful response from
17982
+ the tax service and `false` when the invoice was not sent to tax service
17983
+ due to a lack of address or enabled jurisdiction or was processed without
17984
+ tax due to a non-blocking error returned from the tax service.
17969
17985
  vat_number:
17970
17986
  type: string
17971
17987
  title: VAT number
@@ -21320,23 +21336,29 @@ components:
21320
21336
  description: Provides the tax type as "vat" for EU VAT, "usst" for U.S.
21321
21337
  Sales Tax, or the 2 letter country code for country level tax types like
21322
21338
  Canada, Australia, New Zealand, Israel, and all non-EU European countries.
21339
+ Not present when Avalara for Communications is enabled.
21323
21340
  region:
21324
21341
  type: string
21325
21342
  title: Region
21326
21343
  description: Provides the tax region applied on an invoice. For U.S. Sales
21327
21344
  Tax, this will be the 2 letter state code. For EU VAT this will be the
21328
21345
  2 letter country code. For all country level tax types, this will display
21329
- 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.
21330
21348
  rate:
21331
21349
  type: number
21332
21350
  format: float
21333
21351
  title: Rate
21352
+ description: The combined tax rate. Not present when Avalara for Communications
21353
+ is enabled.
21334
21354
  tax_details:
21335
21355
  type: array
21336
- description: Provides additional tax details for Canadian Sales Tax when
21337
- there is tax applied at both the country and province levels. This will
21338
- only be populated for the Invoice response when fetching a single invoice
21339
- and not for the InvoiceList or LineItem.
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.
21340
21362
  items:
21341
21363
  "$ref": "#/components/schemas/TaxDetail"
21342
21364
  TaxDetail:
@@ -21346,13 +21368,15 @@ components:
21346
21368
  type:
21347
21369
  type: string
21348
21370
  title: Type
21349
- description: Provides the tax type for the region. For Canadian Sales Tax,
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,
21350
21373
  this will be GST, HST, QST or PST.
21351
21374
  region:
21352
21375
  type: string
21353
21376
  title: Region
21354
21377
  description: Provides the tax region applied on an invoice. For Canadian
21355
21378
  Sales Tax, this will be either the 2 letter province code or country code.
21379
+ Not present when Avalara for Communications is enabled.
21356
21380
  rate:
21357
21381
  type: number
21358
21382
  format: float
@@ -21363,6 +21387,22 @@ components:
21363
21387
  format: float
21364
21388
  title: Tax
21365
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.
21366
21406
  Transaction:
21367
21407
  type: object
21368
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.25.0
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-01-19 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
@@ -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.25.0
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: