recurly 4.17.0 → 4.18.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: 775c79b2119f5cd5d0af758f12c69dcc910edaab7ec10ecfd64731e3b253289f
4
- data.tar.gz: 5b360704165933f10980f95032b0b0b4f4527a5a54a1574f9a9f9e3941f5dae7
3
+ metadata.gz: e6350d81107627313accb7813754e37e2e8c85156d1c0ae8d5d3c479c649347c
4
+ data.tar.gz: b7d579a7443eba62a85622ff0093ac611fee38cc9740e41755100a0d694e2cb2
5
5
  SHA512:
6
- metadata.gz: eea5fd6d0c0d00b80f2e53facf0df10d18b5ece821ef4fab32ee71946f0934728bf51efa4ebc6fab2c767d0806ad0a4815881db00d8710a79940802cb27a5a0c
7
- data.tar.gz: 32b6c5cde7dd5d318a76c97db54bdac39e507a4799f9c6b5e68dd0d909b7508e81442c44d0c5f7100d147639800ade61e15a4f0f5949c5be1ab3d6cad4e65e85
6
+ metadata.gz: 8d73edf3e7bc58f744c6efc71a659c256453f1c46b3d0ae3c74c3784b5ecf7a720b74d438a81f66f15cc145aba13dfaf6f3c24bdd2f42f8980182e3aa607b6ba
7
+ data.tar.gz: eeadb1726e33c8f011f2ab72eb1784881550bc39426ae299c139b788ed9031e12050e0b947bfa7db44623728475025f185e58f7700dbcbc2dfcb2342f92aad5c
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.17.0
2
+ current_version = 4.18.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
@@ -0,0 +1,29 @@
1
+ name: CI
2
+ on: [push]
3
+ concurrency:
4
+ group: ${{ github.ref }}
5
+ cancel-in-progress: true
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ name: Ruby ${{ matrix.ruby }} tests
10
+ strategy:
11
+ matrix:
12
+ ruby: [2.4, 2.5, 2.6, 2.7, 3.0]
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Setup ruby
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: ${{ matrix.ruby }}
19
+ - run: ./scripts/build
20
+ - run: ./scripts/test
21
+ buildall:
22
+ if: ${{ always() }}
23
+ runs-on: ubuntu-latest
24
+ name: Build (matrix)
25
+ needs: build
26
+ steps:
27
+ - name: Check build matrix status
28
+ if: ${{ needs.build.result != 'success' }}
29
+ run: exit 1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.18.0](https://github.com/recurly/recurly-client-ruby/tree/4.18.0) (2022-06-16)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.17.0...4.18.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2021-02-25 [#776](https://github.com/recurly/recurly-client-ruby/pull/776) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
3
14
  ## [4.17.0](https://github.com/recurly/recurly-client-ruby/tree/4.17.0) (2022-04-15)
4
15
 
5
16
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.16.0...4.17.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.17'
8
+ gem 'recurly', '~> 4.18'
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.
@@ -3351,6 +3351,17 @@ module Recurly
3351
3351
  # @param params [Hash] Optional query string parameters:
3352
3352
  #
3353
3353
  # @return [Resources::InvoiceCollection] A preview of the subscription's renewal invoice(s).
3354
+ # @example
3355
+ # begin
3356
+ # invoice_collection = @client.get_preview_renewal(
3357
+ # subscription_id: subscription_id
3358
+ # )
3359
+ # puts "Fetched Renewal Preview with total: #{invoice_collection.charge_invoice.total}"
3360
+ # rescue Recurly::Errors::NotFoundError
3361
+ # # If the resource was not found, you may want to alert the user or
3362
+ # # just return nil
3363
+ # puts "Resource Not Found"
3364
+ # end
3354
3365
  #
3355
3366
  def get_preview_renewal(subscription_id:, **options)
3356
3367
  path = interpolate_path("/subscriptions/{subscription_id}/preview_renewal", subscription_id: subscription_id)
@@ -55,7 +55,7 @@ module Recurly
55
55
  define_attribute :first_name, String
56
56
 
57
57
  # @!attribute invoice_template_id
58
- # @return [String] Unique ID to identify an invoice template. Available when the Invoice Customization feature is enabled. Used to specify which invoice template, if any, should be used to generate invoices for the account.
58
+ # @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.
59
59
  define_attribute :invoice_template_id, String
60
60
 
61
61
  # @!attribute last_name
@@ -59,7 +59,7 @@ module Recurly
59
59
  define_attribute :id, String
60
60
 
61
61
  # @!attribute invoice_template_id
62
- # @return [String] Unique ID to identify an invoice template. Available when the Invoice Customization feature is enabled. Used to specify which invoice template, if any, should be used to generate invoices for the account.
62
+ # @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.
63
63
  define_attribute :invoice_template_id, String
64
64
 
65
65
  # @!attribute last_name
@@ -47,7 +47,7 @@ module Recurly
47
47
  define_attribute :first_name, String
48
48
 
49
49
  # @!attribute invoice_template_id
50
- # @return [String] Unique ID to identify an invoice template. Available when the Invoice Customization feature is enabled. Used to specify which invoice template, if any, should be used to generate invoices for the account.
50
+ # @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.
51
51
  define_attribute :invoice_template_id, String
52
52
 
53
53
  # @!attribute last_name
@@ -11,7 +11,7 @@ module Recurly
11
11
  define_attribute :currency, String
12
12
 
13
13
  # @!attribute tax_inclusive
14
- # @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
14
+ # @return [Boolean] This field is deprecated. Please do not use it.
15
15
  define_attribute :tax_inclusive, :Boolean
16
16
 
17
17
  # @!attribute unit_amount
@@ -99,11 +99,11 @@ module Recurly
99
99
  define_attribute :sort_code, String
100
100
 
101
101
  # @!attribute tax_identifier
102
- # @return [String] Tax identifier is required if adding a billing info that is a consumer card in Brazil or in Argentina. This would be the customer's CPF (Brazil) and CUIT (Argentina). CPF and CUIT are tax identifiers for all residents who pay taxes in Brazil and Argentina respectively.
102
+ # @return [String] Tax identifier is required if adding a billing info that is a consumer card in Brazil or in Argentina. This would be the customer's CPF/CNPJ (Brazil) and CUIT (Argentina). CPF, CNPJ and CUIT are tax identifiers for all residents who pay taxes in Brazil and Argentina respectively.
103
103
  define_attribute :tax_identifier, String
104
104
 
105
105
  # @!attribute tax_identifier_type
106
- # @return [String] This field and a value of `cpf` or `cuit` are required if adding a billing info that is an elo or hipercard type in Brazil or in Argentina.
106
+ # @return [String] This field and a value of `cpf`, `cnpj` or `cuit` are required if adding a billing info that is an elo or hipercard type in Brazil or in Argentina.
107
107
  define_attribute :tax_identifier_type, String
108
108
 
109
109
  # @!attribute three_d_secure_action_result_token_id
@@ -15,7 +15,7 @@ module Recurly
15
15
  define_attribute :setup_fee, Float
16
16
 
17
17
  # @!attribute tax_inclusive
18
- # @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
18
+ # @return [Boolean] This field is deprecated. Please do not use it.
19
19
  define_attribute :tax_inclusive, :Boolean
20
20
 
21
21
  # @!attribute unit_amount
@@ -11,7 +11,7 @@ module Recurly
11
11
  define_attribute :currency, String
12
12
 
13
13
  # @!attribute tax_inclusive
14
- # @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
14
+ # @return [Boolean] This field is deprecated. Please do not use it.
15
15
  define_attribute :tax_inclusive, :Boolean
16
16
 
17
17
  # @!attribute unit_amount
@@ -55,7 +55,7 @@ module Recurly
55
55
  define_attribute :shipping, :SubscriptionChangeShippingCreate
56
56
 
57
57
  # @!attribute tax_inclusive
58
- # @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
58
+ # @return [Boolean] This field is deprecated. Please do not use it.
59
59
  define_attribute :tax_inclusive, :Boolean
60
60
 
61
61
  # @!attribute timeframe
@@ -59,7 +59,7 @@ module Recurly
59
59
  define_attribute :shipping, :SubscriptionShippingUpdate
60
60
 
61
61
  # @!attribute tax_inclusive
62
- # @return [Boolean] This field is deprecated. Do not use it anymore to update a subscription's tax inclusivity. Use the POST subscription change route instead.
62
+ # @return [Boolean] This field is deprecated. Please do not use it.
63
63
  define_attribute :tax_inclusive, :Boolean
64
64
 
65
65
  # @!attribute terms_and_conditions
@@ -91,7 +91,7 @@ module Recurly
91
91
  define_attribute :id, String
92
92
 
93
93
  # @!attribute invoice_template_id
94
- # @return [String] Unique ID to identify an invoice template. Available when the Invoice Customization feature is enabled. Used to specify if a non-default invoice template will be used to generate invoices for the account. For sites without multiple invoice templates enabled, the default template will always be used.
94
+ # @return [String] Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise plan. Used to specify if a non-default invoice template will be used to generate invoices for the account. For sites without multiple invoice templates enabled, the default template will always be used.
95
95
  define_attribute :invoice_template_id, String
96
96
 
97
97
  # @!attribute last_name
@@ -13,6 +13,10 @@ module Recurly
13
13
  # @!attribute currency
14
14
  # @return [String] 3-letter ISO 4217 currency code.
15
15
  define_attribute :currency, String
16
+
17
+ # @!attribute processing_prepayment_amount
18
+ # @return [Float] Total amount for the prepayment credit invoices in a `processing` state on the account.
19
+ define_attribute :processing_prepayment_amount, Float
16
20
  end
17
21
  end
18
22
  end
@@ -11,7 +11,7 @@ module Recurly
11
11
  define_attribute :currency, String
12
12
 
13
13
  # @!attribute tax_inclusive
14
- # @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
14
+ # @return [Boolean] This field is deprecated. Please do not use it.
15
15
  define_attribute :tax_inclusive, :Boolean
16
16
 
17
17
  # @!attribute unit_amount
@@ -15,7 +15,7 @@ module Recurly
15
15
  define_attribute :setup_fee, Float
16
16
 
17
17
  # @!attribute tax_inclusive
18
- # @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
18
+ # @return [Boolean] This field is deprecated. Please do not use it.
19
19
  define_attribute :tax_inclusive, :Boolean
20
20
 
21
21
  # @!attribute unit_amount
@@ -11,7 +11,7 @@ module Recurly
11
11
  define_attribute :currency, String
12
12
 
13
13
  # @!attribute tax_inclusive
14
- # @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
14
+ # @return [Boolean] This field is deprecated. Please do not use it.
15
15
  define_attribute :tax_inclusive, :Boolean
16
16
 
17
17
  # @!attribute unit_amount
@@ -67,7 +67,7 @@ module Recurly
67
67
  define_attribute :subscription_id, String
68
68
 
69
69
  # @!attribute tax_inclusive
70
- # @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
70
+ # @return [Boolean] This field is deprecated. Please do not use it.
71
71
  define_attribute :tax_inclusive, :Boolean
72
72
 
73
73
  # @!attribute unit_amount
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.17.0"
2
+ VERSION = "4.18.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -12519,7 +12519,97 @@ paths:
12519
12519
  application/json:
12520
12520
  schema:
12521
12521
  "$ref": "#/components/schemas/Error"
12522
- x-code-samples: []
12522
+ x-code-samples:
12523
+ - lang: Node.js
12524
+ source: |
12525
+ try {
12526
+ const invoiceCollection = await client.getPreviewRenewal(subscriptionId)
12527
+ console.log('Fetched Renewal Preview with total: ', invoiceCollection.chargeInvoice.total)
12528
+ } catch (err) {
12529
+ if (err instanceof recurly.errors.NotFoundError) {
12530
+ // If the request was not found, you may want to alert the user or
12531
+ // just return null
12532
+ console.log('Resource Not Found')
12533
+ } else {
12534
+ // If we don't know what to do with the err, we should
12535
+ // probably re-raise and let our web framework and logger handle it
12536
+ console.log('Unknown Error: ', err)
12537
+ }
12538
+ }
12539
+ - lang: Python
12540
+ source: |
12541
+ try:
12542
+ invoice_collection = client.get_preview_renewal(subscription_id)
12543
+ print("Fetched Renewal Preview with total: %s" % invoice_collection.charge_invoice.total)
12544
+ except recurly.errors.NotFoundError:
12545
+ # If the resource was not found, you may want to alert the user or
12546
+ # just return nil
12547
+ print("Resource Not Found")
12548
+ - lang: ".NET"
12549
+ source: |
12550
+ try
12551
+ {
12552
+ InvoiceCollection invoiceCollection = client.GetPreviewRenewal(subscriptionId);
12553
+ Console.WriteLine($"Fetched Renewal Preview with total {invoiceCollection.ChargeInvoice.Total}");
12554
+ }
12555
+ catch (Recurly.Errors.NotFound ex)
12556
+ {
12557
+ // If the resource was not found
12558
+ // we may want to alert the user or just return null
12559
+ Console.WriteLine($"Resource Not Found: {ex.Error.Message}");
12560
+ }
12561
+ catch (Recurly.Errors.ApiError ex)
12562
+ {
12563
+ // Use ApiError to catch a generic error from the API
12564
+ Console.WriteLine($"Unexpected Recurly Error: {ex.Error.Message}");
12565
+ }
12566
+ - lang: Ruby
12567
+ source: |
12568
+ begin
12569
+ invoice_collection = @client.get_preview_renewal(
12570
+ subscription_id: subscription_id
12571
+ )
12572
+ puts "Fetched Renewal Preview with total: #{invoice_collection.charge_invoice.total}"
12573
+ rescue Recurly::Errors::NotFoundError
12574
+ # If the resource was not found, you may want to alert the user or
12575
+ # just return nil
12576
+ puts "Resource Not Found"
12577
+ end
12578
+ - lang: Java
12579
+ source: |
12580
+ try {
12581
+ final InvoiceCollection invoiceCollection = client.getPreviewRenewal(subscriptionId);
12582
+ System.out.println("Fetched Renewal Preview with total: " + invoiceCollection.getChargeInvoice().getTotal());
12583
+ } catch (ValidationException e) {
12584
+ // If the request was not valid, you may want to tell your user
12585
+ // why. You can find the invalid params and reasons in e.getError().getParams()
12586
+ System.out.println("Failed validation: " + e.getError().getMessage());
12587
+ } catch (ApiException e) {
12588
+ // Use ApiException to catch a generic error from the API
12589
+ System.out.println("Unexpected Recurly Error: " + e.getError().getMessage());
12590
+ }
12591
+ - lang: PHP
12592
+ source: |
12593
+ try {
12594
+ $invoiceCollection = $client->getPreviewRenewal($subscription_id);
12595
+
12596
+ echo 'Fetched Renewal Preview with total: ' . $invoiceCollection->getChargeInvoice()->getTotal() . PHP_EOL;
12597
+ var_dump($invoiceCollection);
12598
+ } catch (\Recurly\Errors\NotFound $e) {
12599
+ // Could not find the resource, you may want to inform the user
12600
+ // or just return a NULL
12601
+ echo 'Could not find resource.' . PHP_EOL;
12602
+ var_dump($e);
12603
+ } catch (\Recurly\RecurlyError $e) {
12604
+ // Something bad happened... tell the user so that they can fix it?
12605
+ echo 'Some unexpected Recurly error happened. Try again later.' . PHP_EOL;
12606
+ }
12607
+ - lang: Go
12608
+ source: "invoiceCollection, err := client.GetPreviewRenewal(subID)\nif e,
12609
+ ok := err.(*recurly.Error); ok {\n\tif e.Type == recurly.ErrorTypeNotFound
12610
+ {\n\t\tfmt.Printf(\"Resource not found: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected
12611
+ Recurly error: %v\", e)\n\treturn nil, err\n}\nfmt.Printf(\"Fetched Renewal
12612
+ Preview with total: %f\", invoiceCollection.ChargeInvoice.Total)"
12523
12613
  "/subscriptions/{subscription_id}/change":
12524
12614
  get:
12525
12615
  tags:
@@ -15852,7 +15942,7 @@ components:
15852
15942
  type: string
15853
15943
  title: Invoice Template ID
15854
15944
  description: Unique ID to identify an invoice template. Available when
15855
- the Invoice Customization feature is enabled. Used to specify which invoice
15945
+ the site is on a Pro or Enterprise plan. Used to specify which invoice
15856
15946
  template, if any, should be used to generate invoices for the account.
15857
15947
  address:
15858
15948
  "$ref": "#/components/schemas/Address"
@@ -15935,7 +16025,7 @@ components:
15935
16025
  type: string
15936
16026
  title: Invoice Template ID
15937
16027
  description: Unique ID to identify an invoice template. Available when the
15938
- Invoice Customization feature is enabled. Used to specify if a non-default
16028
+ site is on a Pro or Enterprise plan. Used to specify if a non-default
15939
16029
  invoice template will be used to generate invoices for the account. For
15940
16030
  sites without multiple invoice templates enabled, the default template
15941
16031
  will always be used.
@@ -16040,6 +16130,12 @@ components:
16040
16130
  format: float
16041
16131
  title: Amount
16042
16132
  description: Total amount the account is past due.
16133
+ processing_prepayment_amount:
16134
+ type: number
16135
+ format: float
16136
+ title: Amount
16137
+ description: Total amount for the prepayment credit invoices in a `processing`
16138
+ state on the account.
16043
16139
  InvoiceAddress:
16044
16140
  allOf:
16045
16141
  - "$ref": "#/components/schemas/Address"
@@ -16805,11 +16901,12 @@ components:
16805
16901
  type: string
16806
16902
  description: Tax identifier is required if adding a billing info that is
16807
16903
  a consumer card in Brazil or in Argentina. This would be the customer's
16808
- CPF (Brazil) and CUIT (Argentina). CPF and CUIT are tax identifiers for
16809
- all residents who pay taxes in Brazil and Argentina respectively.
16904
+ CPF/CNPJ (Brazil) and CUIT (Argentina). CPF, CNPJ and CUIT are tax identifiers
16905
+ for all residents who pay taxes in Brazil and Argentina respectively.
16810
16906
  tax_identifier_type:
16811
- description: This field and a value of `cpf` or `cuit` are required if adding
16812
- a billing info that is an elo or hipercard type in Brazil or in Argentina.
16907
+ description: This field and a value of `cpf`, `cnpj` or `cuit` are required
16908
+ if adding a billing info that is an elo or hipercard type in Brazil or
16909
+ in Argentina.
16813
16910
  "$ref": "#/components/schemas/TaxIdentifierTypeEnum"
16814
16911
  primary_payment_method:
16815
16912
  type: boolean
@@ -19143,9 +19240,8 @@ components:
19143
19240
  type: boolean
19144
19241
  title: Tax Inclusive?
19145
19242
  default: false
19146
- description: Determines whether or not tax is included in the unit amount.
19147
- The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
19148
- feature) must be enabled to use this flag.
19243
+ description: This field is deprecated. Please do not use it.
19244
+ deprecated: true
19149
19245
  PlanUpdate:
19150
19246
  type: object
19151
19247
  properties:
@@ -19307,9 +19403,8 @@ components:
19307
19403
  type: boolean
19308
19404
  title: Tax Inclusive?
19309
19405
  default: false
19310
- description: Determines whether or not tax is included in the unit amount.
19311
- The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
19312
- feature) must be enabled to use this flag.
19406
+ description: This field is deprecated. Please do not use it.
19407
+ deprecated: true
19313
19408
  required:
19314
19409
  - currency
19315
19410
  TierPricing:
@@ -19356,9 +19451,8 @@ components:
19356
19451
  type: boolean
19357
19452
  title: Tax Inclusive?
19358
19453
  default: false
19359
- description: Determines whether or not tax is included in the unit amount.
19360
- The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
19361
- feature) must be enabled to use this flag.
19454
+ description: This field is deprecated. Please do not use it.
19455
+ deprecated: true
19362
19456
  required:
19363
19457
  - currency
19364
19458
  - unit_amount
@@ -20397,9 +20491,8 @@ components:
20397
20491
  type: boolean
20398
20492
  title: Tax Inclusive?
20399
20493
  default: false
20400
- description: Determines whether or not tax is included in the unit amount.
20401
- The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
20402
- feature) must be enabled to use this flag.
20494
+ description: This field is deprecated. Please do not use it.
20495
+ deprecated: true
20403
20496
  quantity:
