recurly 4.18.0 → 4.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +11 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/requests/billing_info_create.rb +4 -0
- data/lib/recurly/resources/line_item.rb +4 -0
- data/lib/recurly/resources/subscription.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +14 -0
- 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: c861b2e79ebc5e861d6af500bd9feabc26acf6eefb255a1f135a8fd0e662f76f
|
|
4
|
+
data.tar.gz: 9e64e7ebd57db00dfb3ecc87df92e997cb4e0f260b39321494d33c68840eb8b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1fb332313015a7601d6d39a4a170b67472d1058ba6723c2e0fb0f6ca45af7bd9daa4663e55eb1b6c62e304534ea59f69079f6579d56f7e0651b95a2d0a42043d
|
|
7
|
+
data.tar.gz: d062c28eaef0f6cb6f27001b0573db8939d777fb29db554d857c9469d2784ff9857e2bd0bb9eaab8c24a5c4c6ed18d65fa9d8ec54d55c82179f98043f724cf9a
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.19.0](https://github.com/recurly/recurly-client-ruby/tree/4.19.0) (2022-07-11)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.18.0...4.19.0)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Merged Pull Requests**
|
|
9
|
+
|
|
10
|
+
- Generated Latest Changes for v2021-02-25 [#778](https://github.com/recurly/recurly-client-ruby/pull/778) ([recurly-integrations](https://github.com/recurly-integrations))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
3
14
|
## [4.18.0](https://github.com/recurly/recurly-client-ruby/tree/4.18.0) (2022-06-16)
|
|
4
15
|
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.17.0...4.18.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.19'
|
|
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.
|
|
@@ -26,6 +26,10 @@ module Recurly
|
|
|
26
26
|
# @return [Boolean] The `backup_payment_method` field is used to designate a billing info as a backup on the account that will be tried if the initial billing info used for an invoice is declined. All payment methods, including the billing info marked `primary_payment_method` can be set as a backup. An account can have a maximum of 1 backup, if a user sets a different payment method as a backup, the existing backup will no longer be marked as such.
|
|
27
27
|
define_attribute :backup_payment_method, :Boolean
|
|
28
28
|
|
|
29
|
+
# @!attribute card_type
|
|
30
|
+
# @return [String]
|
|
31
|
+
define_attribute :card_type, String
|
|
32
|
+
|
|
29
33
|
# @!attribute company
|
|
30
34
|
# @return [String] Company name
|
|
31
35
|
define_attribute :company, String
|
|
@@ -174,6 +174,10 @@ module Recurly
|
|
|
174
174
|
# @return [Boolean] `true` exempts tax on charges, `false` applies tax on charges. If not defined, then defaults to the Plan and Site settings. This attribute does not work for credits (negative line items). Credits are always applied post-tax. Pre-tax discounts should use the Coupons feature.
|
|
175
175
|
define_attribute :tax_exempt, :Boolean
|
|
176
176
|
|
|
177
|
+
# @!attribute tax_inclusive
|
|
178
|
+
# @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 utilize this flag.
|
|
179
|
+
define_attribute :tax_inclusive, :Boolean
|
|
180
|
+
|
|
177
181
|
# @!attribute tax_info
|
|
178
182
|
# @return [TaxInfo] Tax info
|
|
179
183
|
define_attribute :tax_info, :TaxInfo
|
|
@@ -158,6 +158,10 @@ module Recurly
|
|
|
158
158
|
# @return [Float] Estimated tax
|
|
159
159
|
define_attribute :tax, Float
|
|
160
160
|
|
|
161
|
+
# @!attribute tax_inclusive
|
|
162
|
+
# @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 utilize this flag.
|
|
163
|
+
define_attribute :tax_inclusive, :Boolean
|
|
164
|
+
|
|
161
165
|
# @!attribute tax_info
|
|
162
166
|
# @return [TaxInfo] Tax info
|
|
163
167
|
define_attribute :tax_info, :TaxInfo
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
|
@@ -16931,6 +16931,8 @@ components:
|
|
|
16931
16931
|
"$ref": "#/components/schemas/ExternalHppTypeEnum"
|
|
16932
16932
|
online_banking_payment_type:
|
|
16933
16933
|
"$ref": "#/components/schemas/OnlineBankingPaymentTypeEnum"
|
|
16934
|
+
card_type:
|
|
16935
|
+
"$ref": "#/components/schemas/CardTypeEnum"
|
|
16934
16936
|
BillingInfoVerify:
|
|
16935
16937
|
type: object
|
|
16936
16938
|
properties:
|
|
@@ -18580,6 +18582,12 @@ components:
|
|
|
18580
18582
|
type: string
|
|
18581
18583
|
title: Unit amount decimal
|
|
18582
18584
|
description: Positive amount for a charge, negative amount for a credit.
|
|
18585
|
+
tax_inclusive:
|
|
18586
|
+
type: boolean
|
|
18587
|
+
title: Tax Inclusive?
|
|
18588
|
+
description: Determines whether or not tax is included in the unit amount.
|
|
18589
|
+
The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
|
|
18590
|
+
feature) must be enabled to utilize this flag.
|
|
18583
18591
|
subtotal:
|
|
18584
18592
|
type: number
|
|
18585
18593
|
format: float
|
|
@@ -20059,6 +20067,12 @@ components:
|
|
|
20059
20067
|
type: number
|
|
20060
20068
|
format: float
|
|
20061
20069
|
title: Subscription unit price
|
|
20070
|
+
tax_inclusive:
|
|
20071
|
+
type: boolean
|
|
20072
|
+
title: Tax Inclusive?
|
|
20073
|
+
description: Determines whether or not tax is included in the unit amount.
|
|
20074
|
+
The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing
|
|
20075
|
+
feature) must be enabled to utilize this flag.
|
|
20062
20076
|
quantity:
|
|
20063
20077
|
type: integer
|
|
20064
20078
|
title: Subscription quantity
|
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.19.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-
|
|
11
|
+
date: 2022-07-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -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.
|
|
312
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.19.0
|
|
313
313
|
post_install_message:
|
|
314
314
|
rdoc_options: []
|
|
315
315
|
require_paths:
|