recurly 4.53.0 → 4.54.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 +11 -0
- data/GETTING_STARTED.md +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/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 +110 -65
- 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: de32666d545fd3100563208ae94a0dd4da8e690bcea56f779b3137420ed78e48
|
4
|
+
data.tar.gz: 3ee298baf72eae17a3156b5ed26dc469e776736529f9fa384861261b57de9377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd369659c65c2d6626aed9a683a882f0cdbe38595df8ac528dd0700647717cead0bf02f48c5b7993528d3184d06acc0c073747bac8ab4e42ec79ae3643df27bd
|
7
|
+
data.tar.gz: 025c1494cfceccd81d917922140260144b0fda63bf93ff0c23a126cce76a160a078fa1b433cd04144f4f0528357b72d538652aed121c548dd3d70dc05476eb61
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.54.0](https://github.com/recurly/recurly-client-ruby/tree/4.54.0) (2024-08-21)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.53.0...4.54.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- 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))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [4.53.0](https://github.com/recurly/recurly-client-ruby/tree/4.53.0) (2024-07-03)
|
4
15
|
|
5
16
|
[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.54'
|
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.
|
@@ -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
|
@@ -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
@@ -18148,11 +18148,14 @@ components:
|
|
18148
18148
|
minimum: 0
|
18149
18149
|
tax_code:
|
18150
18150
|
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
18151
|
maxLength: 50
|
18152
|
+
title: Tax code
|
18153
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
18154
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
18155
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
18156
|
+
offering you can also choose to instead use simple values of `unknown`,
|
18157
|
+
`physical`, or `digital` tax codes. If `item_code`/`item_id` is part of
|
18158
|
+
the request then `tax_code` must be absent.
|
18156
18159
|
display_quantity:
|
18157
18160
|
type: boolean
|
18158
18161
|
title: Display quantity?
|
@@ -18367,14 +18370,14 @@ components:
|
|
18367
18370
|
minimum: 0
|
18368
18371
|
tax_code:
|
18369
18372
|
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
18373
|
maxLength: 50
|
18374
|
+
title: Tax code
|
18375
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
18376
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
18377
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
18378
|
+
offering you can also choose to instead use simple values of `unknown`,
|
18379
|
+
`physical`, or `digital` tax codes. If `item_code`/`item_id` is part of
|
18380
|
+
the request then `tax_code` must be absent.
|
18378
18381
|
currencies:
|
18379
18382
|
type: array
|
18380
18383
|
title: Add-on pricing
|
@@ -18522,14 +18525,14 @@ components:
|
|
18522
18525
|
minimum: 0
|
18523
18526
|
tax_code:
|
18524
18527
|
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
18528
|
maxLength: 50
|
18529
|
+
title: Tax code
|
18530
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
18531
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
18532
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
18533
|
+
offering you can also choose to instead use simple values of `unknown`,
|
18534
|
+
`physical`, or `digital` tax codes. If an `Item` is associated to the
|
18535
|
+
`AddOn` then `tax_code` must be absent.
|
18533
18536
|
display_quantity:
|
18534
18537
|
type: boolean
|
18535
18538
|
title: Display quantity?
|
@@ -19808,11 +19811,13 @@ components:
|
|
19808
19811
|
minimum: 0
|
19809
19812
|
tax_code:
|
19810
19813
|
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
19814
|
maxLength: 50
|
19815
|
+
title: Tax code
|
19816
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
19817
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
19818
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
19819
|
+
offering you can also choose to instead use simple values of `unknown`,
|
19820
|
+
`physical`, or `digital` tax codes.
|
19816
19821
|
tax_exempt:
|
19817
19822
|
type: boolean
|
19818
19823
|
title: Tax exempt?
|
@@ -19916,11 +19921,13 @@ components:
|
|
19916
19921
|
minimum: 0
|
19917
19922
|
tax_code:
|
19918
19923
|
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
19924
|
maxLength: 50
|
19925
|
+
title: Tax code
|
19926
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
19927
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
19928
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
19929
|
+
offering you can also choose to instead use simple values of `unknown`,
|
19930
|
+
`physical`, or `digital` tax codes.
|
19924
19931
|
tax_exempt:
|
19925
19932
|
type: boolean
|
19926
19933
|
title: Tax exempt?
|
@@ -20012,11 +20019,13 @@ components:
|
|
20012
20019
|
minimum: 0
|
20013
20020
|
tax_code:
|
20014
20021
|
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
20022
|
maxLength: 50
|
20023
|
+
title: Tax code
|
20024
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
20025
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
20026
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
20027
|
+
offering you can also choose to instead use simple values of `unknown`,
|
20028
|
+
`physical`, or `digital` tax codes.
|
20020
20029
|
tax_exempt:
|
20021
20030
|
type: boolean
|
20022
20031
|
title: Tax exempt?
|
@@ -20466,7 +20475,16 @@ components:
|
|
20466
20475
|
title: Amount
|
20467
20476
|
description: |
|
20468
20477
|
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.
|
20478
|
+
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".
|
20479
|
+
percentage:
|
20480
|
+
type: integer
|
20481
|
+
title: Percentage
|
20482
|
+
description: The percentage of the remaining balance to be refunded. The
|
20483
|
+
percentage will be split between the line items. If `type` is "percentage"
|
20484
|
+
and no percentage is specified, it will default to refunding 100% of the
|
20485
|
+
refundable amount on the invoice. Can only be present if `type` is "percentage".
|
20486
|
+
minimum: 1
|
20487
|
+
maximum: 100
|
20470
20488
|
line_items:
|
20471
20489
|
type: array
|
20472
20490
|
title: Line items
|
@@ -20482,7 +20500,7 @@ components:
|
|
20482
20500
|
- `all_credit` – Issues credit to the account for the entire amount of the refund. Only available when the Credit Invoices feature is enabled.
|
20483
20501
|
- `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
20502
|
default: credit_first
|
20485
|
-
"$ref": "#/components/schemas/
|
20503
|
+
"$ref": "#/components/schemas/RefundMethodEnum"
|
20486
20504
|
credit_customer_notes:
|
20487
20505
|
type: string
|
20488
20506
|
title: Credit customer notes
|
@@ -20873,11 +20891,13 @@ components:
|
|
20873
20891
|
minimum: 0
|
20874
20892
|
tax_code:
|
20875
20893
|
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
20894
|
maxLength: 50
|
20895
|
+
title: Tax code
|
20896
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
20897
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
20898
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
20899
|
+
offering you can also choose to instead use simple values of `unknown`,
|
20900
|
+
`physical`, or `digital` tax codes.
|
20881
20901
|
tax_info:
|
20882
20902
|
"$ref": "#/components/schemas/TaxInfo"
|
20883
20903
|
origin_tax_address_source:
|
@@ -20951,15 +20971,35 @@ components:
|
|
20951
20971
|
quantity:
|
20952
20972
|
type: integer
|
20953
20973
|
title: Quantity
|
20954
|
-
description: Line item quantity to be refunded.
|
20974
|
+
description: Line item quantity to be refunded. Must be less than or equal
|
20975
|
+
to the `quantity_remaining`. If `quantity_decimal`, `amount`, and `percentage`
|
20976
|
+
are not present, `quantity` is required. If `amount` or `percentage` is
|
20977
|
+
present, `quantity` must be absent.
|
20955
20978
|
quantity_decimal:
|
20956
20979
|
type: string
|
20957
20980
|
title: Quantity Decimal
|
20958
|
-
description:
|
20959
|
-
|
20960
|
-
|
20961
|
-
|
20962
|
-
|
20981
|
+
description: Decimal quantity to refund. The `quantity_decimal` will be
|
20982
|
+
used to refund charges that has a NOT null quantity decimal. Must be less
|
20983
|
+
than or equal to the `quantity_decimal_remaining`. If `quantity`, `amount`,
|
20984
|
+
and `percentage` are not present, `quantity_decimal` is required. If `amount`
|
20985
|
+
or `percentage` is present, `quantity_decimal` must be absent. The Decimal
|
20986
|
+
Quantity feature must be enabled to utilize this field.
|
20987
|
+
amount:
|
20988
|
+
type: number
|
20989
|
+
format: float
|
20990
|
+
description: The specific amount to be refunded from the adjustment. Must
|
20991
|
+
be less than or equal to the adjustment's remaining balance. If `quantity`,
|
20992
|
+
`quantity_decimal` and `percentage` are not present, `amount` is required.
|
20993
|
+
If `quantity`, `quantity_decimal`, or `percentage` is present, `amount`
|
20994
|
+
must be absent.
|
20995
|
+
percentage:
|
20996
|
+
type: integer
|
20997
|
+
description: The percentage of the adjustment's remaining balance to refund.
|
20998
|
+
If `quantity`, `quantity_decimal` and `amount_in_cents` are not present,
|
20999
|
+
`percentage` is required. If `quantity`, `quantity_decimal` or `amount_in_cents`
|
21000
|
+
is present, `percentage` must be absent.
|
21001
|
+
minimum: 1
|
21002
|
+
maximum: 100
|
20963
21003
|
prorate:
|
20964
21004
|
type: boolean
|
20965
21005
|
title: Prorate
|
@@ -21095,13 +21135,13 @@ components:
|
|
21095
21135
|
minimum: 0
|
21096
21136
|
tax_code:
|
21097
21137
|
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
21138
|
maxLength: 50
|
21139
|
+
title: Tax code
|
21140
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
21141
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
21142
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
21143
|
+
offering you can also choose to instead use simple values of `unknown`,
|
21144
|
+
`physical`, or `digital` tax codes.
|
21105
21145
|
product_code:
|
21106
21146
|
type: string
|
21107
21147
|
title: Product code
|
@@ -21299,11 +21339,13 @@ components:
|
|
21299
21339
|
minimum: 0
|
21300
21340
|
tax_code:
|
21301
21341
|
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
21342
|
maxLength: 50
|
21343
|
+
title: Tax code
|
21344
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
21345
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
21346
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
21347
|
+
offering you can also choose to instead use simple values of `unknown`,
|
21348
|
+
`physical`, or `digital` tax codes.
|
21307
21349
|
tax_exempt:
|
21308
21350
|
type: boolean
|
21309
21351
|
title: Tax exempt?
|
@@ -21512,13 +21554,13 @@ components:
|
|
21512
21554
|
minimum: 0
|
21513
21555
|
tax_code:
|
21514
21556
|
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
21557
|
maxLength: 50
|
21558
|
+
title: Tax code
|
21559
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
21560
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
21561
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
21562
|
+
offering you can also choose to instead use simple values of `unknown`,
|
21563
|
+
`physical`, or `digital` tax codes.
|
21522
21564
|
tax_exempt:
|
21523
21565
|
type: boolean
|
21524
21566
|
title: Tax exempt?
|
@@ -21776,13 +21818,13 @@ components:
|
|
21776
21818
|
minimum: 0
|
21777
21819
|
tax_code:
|
21778
21820
|
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
21821
|
maxLength: 50
|
21822
|
+
title: Tax code
|
21823
|
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
|
21824
|
+
tax solution to determine taxation rules. You can pass in specific tax
|
21825
|
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
|
21826
|
+
offering you can also choose to instead use simple values of `unknown`,
|
21827
|
+
`physical`, or `digital` tax codes.
|
21786
21828
|
tax_exempt:
|
21787
21829
|
type: boolean
|
21788
21830
|
title: Tax exempt?
|
@@ -26231,8 +26273,9 @@ components:
|
|
26231
26273
|
type: string
|
26232
26274
|
enum:
|
26233
26275
|
- amount
|
26276
|
+
- percentage
|
26234
26277
|
- line_items
|
26235
|
-
|
26278
|
+
RefundMethodEnum:
|
26236
26279
|
type: string
|
26237
26280
|
enum:
|
26238
26281
|
- all_credit
|
@@ -26246,6 +26289,7 @@ components:
|
|
26246
26289
|
- ach
|
26247
26290
|
- amazon
|
26248
26291
|
- apple_pay
|
26292
|
+
- braintree_apple_pay
|
26249
26293
|
- check
|
26250
26294
|
- credit_card
|
26251
26295
|
- eft
|
@@ -26439,6 +26483,7 @@ components:
|
|
26439
26483
|
- amazon_billing_agreement
|
26440
26484
|
- apple_pay
|
26441
26485
|
- bank_account_info
|
26486
|
+
- braintree_apple_pay
|
26442
26487
|
- check
|
26443
26488
|
- credit_card
|
26444
26489
|
- 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.54.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-21 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.54.0
|
359
359
|
post_install_message:
|
360
360
|
rdoc_options: []
|
361
361
|
require_paths:
|