20404
20497
  type: integer
20405
20498
  title: Subscription quantity
@@ -20491,9 +20584,8 @@ components:
20491
20584
  type: boolean
20492
20585
  title: Tax Inclusive?
20493
20586
  default: false
20494
- description: Determines whether or not tax is included in the unit amount.
20495
- The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
20496
- feature) must be enabled to use this flag.
20587
+ description: This field is deprecated. Please do not use it.
20588
+ deprecated: true
20497
20589
  quantity:
20498
20590
  type: integer
20499
20591
  title: Quantity
@@ -20932,9 +21024,7 @@ components:
20932
21024
  type: boolean
20933
21025
  title: Tax Inclusive?
20934
21026
  default: false
20935
- description: This field is deprecated. Do not use it anymore to update a
20936
- subscription's tax inclusivity. Use the POST subscription change route
20937
- instead.
21027
+ description: This field is deprecated. Please do not use it.
20938
21028
  deprecated: true
20939
21029
  shipping:
20940
21030
  "$ref": "#/components/schemas/SubscriptionShippingUpdate"
@@ -22074,11 +22164,13 @@ components:
22074
22164
  - ko-KR
22075
22165
  - nl-BE
22076
22166
  - nl-NL
22167
+ - pl-PL
22077
22168
  - pt-BR
