recurly 4.49.0 → 4.51.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: 651f90269f3e7215a32d9370d6d67868d6e637cc9b427188f0bf7e59ee110ae1
4
- data.tar.gz: 508d931241eeeb9b982e02262ecbf68cfe7882b381fdccbdbfa4a56375984f7b
3
+ metadata.gz: e01ae5745985762bbcaec95acc2017a36a6c83e90fca9a3ba16e95af80fc2cd4
4
+ data.tar.gz: 4732478ca9efe1f41eadc5df91e5e86a26b4e6eb5debd462b7b1182a00bcd43d
5
5
  SHA512:
6
- metadata.gz: c2866ac0aa0f43dd73d1166b5756428dc30e38bb9fd1ff5e4243c277e508726a81d591704e74af67a02eaf4217befde72c1c5d44c669fbbbd16b2a655ead53d7
7
- data.tar.gz: 8c42d6c8788a97cbe158012901fc5393df9dd31256b5d93bd3ac10bed954cb3723b4059f28ce2c80a15641eea098d7ff840fb67896ee5d41c2e6fb8091127134
6
+ metadata.gz: a92f69c06f531741e9e0276a8533315c0a058a9340a90d0d07baa4c2f5b6bc8e12606c58429849afccdcd63d6ec29e76e6ed0743f0530b53183e4113d22072b1
7
+ data.tar.gz: 1971bb23e736482d5c77b948a54126ac8ca5dbc0fb6fbc31cd54f50b302a99b5a538ac1323bc169f572fcd0cec806a797204d7931602fce4c1f5dceaa192b10a
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.49.0
2
+ current_version = 4.51.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.51.0](https://github.com/recurly/recurly-client-ruby/tree/4.51.0) (2024-05-24)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.50.0...4.51.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2021-02-25 (Entity Use Code) [#902](https://github.com/recurly/recurly-client-ruby/pull/902) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
14
+ ## [4.50.0](https://github.com/recurly/recurly-client-ruby/tree/4.50.0) (2024-05-08)
15
+
16
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.49.0...4.50.0)
17
+
18
+
19
+ **Merged Pull Requests**
20
+
21
+ - Generated Latest Changes for v2021-02-25 (Proration Settings) [#901](https://github.com/recurly/recurly-client-ruby/pull/901) ([recurly-integrations](https://github.com/recurly-integrations))
22
+
23
+
24
+
3
25
  ## [4.49.0](https://github.com/recurly/recurly-client-ruby/tree/4.49.0) (2024-05-01)
4
26
 
5
27
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.48.1...4.49.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.49'
8
+ gem 'recurly', '~> 4.51'
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.
@@ -46,6 +46,10 @@ module Recurly
46
46
  # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
47
47
  define_attribute :email, String
48
48
 
49
+ # @!attribute entity_use_code
50
+ # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
51
+ define_attribute :entity_use_code, String
52
+
49
53
  # @!attribute exemption_certificate
50
54
  # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
51
55
  define_attribute :exemption_certificate, String
@@ -46,6 +46,10 @@ module Recurly
46
46
  # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
47
47
  define_attribute :email, String
48
48
 
49
+ # @!attribute entity_use_code
50
+ # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
51
+ define_attribute :entity_use_code, String
52
+
49
53
  # @!attribute exemption_certificate
50
54
  # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
51
55
  define_attribute :exemption_certificate, String
@@ -38,6 +38,10 @@ module Recurly
38
38
  # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
39
39
  define_attribute :email, String
40
40
 
41
+ # @!attribute entity_use_code
42
+ # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
43
+ define_attribute :entity_use_code, String
44
+
41
45
  # @!attribute exemption_certificate
42
46
  # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
43
47
  define_attribute :exemption_certificate, String
@@ -0,0 +1,18 @@
1
+ # This file is automatically created by Recurly's OpenAPI generation process
2
+ # and thus any edits you make by hand will be lost. If you wish to make a
3
+ # change to this file, please create a Github issue explaining the changes you
4
+ # need and we will usher them to the appropriate places.
5
+ module Recurly
6
+ module Requests
7
+ class ProrationSettings < Request
8
+
9
+ # @!attribute charge
10
+ # @return [String] Determines how the amount charged is determined for this change
11
+ define_attribute :charge, String
12
+
13
+ # @!attribute credit
14
+ # @return [String] Determines how the amount credited is determined for this change
15
+ define_attribute :credit, String
16
+ end
17
+ end
18
+ end
@@ -46,6 +46,10 @@ module Recurly
46
46
  # @return [String] For manual invoicing, this identifies the PO number associated with the subscription.
47
47
  define_attribute :po_number, String
48
48
 
49
+ # @!attribute proration_settings
50
+ # @return [ProrationSettings] Allows you to control how any resulting charges and credits will be calculated and prorated.
51
+ define_attribute :proration_settings, :ProrationSettings
52
+
49
53
  # @!attribute quantity
50
54
  # @return [Integer] Optionally override the default quantity of 1.
51
55
  define_attribute :quantity, Integer
@@ -50,6 +50,10 @@ module Recurly
50
50
  # @return [String] The email address used for communicating with this customer. The customer will also use this email address to log into your hosted account management pages. This value does not need to be unique.
51
51
  define_attribute :email, String
52
52
 
53
+ # @!attribute entity_use_code
54
+ # @return [String] The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.
55
+ define_attribute :entity_use_code, String
56
+
53
57
  # @!attribute exemption_certificate
54
58
  # @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
55
59
  define_attribute :exemption_certificate, String
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.49.0"
2
+ VERSION = "4.51.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -17474,6 +17474,11 @@ components:
17474
17474
  "$ref": "#/components/schemas/BillingInfoCreate"
17475
17475
  custom_fields:
17476
17476
  "$ref": "#/components/schemas/CustomFields"
17477
+ entity_use_code:
17478
+ type: string
17479
+ description: The Avalara AvaTax value that can be passed to identify the
17480
+ customer type for tax purposes. The range of values can be A - R (more
17481
+ info at Avalara). Value is case-sensitive.
17477
17482
  AccountResponse:
17478
17483
  type: object
17479
17484
  properties:
@@ -17575,6 +17580,11 @@ components:
17575
17580
  "$ref": "#/components/schemas/BillingInfo"
17576
17581
  custom_fields:
17577
17582
  "$ref": "#/components/schemas/CustomFields"
17583
+ entity_use_code:
17584
+ type: string
17585
+ description: The Avalara AvaTax value that can be passed to identify the
17586
+ customer type for tax purposes. The range of values can be A - R (more
17587
+ info at Avalara). Value is case-sensitive.
17578
17588
  AccountNote:
17579
17589
  type: object
17580
17590
  required:
@@ -21253,6 +21263,34 @@ components:
21253
21263
  description: |
21254
21264
  The percentage taken of the monetary amount of usage tracked.
21255
21265
  This can be up to 4 decimal places represented as a string.
21266
+ ProrationSettings:
21267
+ type: object
21268
+ title: Proration Settings
21269
+ description: Allows you to control how any resulting charges and credits will
21270
+ be calculated and prorated.
21271
+ properties:
21272
+ charge:
21273
+ "$ref": "#/components/schemas/ProrationSettingsChargeEnum"
21274
+ credit:
21275
+ "$ref": "#/components/schemas/ProrationSettingsCreditEnum"
21276
+ ProrationSettingsChargeEnum:
21277
+ type: string
21278
+ title: Charge
21279
+ description: Determines how the amount charged is determined for this change
21280
+ default: prorated_amount
21281
+ enum:
21282
+ - full_amount
21283
+ - prorated_amount
21284
+ - none
21285
+ ProrationSettingsCreditEnum:
21286
+ type: string
21287
+ title: Credit
21288
+ description: Determines how the amount credited is determined for this change
21289
+ default: prorated_amount
21290
+ enum:
21291
+ - full_amount
21292
+ - prorated_amount
21293
+ - none
21256
21294
  Settings:
21257
21295
  type: object
21258
21296
  properties:
@@ -22476,6 +22514,8 @@ components:
22476
22514
  description: The new set of ramp intervals for the subscription.
22477
22515
  items:
22478
22516
  "$ref": "#/components/schemas/SubscriptionRampInterval"
22517
+ proration_settings:
22518
+ "$ref": "#/components/schemas/ProrationSettings"
22479
22519
  SubscriptionChangeShippingCreate:
22480
22520
  type: object
22481
22521
  title: Shipping details that will be changed on a subscription
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.49.0
4
+ version: 4.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-01 00:00:00.000000000 Z
11
+ date: 2024-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -201,6 +201,7 @@ files:
201
201
  - lib/recurly/requests/plan_ramp_pricing.rb
202
202
  - lib/recurly/requests/plan_update.rb
203
203
  - lib/recurly/requests/pricing.rb
204
+ - lib/recurly/requests/proration_settings.rb
204
205
  - lib/recurly/requests/purchase_create.rb
205
206
  - lib/recurly/requests/shipping_address_create.rb
206
207
  - lib/recurly/requests/shipping_address_update.rb
@@ -350,7 +351,7 @@ metadata:
350
351
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
351
352
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
352
353
  homepage_uri: https://github.com/recurly/recurly-client-ruby
353
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.49.0
354
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.51.0
354
355
  post_install_message:
355
356
  rdoc_options: []
356
357
  require_paths: