recurly 4.53.0 → 4.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +22 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/client/operations.rb +1 -1
- data/lib/recurly/requests/add_on_create.rb +1 -1
- data/lib/recurly/requests/add_on_update.rb +1 -1
- data/lib/recurly/requests/invoice_refund.rb +5 -1
- data/lib/recurly/requests/item_create.rb +1 -1
- data/lib/recurly/requests/item_update.rb +1 -1
- data/lib/recurly/requests/line_item_create.rb +1 -1
- data/lib/recurly/requests/line_item_refund.rb +10 -2
- data/lib/recurly/requests/plan_create.rb +1 -1
- data/lib/recurly/requests/plan_update.rb +1 -1
- data/lib/recurly/resources/add_on.rb +1 -1
- data/lib/recurly/resources/external_subscription.rb +4 -0
- data/lib/recurly/resources/item.rb +1 -1
- data/lib/recurly/resources/line_item.rb +1 -1
- data/lib/recurly/resources/plan.rb +1 -1
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +117 -67
- 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: bec052486664e86016dba2616e73688fc2d084b14de08c705ef5e89d9af4a920
|
4
|
+
data.tar.gz: 030cf089953c619d3000279186b9944849064094b24c9614a10cfa75e878633b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a692def551661809413225984acb0c946b692dc2ab51d5bf246e40b056b68043c47578742275726489eb702fda44a54ea2f3172ce3606b52af7ed9a160987983
|
7
|
+
data.tar.gz: 3448a1ec74b6e710c07241afdae2f6081a6645b41a5f79c3b014b41174491bdb7768570ca8eb2a4c13d1084e69b60f05fb139930d591321277bf579b92e7045d
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.55.0](https://github.com/recurly/recurly-client-ruby/tree/4.55.0) (2024-08-28)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.54.0...4.55.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 (add UUID to external subscriptions) [#914](https://github.com/recurly/recurly-client-ruby/pull/914) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [4.54.0](https://github.com/recurly/recurly-client-ruby/tree/4.54.0) (2024-08-21)
|
15
|
+
|
16
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.53.0...4.54.0)
|
17
|
+
|
18
|
+
|
19
|
+
**Merged Pull Requests**
|
20
|
+
|
21
|
+
- Generated Latest Changes for v2021-02-25 (Line Item Refunds) [#912](https://github.com/recurly/recurly-client-ruby/pull/912) ([recurly-integrations](https://github.com/recurly-integrations))
|
22
|
+
|
23
|
+
|
24
|
+
|
3
25
|
## [4.53.0](https://github.com/recurly/recurly-client-ruby/tree/4.53.0) (2024-07-03)
|
4
26
|
|
5
27
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.52.0...4.53.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.55'
|
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.
|
@@ -2403,7 +2403,7 @@ module Recurly
|
|
2403
2403
|
#
|
2404
2404
|
# {https://developers.recurly.com/api/v2021-02-25#operation/get_external_subscription get_external_subscription api documentation}
|
2405
2405
|
#
|
2406
|
-
# @param external_subscription_id [String] External subscription ID or
|
2406
|
+
# @param external_subscription_id [String] External subscription ID, external_id or uuid. For ID no prefix is used e.g. +e28zov4fw0v2+. For external_id use prefix +external-id-+, e.g. +external-id-123456+ and for uuid use prefix +uuid-+ e.g. +uuid-7293239bae62777d8c1ae044a9843633+.
|
2407
2407
|
# @param params [Hash] Optional query string parameters:
|
2408
2408
|
#
|
2409
2409
|
# @return [Resources::ExternalSubscription] Settings for an external subscription.
|
@@ -87,7 +87,7 @@ module Recurly
|
|
87
87
|
define_attribute :revenue_schedule_type, String
|
88
88
|
|
89
89
|
# @!attribute tax_code
|
90
|
-
# @return [String] Optional field used by Avalara, Vertex, and Recurly's
|
90
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. If `item_code`/`item_id` is part of the request then `tax_code` must be absent.
|
91
91
|
define_attribute :tax_code, String
|
92
92
|
|
93
93
|
# @!attribute tier_type
|
@@ -75,7 +75,7 @@ module Recurly
|
|
75
75
|
define_attribute :revenue_schedule_type, String
|
76
76
|
|
77
77
|
# @!attribute tax_code
|
78
|
-
# @return [String] Optional field used by Avalara, Vertex, and Recurly's
|
78
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. If an `Item` is associated to the `AddOn` then `tax_code` must be absent.
|
79
79
|
define_attribute :tax_code, String
|
80
80
|
|
81
81
|
# @!attribute tiers
|
@@ -7,7 +7,7 @@ module Recurly
|
|
7
7
|
class InvoiceRefund < Request
|
8
8
|
|
9
9
|
# @!attribute amount
|
10
|
-
# @return [Float] The amount to be refunded. The amount will be split between the line items. If no amount is specified, it will default to refunding the total refundable amount on the invoice.
|
10
|
+
# @return [Float] The amount to be refunded. The amount will be split between the line items. If `type` is "amount" and no amount is specified, it will default to refunding the total refundable amount on the invoice. Can only be present if `type` is "amount".
|
11
11
|
define_attribute :amount, Float
|
12
12
|
|
13
13
|
# @!attribute credit_customer_notes
|
@@ -22,6 +22,10 @@ module Recurly
|
|
22
22
|
# @return [Array[LineItemRefund]] The line items to be refunded. This is required when `type=line_items`.
|
23
23
|
define_attribute :line_items, Array, { :item_type => :LineItemRefund }
|
24
24
|
|
25
|
+
# @!attribute percentage
|
26
|
+
# @return [Integer] The percentage of the remaining balance to be refunded. The percentage will be split between the line items. If `type` is "percentage" and no percentage is specified, it will default to refunding 100% of the refundable amount on the invoice. Can only be present if `type` is "percentage".
|
27
|
+
define_attribute :percentage, Integer
|
28
|
+
|
25
29
|
# @!attribute refund_method
|
26
30
|
# @return [String] Indicates how the invoice should be refunded when both a credit and transaction are present on the invoice: - `transaction_first` – Refunds the transaction first, then any amount is issued as credit back to the account. Default value when Credit Invoices feature is enabled. - `credit_first` – Issues credit back to the account first, then refunds any remaining amount back to the transaction. Default value when Credit Invoices feature is not enabled. - `all_credit` – Issues credit to the account for the entire amount of the refund. Only available when the Credit Invoices feature is enabled. - `all_transaction` – Refunds the entire amount back to transactions, using transactions from previous invoices if necessary. Only available when the Credit Invoices feature is enabled.
|
27
31
|
define_attribute :refund_method, String
|
@@ -59,7 +59,7 @@ module Recurly
|
|
59
59
|
define_attribute :revenue_schedule_type, String
|
60
60
|
|
61
61
|
# @!attribute tax_code
|
62
|
-
# @return [String]
|
62
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
|
63
63
|
define_attribute :tax_code, String
|
64
64
|
|
65
65
|
# @!attribute tax_exempt
|
@@ -59,7 +59,7 @@ module Recurly
|
|
59
59
|
define_attribute :revenue_schedule_type, String
|
60
60
|
|
61
61
|
# @!attribute tax_code
|
62
|
-
# @return [String]
|
62
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
|
63
63
|
define_attribute :tax_code, String
|
64
64
|
|
65
65
|
# @!attribute tax_exempt
|
@@ -87,7 +87,7 @@ module Recurly
|
|
87
87
|
define_attribute :start_date, DateTime
|
88
88
|
|
89
89
|
# @!attribute tax_code
|
90
|
-
# @return [String] Optional field used by Avalara, Vertex, and Recurly's
|
90
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
|
91
91
|
define_attribute :tax_code, String
|
92
92
|
|
93
93
|
# @!attribute tax_exempt
|
@@ -6,20 +6,28 @@ module Recurly
|
|
6
6
|
module Requests
|
7
7
|
class LineItemRefund < Request
|
8
8
|
|
9
|
+
# @!attribute amount
|
10
|
+
# @return [Float] The specific amount to be refunded from the adjustment. Must be less than or equal to the adjustment's remaining balance. If `quantity`, `quantity_decimal` and `percentage` are not present, `amount` is required. If `quantity`, `quantity_decimal`, or `percentage` is present, `amount` must be absent.
|
11
|
+
define_attribute :amount, Float
|
12
|
+
|
9
13
|
# @!attribute id
|
10
14
|
# @return [String] Line item ID
|
11
15
|
define_attribute :id, String
|
12
16
|
|
17
|
+
# @!attribute percentage
|
18
|
+
# @return [Integer] The percentage of the adjustment's remaining balance to refund. If `quantity`, `quantity_decimal` and `amount_in_cents` are not present, `percentage` is required. If `quantity`, `quantity_decimal` or `amount_in_cents` is present, `percentage` must be absent.
|
19
|
+
define_attribute :percentage, Integer
|
20
|
+
|
13
21
|
# @!attribute prorate
|
14
22
|
# @return [Boolean] Set to `true` if the line item should be prorated; set to `false` if not. This can only be used on line items that have a start and end date.
|
15
23
|
define_attribute :prorate, :Boolean
|
16
24
|
|
17
25
|
# @!attribute quantity
|
18
|
-
# @return [Integer] Line item quantity to be refunded.
|
26
|
+
# @return [Integer] Line item quantity to be refunded. Must be less than or equal to the `quantity_remaining`. If `quantity_decimal`, `amount`, and `percentage` are not present, `quantity` is required. If `amount` or `percentage` is present, `quantity` must be absent.
|
19
27
|
define_attribute :quantity, Integer
|
20
28
|
|
21
29
|
# @!attribute quantity_decimal
|
22
|
-
# @return [String]
|
30
|
+
# @return [String] Decimal quantity to refund. The `quantity_decimal` will be used to refund charges that has a NOT null quantity decimal. Must be less than or equal to the `quantity_decimal_remaining`. If `quantity`, `amount`, and `percentage` are not present, `quantity_decimal` is required. If `amount` or `percentage` is present, `quantity_decimal` must be absent. The Decimal Quantity feature must be enabled to utilize this field.
|
23
31
|
define_attribute :quantity_decimal, String
|
24
32
|
end
|
25
33
|
end
|
@@ -111,7 +111,7 @@ module Recurly
|
|
111
111
|
define_attribute :setup_fee_revenue_schedule_type, String
|
112
112
|
|
113
113
|
# @!attribute tax_code
|
114
|
-
# @return [String] Optional field used by Avalara, Vertex, and Recurly's
|
114
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
|
115
115
|
define_attribute :tax_code, String
|
116
116
|
|
117
117
|
# @!attribute tax_exempt
|
@@ -99,7 +99,7 @@ module Recurly
|
|
99
99
|
define_attribute :setup_fee_revenue_schedule_type, String
|
100
100
|
|
101
101
|
# @!attribute tax_code
|
102
|
-
# @return [String] Optional field used by Avalara, Vertex, and Recurly's
|
102
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
|
103
103
|
define_attribute :tax_code, String
|
104
104
|
|
105
105
|
# @!attribute tax_exempt
|
@@ -103,7 +103,7 @@ module Recurly
|
|
103
103
|
define_attribute :state, String
|
104
104
|
|
105
105
|
# @!attribute tax_code
|
106
|
-
# @return [String]
|
106
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. If `item_code`/`item_id` is part of the request then `tax_code` must be absent.
|
107
107
|
define_attribute :tax_code, String
|
108
108
|
|
109
109
|
# @!attribute tier_type
|
@@ -89,6 +89,10 @@ module Recurly
|
|
89
89
|
# @!attribute updated_at
|
90
90
|
# @return [DateTime] When the external subscription was updated in Recurly.
|
91
91
|
define_attribute :updated_at, DateTime
|
92
|
+
|
93
|
+
# @!attribute uuid
|
94
|
+
# @return [String] Universally Unique Identifier created automatically.
|
95
|
+
define_attribute :uuid, String
|
92
96
|
end
|
93
97
|
end
|
94
98
|
end
|
@@ -79,7 +79,7 @@ module Recurly
|
|
79
79
|
define_attribute :state, String
|
80
80
|
|
81
81
|
# @!attribute tax_code
|
82
|
-
# @return [String]
|
82
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
|
83
83
|
define_attribute :tax_code, String
|
84
84
|
|
85
85
|
# @!attribute tax_exempt
|
@@ -199,7 +199,7 @@ module Recurly
|
|
199
199
|
define_attribute :tax, Float
|
200
200
|
|
201
201
|
# @!attribute tax_code
|
202
|
-
# @return [String]
|
202
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
|
203
203
|
define_attribute :tax_code, String
|
204
204
|
|
205
205
|
# @!attribute tax_exempt
|
@@ -103,7 +103,7 @@ module Recurly
|
|
103
103
|
define_attribute :state, String
|
104
104
|
|
105
105
|
# @!attribute tax_code
|
106
|
-
# @return [String]
|
106
|
+
# @return [String] Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
|
107
107
|
define_attribute :tax_code, String
|
108
108
|
|
109
109
|
# @!attribute tax_exempt
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -16743,8 +16743,9 @@ components:
|
|
16743
16743
|
external_subscription_id_fetch:
|
16744
16744
|
name: external_subscription_id
|
16745
16745
|
in: path
|
16746
|
-
description: External subscription ID or
|
16747
|
-
e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g.
|
16746
|
+
description: External subscription ID, external_id or uuid. For ID no prefix
|
16747
|
+
is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g.
|
16748
|
+
`external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.
|
16748
16749
|
required: true
|
16749
16750
|
schema:
|
16750
16751
|
type: string
|
@@ -18148,11 +18149,14 @@ components:
|
|
18148
18149
|
minimum: 0
|
18149
18150
|
tax_code:
|
18150
18151
|
type: string
|
18151
|
-
title: Tax code
|
18152
|
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
|
18153
|
-
The tax code values are specific to each tax system. If you are using
|
18154
|
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
|
18155
18152
|
maxLength: 50
|
18153
|
+
title: Tax code
|
18154
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
18155
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
18156
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
18157
|
+
offering you can also choose to instead use simple values of `unknown`,
|
18158
|
+
`physical`, or `digital` tax codes. If `item_code`/`item_id` is part of
|
18159
|
+
the request then `tax_code` must be absent.
|
18156
18160
|
display_quantity:
|
18157
18161
|
type: boolean
|
18158
18162
|
title: Display quantity?
|
@@ -18367,14 +18371,14 @@ components:
|
|
18367
18371
|
minimum: 0
|
18368
18372
|
tax_code:
|
18369
18373
|
type: string
|
18370
|
-
title: Tax code
|
18371
|
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
|
18372
|
-
tax feature to determine taxation rules. If you have your own AvaTax or
|
18373
|
-
Vertex account configured, use their tax codes to assign specific tax
|
18374
|
-
rules. If you are using Recurly's EU VAT feature, you can use values of
|
18375
|
-
`unknown`, `physical`, or `digital`. If `item_code`/`item_id` is part
|
18376
|
-
of the request then `tax_code` must be absent.
|
18377
18374
|
maxLength: 50
|
18375
|
+
title: Tax code
|
18376
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
18377
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
18378
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
18379
|
+
offering you can also choose to instead use simple values of `unknown`,
|
18380
|
+
`physical`, or `digital` tax codes. If `item_code`/`item_id` is part of
|
18381
|
+
the request then `tax_code` must be absent.
|
18378
18382
|
currencies:
|
18379
18383
|
type: array
|
18380
18384
|
title: Add-on pricing
|
@@ -18522,14 +18526,14 @@ components:
|
|
18522
18526
|
minimum: 0
|
18523
18527
|
tax_code:
|
18524
18528
|
type: string
|
18525
|
-
title: Tax code
|
18526
|
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
|
18527
|
-
tax feature to determine taxation rules. If you have your own AvaTax or
|
18528
|
-
Vertex account configured, use their tax codes to assign specific tax
|
18529
|
-
rules. If you are using Recurly's EU VAT feature, you can use values of
|
18530
|
-
`unknown`, `physical`, or `digital`. If an `Item` is associated to the
|
18531
|
-
`AddOn` then `tax code` must be absent.
|
18532
18529
|
maxLength: 50
|
18530
|
+
title: Tax code
|
18531
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
18532
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
18533
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
18534
|
+
offering you can also choose to instead use simple values of `unknown`,
|
18535
|
+
`physical`, or `digital` tax codes. If an `Item` is associated to the
|
18536
|
+
`AddOn` then `tax_code` must be absent.
|
18533
18537
|
display_quantity:
|
18534
18538
|
type: boolean
|
18535
18539
|
title: Display quantity?
|
@@ -19808,11 +19812,13 @@ components:
|
|
19808
19812
|
minimum: 0
|
19809
19813
|
tax_code:
|
19810
19814
|
type: string
|
19811
|
-
title: Tax code
|
19812
|
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
|
19813
|
-
The tax code values are specific to each tax system. If you are using
|
19814
|
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
|
19815
19815
|
maxLength: 50
|
19816
|
+
title: Tax code
|
19817
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
19818
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
19819
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
19820
|
+
offering you can also choose to instead use simple values of `unknown`,
|
19821
|
+
`physical`, or `digital` tax codes.
|
19816
19822
|
tax_exempt:
|
19817
19823
|
type: boolean
|
19818
19824
|
title: Tax exempt?
|
@@ -19916,11 +19922,13 @@ components:
|
|
19916
19922
|
minimum: 0
|
19917
19923
|
tax_code:
|
19918
19924
|
type: string
|
19919
|
-
title: Tax code
|
19920
|
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
|
19921
|
-
The tax code values are specific to each tax system. If you are using
|
19922
|
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
|
19923
19925
|
maxLength: 50
|
19926
|
+
title: Tax code
|
19927
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
19928
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
19929
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
19930
|
+
offering you can also choose to instead use simple values of `unknown`,
|
19931
|
+
`physical`, or `digital` tax codes.
|
19924
19932
|
tax_exempt:
|
19925
19933
|
type: boolean
|
19926
19934
|
title: Tax exempt?
|
@@ -20012,11 +20020,13 @@ components:
|
|
20012
20020
|
minimum: 0
|
20013
20021
|
tax_code:
|
20014
20022
|
type: string
|
20015
|
-
title: Tax code
|
20016
|
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
|
20017
|
-
The tax code values are specific to each tax system. If you are using
|
20018
|
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
|
20019
20023
|
maxLength: 50
|
20024
|
+
title: Tax code
|
20025
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
20026
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
20027
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
20028
|
+
offering you can also choose to instead use simple values of `unknown`,
|
20029
|
+
`physical`, or `digital` tax codes.
|
20020
20030
|
tax_exempt:
|
20021
20031
|
type: boolean
|
20022
20032
|
title: Tax exempt?
|
@@ -20466,7 +20476,16 @@ components:
|
|
20466
20476
|
title: Amount
|
20467
20477
|
description: |
|
20468
20478
|
The amount to be refunded. The amount will be split between the line items.
|
20469
|
-
If no amount is specified, it will default to refunding the total refundable amount on the invoice.
|
20479
|
+
If `type` is "amount" and no amount is specified, it will default to refunding the total refundable amount on the invoice. Can only be present if `type` is "amount".
|
20480
|
+
percentage:
|
20481
|
+
type: integer
|
20482
|
+
title: Percentage
|
20483
|
+
description: The percentage of the remaining balance to be refunded. The
|
20484
|
+
percentage will be split between the line items. If `type` is "percentage"
|
20485
|
+
and no percentage is specified, it will default to refunding 100% of the
|
20486
|
+
refundable amount on the invoice. Can only be present if `type` is "percentage".
|
20487
|
+
minimum: 1
|
20488
|
+
maximum: 100
|
20470
20489
|
line_items:
|
20471
20490
|
type: array
|
20472
20491
|
title: Line items
|
@@ -20482,7 +20501,7 @@ components:
|
|
20482
20501
|
- `all_credit` – Issues credit to the account for the entire amount of the refund. Only available when the Credit Invoices feature is enabled.
|
20483
20502
|
- `all_transaction` – Refunds the entire amount back to transactions, using transactions from previous invoices if necessary. Only available when the Credit Invoices feature is enabled.
|
20484
20503
|
default: credit_first
|
20485
|
-
"$ref": "#/components/schemas/
|
20504
|
+
"$ref": "#/components/schemas/RefundMethodEnum"
|
20486
20505
|
credit_customer_notes:
|
20487
20506
|
type: string
|
20488
20507
|
title: Credit customer notes
|
@@ -20873,11 +20892,13 @@ components:
|
|
20873
20892
|
minimum: 0
|
20874
20893
|
tax_code:
|
20875
20894
|
type: string
|
20876
|
-
title: Tax code
|
20877
|
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
|
20878
|
-
The tax code values are specific to each tax system. If you are using
|
20879
|
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
|
20880
20895
|
maxLength: 50
|
20896
|
+
title: Tax code
|
20897
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
20898
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
20899
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
20900
|
+
offering you can also choose to instead use simple values of `unknown`,
|
20901
|
+
`physical`, or `digital` tax codes.
|
20881
20902
|
tax_info:
|
20882
20903
|
"$ref": "#/components/schemas/TaxInfo"
|
20883
20904
|
origin_tax_address_source:
|
@@ -20951,15 +20972,35 @@ components:
|
|
20951
20972
|
quantity:
|
20952
20973
|
type: integer
|
20953
20974
|
title: Quantity
|
20954
|
-
description: Line item quantity to be refunded.
|
20975
|
+
description: Line item quantity to be refunded. Must be less than or equal
|
20976
|
+
to the `quantity_remaining`. If `quantity_decimal`, `amount`, and `percentage`
|
20977
|
+
are not present, `quantity` is required. If `amount` or `percentage` is
|
20978
|
+
present, `quantity` must be absent.
|
20955
20979
|
quantity_decimal:
|
20956
20980
|
type: string
|
20957
20981
|
title: Quantity Decimal
|
20958
|
-
description:
|
20959
|
-
|
20960
|
-
|
20961
|
-
|
20962
|
-
|
20982
|
+
description: Decimal quantity to refund. The `quantity_decimal` will be
|
20983
|
+
used to refund charges that has a NOT null quantity decimal. Must be less
|
20984
|
+
than or equal to the `quantity_decimal_remaining`. If `quantity`, `amount`,
|
20985
|
+
and `percentage` are not present, `quantity_decimal` is required. If `amount`
|
20986
|
+
or `percentage` is present, `quantity_decimal` must be absent. The Decimal
|
20987
|
+
Quantity feature must be enabled to utilize this field.
|
20988
|
+
amount:
|
20989
|
+
type: number
|
20990
|
+
format: float
|
20991
|
+
description: The specific amount to be refunded from the adjustment. Must
|
20992
|
+
be less than or equal to the adjustment's remaining balance. If `quantity`,
|
20993
|
+
`quantity_decimal` and `percentage` are not present, `amount` is required.
|
20994
|
+
If `quantity`, `quantity_decimal`, or `percentage` is present, `amount`
|
20995
|
+
must be absent.
|
20996
|
+
percentage:
|
20997
|
+
type: integer
|
20998
|
+
description: The percentage of the adjustment's remaining balance to refund.
|
20999
|
+
If `quantity`, `quantity_decimal` and `amount_in_cents` are not present,
|
21000
|
+
`percentage` is required. If `quantity`, `quantity_decimal` or `amount_in_cents`
|
21001
|
+
is present, `percentage` must be absent.
|
21002
|
+
minimum: 1
|
21003
|
+
maximum: 100
|
20963
21004
|
prorate:
|
20964
21005
|
type: boolean
|
20965
21006
|
title: Prorate
|
@@ -21095,13 +21136,13 @@ components:
|
|
21095
21136
|
minimum: 0
|
21096
21137
|
tax_code:
|
21097
21138
|
type: string
|
21098
|
-
title: Tax code
|
21099
|
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
|
21100
|
-
tax feature to determine taxation rules. If you have your own AvaTax or
|
21101
|
-
Vertex account configured, use their tax codes to assign specific tax
|
21102
|
-
rules. If you are using Recurly's EU VAT feature, you can use values of
|
21103
|
-
`unknown`, `physical`, or `digital`.
|
21104
21139
|
maxLength: 50
|
21140
|
+
title: Tax code
|
21141
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
21142
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
21143
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
21144
|
+
offering you can also choose to instead use simple values of `unknown`,
|
21145
|
+
`physical`, or `digital` tax codes.
|
21105
21146
|
product_code:
|
21106
21147
|
type: string
|
21107
21148
|
title: Product code
|
@@ -21299,11 +21340,13 @@ components:
|
|
21299
21340
|
minimum: 0
|
21300
21341
|
tax_code:
|
21301
21342
|
type: string
|
21302
|
-
title: Tax code
|
21303
|
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
|
21304
|
-
The tax code values are specific to each tax system. If you are using
|
21305
|
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
|
21306
21343
|
maxLength: 50
|
21344
|
+
title: Tax code
|
21345
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
21346
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
21347
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
21348
|
+
offering you can also choose to instead use simple values of `unknown`,
|
21349
|
+
`physical`, or `digital` tax codes.
|
21307
21350
|
tax_exempt:
|
21308
21351
|
type: boolean
|
21309
21352
|
title: Tax exempt?
|
@@ -21512,13 +21555,13 @@ components:
|
|
21512
21555
|
minimum: 0
|
21513
21556
|
tax_code:
|
21514
21557
|
type: string
|
21515
|
-
title: Tax code
|
21516
|
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
|
21517
|
-
tax feature to determine taxation rules. If you have your own AvaTax or
|
21518
|
-
Vertex account configured, use their tax codes to assign specific tax
|
21519
|
-
rules. If you are using Recurly's EU VAT feature, you can use values of
|
21520
|
-
`unknown`, `physical`, or `digital`.
|
21521
21558
|
maxLength: 50
|
21559
|
+
title: Tax code
|
21560
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
21561
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
21562
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
21563
|
+
offering you can also choose to instead use simple values of `unknown`,
|
21564
|
+
`physical`, or `digital` tax codes.
|
21522
21565
|
tax_exempt:
|
21523
21566
|
type: boolean
|
21524
21567
|
title: Tax exempt?
|
@@ -21776,13 +21819,13 @@ components:
|
|
21776
21819
|
minimum: 0
|
21777
21820
|
tax_code:
|
21778
21821
|
type: string
|
21779
|
-
title: Tax code
|
21780
|
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
|
21781
|
-
tax feature to determine taxation rules. If you have your own AvaTax or
|
21782
|
-
Vertex account configured, use their tax codes to assign specific tax
|
21783
|
-
rules. If you are using Recurly's EU VAT feature, you can use values of
|
21784
|
-
`unknown`, `physical`, or `digital`.
|
21785
21822
|
maxLength: 50
|
21823
|
+
title: Tax code
|
21824
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
21825
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
21826
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
21827
|
+
offering you can also choose to instead use simple values of `unknown`,
|
21828
|
+
`physical`, or `digital` tax codes.
|
21786
21829
|
tax_exempt:
|
21787
21830
|
type: boolean
|
21788
21831
|
title: Tax exempt?
|
@@ -25058,6 +25101,10 @@ components:
|
|
25058
25101
|
title: External Id
|
25059
25102
|
description: The id of the subscription in the external systems., I.e. Apple
|
25060
25103
|
App Store or Google Play Store.
|
25104
|
+
uuid:
|
25105
|
+
type: string
|
25106
|
+
title: Uuid
|
25107
|
+
description: Universally Unique Identifier created automatically.
|
25061
25108
|
last_purchased:
|
25062
25109
|
type: string
|
25063
25110
|
format: date-time
|
@@ -26231,8 +26278,9 @@ components:
|
|
26231
26278
|
type: string
|
26232
26279
|
enum:
|
26233
26280
|
- amount
|
26281
|
+
- percentage
|
26234
26282
|
- line_items
|
26235
|
-
|
26283
|
+
RefundMethodEnum:
|
26236
26284
|
type: string
|
26237
26285
|
enum:
|
26238
26286
|
- all_credit
|
@@ -26246,6 +26294,7 @@ components:
|
|
26246
26294
|
- ach
|
26247
26295
|
- amazon
|
26248
26296
|
- apple_pay
|
26297
|
+
- braintree_apple_pay
|
26249
26298
|
- check
|
26250
26299
|
- credit_card
|
26251
26300
|
- eft
|
@@ -26439,6 +26488,7 @@ components:
|
|
26439
26488
|
- amazon_billing_agreement
|
26440
26489
|
- apple_pay
|
26441
26490
|
- bank_account_info
|
26491
|
+
- braintree_apple_pay
|
26442
26492
|
- check
|
26443
26493
|
- credit_card
|
26444
26494
|
- eft
|
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.55.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-
|
11
|
+
date: 2024-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -355,7 +355,7 @@ metadata:
|
|
355
355
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
356
356
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
357
357
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
358
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
358
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.55.0
|
359
359
|
post_install_message:
|
360
360
|
rdoc_options: []
|
361
361
|
require_paths:
|