22078
22169
  - pt-PT
22079
22170
  - ro-RO
22080
22171
  - ru-RU
22081
22172
  - sk-SK
22173
+ - sv-SE
22082
22174
  - tr-TR
22083
22175
  - zh-CN
22084
22176
  BillToEnum:
@@ -22752,6 +22844,7 @@ components:
22752
22844
  type: string
22753
22845
  enum:
22754
22846
  - cpf
22847
+ - cnpj
22755
22848
  - cuit
22756
22849
  DunningCycleTypeEnum:
22757
22850
  type: string
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.17.0
4
+ version: 4.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-15 00:00:00.000000000 Z
11
+ date: 2022-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -119,10 +119,10 @@ files:
119
119
  - ".changelog_config.yaml"
120
120
  - ".github/ISSUE_TEMPLATE/bug-report.md"
121
121
  - ".github/ISSUE_TEMPLATE/question-or-other.md"
122
+ - ".github/workflows/ci.yml"
122
123
  - ".github/workflows/docs.yml"
123
124
  - ".gitignore"
124
125
  - ".rspec"
125
- - ".travis.yml"
126
126
  - ".yardopts"
127
127
  - CHANGELOG.md
128
128
  - CODE_OF_CONDUCT.md
@@ -309,7 +309,7 @@ metadata:
309
309
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
310
310
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
311
311
  homepage_uri: https://github.com/recurly/recurly-client-ruby
312
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.17.0
312
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.18.0
313
313
  post_install_message:
314
314
  rdoc_options: []
315
315
  require_paths:
data/.travis.yml DELETED
@@ -1,16 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.4
5
- - 2.5
6
- - 2.6
7
- - 2.7
8
- - 3.0
9
- bundler_args: --binstubs
10
- before_install:
11
- - sudo apt-get update && sudo apt-get install apt-transport-https ca-certificates -y && sudo update-ca-certificates
12
- - gem update --system
13
- - gem install bundler
14
- dist: focal
15
- script:
16
- - ./scripts/test