recurly 3.23.0 → 3.25.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 +10 -0
- data/lib/recurly/requests/account_create.rb +4 -0
- data/lib/recurly/requests/account_purchase.rb +4 -0
- data/lib/recurly/requests/account_update.rb +4 -0
- data/lib/recurly/requests/line_item_create.rb +4 -0
- data/lib/recurly/resources/account.rb +4 -0
- data/lib/recurly/resources/invoice.rb +1 -1
- data/lib/recurly/resources/line_item.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +132 -14
- 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: 4aff2f3330116454a182cc1993edc02a2e192024936aa9727fda1bc3894124cc
|
4
|
+
data.tar.gz: 81e97af9a4d118fbb31996900d580aa4a6f5699d1d14fe12f9709c9add6c2842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 586de0de06d1aa08a3e061da546a34ab51bcad40257932d012894d00591476682e5b33dfea6b4da480d4f9e8e963d23c952c451b6e5b5910e7a06bc7a4e79830
|
7
|
+
data.tar.gz: 5dd9e588a610f97353ca7df860dc476a2faf64df41f55b81ab6e8710968570f7d2bfdd48a41a6486a34675fbaf003c115dc75bf6c6a283520396c271db9a9587
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [3.25.0](https://github.com/recurly/recurly-client-ruby/tree/3.25.0) (2023-01-19)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.24.0...3.25.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2019-10-10 (Custom Fields on Line Items) [#822](https://github.com/recurly/recurly-client-ruby/pull/822) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [3.24.0](https://github.com/recurly/recurly-client-ruby/tree/3.24.0) (2023-01-11)
|
15
|
+
|
16
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.23.0...3.24.0)
|
17
|
+
|
18
|
+
|
19
|
+
**Merged Pull Requests**
|
20
|
+
|
21
|
+
- Generated Latest Changes for v2019-10-10 (Account Preferred Time Zone) [#815](https://github.com/recurly/recurly-client-ruby/pull/815) ([recurly-integrations](https://github.com/recurly-integrations))
|
22
|
+
|
23
|
+
|
24
|
+
|
3
25
|
## [3.23.0](https://github.com/recurly/recurly-client-ruby/tree/3.23.0) (2022-11-17)
|
4
26
|
|
5
27
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.22.0...3.23.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', '~> 3.
|
8
|
+
gem 'recurly', '~> 3.25'
|
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.
|
@@ -127,6 +127,7 @@ module Recurly
|
|
127
127
|
# code: account_code,
|
128
128
|
# first_name: "Benjamin",
|
129
129
|
# last_name: "Du Monde",
|
130
|
+
# preferred_time_zone: "America/Chicago",
|
130
131
|
# acquisition: {
|
131
132
|
# campaign: "podcast-marketing",
|
132
133
|
# channel: "social_media",
|
@@ -2068,6 +2069,15 @@ module Recurly
|
|
2068
2069
|
# @param site_id [String] Site ID or subdomain. For ID no prefix is used e.g. +e28zov4fw0v2+. For subdomain use prefix +subdomain-+, e.g. +subdomain-recurly+.
|
2069
2070
|
#
|
2070
2071
|
# @return [Resources::Invoice] The updated invoice.
|
2072
|
+
# @example
|
2073
|
+
# begin
|
2074
|
+
# invoice = @client.apply_credit_balance(invoice_id: invoice_id)
|
2075
|
+
# puts "Applied credit balance to invoice #{invoice}"
|
2076
|
+
# rescue Recurly::Errors::NotFoundError
|
2077
|
+
# # If the resource was not found, you may want to alert the user or
|
2078
|
+
# # just return nil
|
2079
|
+
# puts "Resource Not Found"
|
2080
|
+
# end
|
2071
2081
|
#
|
2072
2082
|
def apply_credit_balance(invoice_id:, **options)
|
2073
2083
|
path = interpolate_path("/invoices/{invoice_id}/apply_credit_balance", invoice_id: invoice_id)
|
@@ -70,6 +70,10 @@ module Recurly
|
|
70
70
|
# @return [String] Used to determine the language and locale of emails sent on behalf of the merchant to the customer. The list of locales is restricted to those the merchant has enabled on the site.
|
71
71
|
define_attribute :preferred_locale, String
|
72
72
|
|
73
|
+
# @!attribute preferred_time_zone
|
74
|
+
# @return [String] Used to determine the time zone of emails sent on behalf of the merchant to the customer. Must be a [supported IANA time zone name](https://docs.recurly.com/docs/email-time-zones-and-time-stamps#supported-api-iana-time-zone-names)
|
75
|
+
define_attribute :preferred_time_zone, String
|
76
|
+
|
73
77
|
# @!attribute shipping_addresses
|
74
78
|
# @return [Array[ShippingAddressCreate]]
|
75
79
|
define_attribute :shipping_addresses, Array, { :item_type => :ShippingAddressCreate }
|
@@ -74,6 +74,10 @@ module Recurly
|
|
74
74
|
# @return [String] Used to determine the language and locale of emails sent on behalf of the merchant to the customer. The list of locales is restricted to those the merchant has enabled on the site.
|
75
75
|
define_attribute :preferred_locale, String
|
76
76
|
|
77
|
+
# @!attribute preferred_time_zone
|
78
|
+
# @return [String] Used to determine the time zone of emails sent on behalf of the merchant to the customer. Must be a [supported IANA time zone name](https://docs.recurly.com/docs/email-time-zones-and-time-stamps#supported-api-iana-time-zone-names)
|
79
|
+
define_attribute :preferred_time_zone, String
|
80
|
+
|
77
81
|
# @!attribute tax_exempt
|
78
82
|
# @return [Boolean] The tax status of the account. `true` exempts tax on the account, `false` applies tax on the account.
|
79
83
|
define_attribute :tax_exempt, :Boolean
|
@@ -62,6 +62,10 @@ module Recurly
|
|
62
62
|
# @return [String] Used to determine the language and locale of emails sent on behalf of the merchant to the customer. The list of locales is restricted to those the merchant has enabled on the site.
|
63
63
|
define_attribute :preferred_locale, String
|
64
64
|
|
65
|
+
# @!attribute preferred_time_zone
|
66
|
+
# @return [String] Used to determine the time zone of emails sent on behalf of the merchant to the customer. Must be a [supported IANA time zone name](https://docs.recurly.com/docs/email-time-zones-and-time-stamps#supported-api-iana-time-zone-names)
|
67
|
+
define_attribute :preferred_time_zone, String
|
68
|
+
|
65
69
|
# @!attribute tax_exempt
|
66
70
|
# @return [Boolean] The tax status of the account. `true` exempts tax on the account, `false` applies tax on the account.
|
67
71
|
define_attribute :tax_exempt, :Boolean
|
@@ -26,6 +26,10 @@ module Recurly
|
|
26
26
|
# @return [String] 3-letter ISO 4217 currency code. If `item_code`/`item_id` is part of the request then `currency` is optional, if the site has a single default currency. `currency` is required if `item_code`/`item_id` is present, and there are multiple currencies defined on the site. If `item_code`/`item_id` is not present `currency` is required.
|
27
27
|
define_attribute :currency, String
|
28
28
|
|
29
|
+
# @!attribute custom_fields
|
30
|
+
# @return [Array[CustomField]] The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
|
31
|
+
define_attribute :custom_fields, Array, { :item_type => :CustomField }
|
32
|
+
|
29
33
|
# @!attribute description
|
30
34
|
# @return [String] Description that appears on the invoice. If `item_code`/`item_id` is part of the request then `description` must be absent.
|
31
35
|
define_attribute :description, String
|
@@ -106,6 +106,10 @@ module Recurly
|
|
106
106
|
# @return [String] Used to determine the language and locale of emails sent on behalf of the merchant to the customer.
|
107
107
|
define_attribute :preferred_locale, String
|
108
108
|
|
109
|
+
# @!attribute preferred_time_zone
|
110
|
+
# @return [String] The [IANA time zone name](https://docs.recurly.com/docs/email-time-zones-and-time-stamps#supported-api-iana-time-zone-names) used to determine the time zone of emails sent on behalf of the merchant to the customer.
|
111
|
+
define_attribute :preferred_time_zone, String
|
112
|
+
|
109
113
|
# @!attribute shipping_addresses
|
110
114
|
# @return [Array[ShippingAddress]] The shipping addresses on the account.
|
111
115
|
define_attribute :shipping_addresses, Array, { :item_type => :ShippingAddress }
|
@@ -91,7 +91,7 @@ module Recurly
|
|
91
91
|
define_attribute :po_number, String
|
92
92
|
|
93
93
|
# @!attribute previous_invoice_id
|
94
|
-
# @return [String] On refund invoices, this value will exist and show the invoice ID of the purchase invoice the refund was created from.
|
94
|
+
# @return [String] On refund invoices, this value will exist and show the invoice ID of the purchase invoice the refund was created from. This field is only populated for sites without the [Only Bill What Changed](https://docs.recurly.com/docs/only-bill-what-changed) feature enabled. Sites with Only Bill What Changed enabled should use the [related_invoices endpoint](https://recurly.com/developers/api/v2019-10-10/index.html#operation/list_related_invoices) to see purchase invoices refunded by this invoice.
|
95
95
|
define_attribute :previous_invoice_id, String
|
96
96
|
|
97
97
|
# @!attribute refundable_amount
|
@@ -54,6 +54,10 @@ module Recurly
|
|
54
54
|
# @return [String] 3-letter ISO 4217 currency code.
|
55
55
|
define_attribute :currency, String
|
56
56
|
|
57
|
+
# @!attribute custom_fields
|
58
|
+
# @return [Array[CustomField]] The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
|
59
|
+
define_attribute :custom_fields, Array, { :item_type => :CustomField }
|
60
|
+
|
57
61
|
# @!attribute description
|
58
62
|
# @return [String] Description that appears on the invoice. For subscription related items this will be filled in automatically.
|
59
63
|
define_attribute :description, String
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -686,6 +686,7 @@ paths:
|
|
686
686
|
code: accountCode,
|
687
687
|
firstName: 'Benjamin',
|
688
688
|
lastName: 'Du Monde',
|
689
|
+
preferredTimeZone: 'America/Chicago',
|
689
690
|
address: {
|
690
691
|
street1: '900 Camp St',
|
691
692
|
city: 'New Orleans',
|
@@ -714,6 +715,7 @@ paths:
|
|
714
715
|
"code": account_code,
|
715
716
|
"first_name": "Benjamin",
|
716
717
|
"last_name": "Du Monde",
|
718
|
+
"preferred_time_zone": "America/Chicago",
|
717
719
|
"acquisition": {
|
718
720
|
"campaign": "podcast-marketing",
|
719
721
|
"channel": "social_media",
|
@@ -749,6 +751,7 @@ paths:
|
|
749
751
|
Code = accountCode,
|
750
752
|
FirstName = "Benjamin",
|
751
753
|
LastName = "Du Monde",
|
754
|
+
PreferredTimeZone = "America/Chicago",
|
752
755
|
Address = new Address()
|
753
756
|
{
|
754
757
|
City = "New Orleans",
|
@@ -779,6 +782,7 @@ paths:
|
|
779
782
|
code: account_code,
|
780
783
|
first_name: "Benjamin",
|
781
784
|
last_name: "Du Monde",
|
785
|
+
preferred_time_zone: "America/Chicago",
|
782
786
|
acquisition: {
|
783
787
|
campaign: "podcast-marketing",
|
784
788
|
channel: "social_media",
|
@@ -817,6 +821,7 @@ paths:
|
|
817
821
|
accountReq.setCode(accountCode);
|
818
822
|
accountReq.setFirstName("Aaron");
|
819
823
|
accountReq.setLastName("Du Monde");
|
824
|
+
accountReq.setPreferredTimeZone("America/Chicago");
|
820
825
|
|
821
826
|
address.setStreet1("900 Camp St.");
|
822
827
|
address.setCity("New Orleans");
|
@@ -843,6 +848,7 @@ paths:
|
|
843
848
|
"code" => $account_code,
|
844
849
|
"first_name" => "Douglas",
|
845
850
|
"last_name" => "DuMonde",
|
851
|
+
"preferred_time_zone" => "America/Chicago",
|
846
852
|
"shipping_addresses" => [
|
847
853
|
[
|
848
854
|
"first_name" => "Douglas",
|
@@ -872,17 +878,17 @@ paths:
|
|
872
878
|
- lang: Go
|
873
879
|
source: "accountReq := &recurly.AccountCreate{\n\tCode: &accountCode,\n\tFirstName:
|
874
880
|
recurly.String(\"Isaac\"),\n\tLastName: recurly.String(\"Du Monde\"),\n\tEmail:
|
875
|
-
\ recurly.String(\"isaac@example.com\"),\n\
|
876
|
-
recurly.
|
877
|
-
|
878
|
-
\
|
879
|
-
|
880
|
-
|
881
|
-
recurly.String(\"
|
882
|
-
\
|
883
|
-
err := client.CreateAccount(accountReq)\nif
|
884
|
-
ok {\n\tif e.Type == recurly.ErrorTypeValidation
|
885
|
-
validation: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected
|
881
|
+
\ recurly.String(\"isaac@example.com\"),\n\tPreferredTimeZone: recurly.String(\"America/Los_Angeles\"),\n\tBillingInfo:
|
882
|
+
&recurly.BillingInfoCreate{\n\t\tFirstName: recurly.String(\"Isaac\"),\n\t\tLastName:
|
883
|
+
\ recurly.String(\"Du Monde\"),\n\t\tAddress: &recurly.AddressCreate{\n\t\t\tPhone:
|
884
|
+
\ recurly.String(\"415-555-5555\"),\n\t\t\tStreet1: recurly.String(\"400
|
885
|
+
Alabama St.\"),\n\t\t\tCity: recurly.String(\"San Francisco\"),\n\t\t\tPostalCode:
|
886
|
+
recurly.String(\"94110\"),\n\t\t\tCountry: recurly.String(\"US\"),\n\t\t\tRegion:
|
887
|
+
\ recurly.String(\"CA\"),\n\t\t},\n\t\tNumber: recurly.String(\"4111111111111111\"),\n\t\tMonth:
|
888
|
+
\ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"22\"),\n\t\tCvv:
|
889
|
+
\ recurly.String(\"123\"),\n\t},\n}\n\naccount, err := client.CreateAccount(accountReq)\nif
|
890
|
+
e, ok := err.(*recurly.Error); ok {\n\tif e.Type == recurly.ErrorTypeValidation
|
891
|
+
{\n\t\tfmt.Printf(\"Failed validation: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected
|
886
892
|
Recurly error: %v\", e)\n\treturn nil, err\n}\nfmt.Printf(\"Created Account:
|
887
893
|
%s\", account.Id)"
|
888
894
|
"/sites/{site_id}/accounts/{account_id}":
|
@@ -6175,6 +6181,7 @@ paths:
|
|
6175
6181
|
- item
|
6176
6182
|
- plan
|
6177
6183
|
- subscription
|
6184
|
+
- charge
|
6178
6185
|
responses:
|
6179
6186
|
'200':
|
6180
6187
|
description: A list of the site's custom field definitions.
|
@@ -7881,6 +7888,8 @@ paths:
|
|
7881
7888
|
summary: Apply available credit to a pending or past due charge invoice
|
7882
7889
|
description: Apply credit payment to the outstanding balance on an existing
|
7883
7890
|
charge invoice from an account’s available balance from existing credit invoices.
|
7891
|
+
Credit that was refunded from the invoice cannot be applied back to the invoice
|
7892
|
+
as payment.
|
7884
7893
|
parameters:
|
7885
7894
|
- "$ref": "#/components/parameters/site_id"
|
7886
7895
|
- "$ref": "#/components/parameters/invoice_id"
|
@@ -7899,7 +7908,8 @@ paths:
|
|
7899
7908
|
"$ref": "#/components/schemas/Error"
|
7900
7909
|
'422':
|
7901
7910
|
description: Tried applying credit to a legacy or closed invoice or there
|
7902
|
-
was an error processing the credit payment
|
7911
|
+
was an error processing the credit payment, such as no available credit
|
7912
|
+
on the account.
|
7903
7913
|
content:
|
7904
7914
|
application/json:
|
7905
7915
|
schema:
|
@@ -7910,7 +7920,95 @@ paths:
|
|
7910
7920
|
application/json:
|
7911
7921
|
schema:
|
7912
7922
|
"$ref": "#/components/schemas/Error"
|
7913
|
-
x-code-samples:
|
7923
|
+
x-code-samples:
|
7924
|
+
- lang: Node.js
|
7925
|
+
source: |
|
7926
|
+
try {
|
7927
|
+
const invoice = await client.applyCreditBalance(invoiceId)
|
7928
|
+
console.log('Applied credit balance to invoice: ', invoice)
|
7929
|
+
} catch (err) {
|
7930
|
+
if (err instanceof recurly.errors.ValidationError) {
|
7931
|
+
// If the request was not valid, you may want to tell your user
|
7932
|
+
// why. You can find the invalid params and reasons in err.params
|
7933
|
+
console.log('Failed validation', err.params)
|
7934
|
+
} else {
|
7935
|
+
// If we don't know what to do with the err, we should
|
7936
|
+
// probably re-raise and let our web framework and logger handle it
|
7937
|
+
console.log('Unknown Error: ', err)
|
7938
|
+
}
|
7939
|
+
}
|
7940
|
+
- lang: Python
|
7941
|
+
source: |
|
7942
|
+
try:
|
7943
|
+
invoice = client.apply_credit_balance(invoice_id)
|
7944
|
+
print("Applied credit balance to invoice %s" % invoice.id)
|
7945
|
+
except recurly.errors.NotFoundError:
|
7946
|
+
# If the resource was not found, you may want to alert the user or
|
7947
|
+
# just return nil
|
7948
|
+
print("Resource Not Found")
|
7949
|
+
- lang: ".NET"
|
7950
|
+
source: |
|
7951
|
+
try
|
7952
|
+
{
|
7953
|
+
Invoice invoice = client.ApplyCreditBalance(invoiceId);
|
7954
|
+
Console.WriteLine($"Applied credit balance to invoice #{invoice.Number}");
|
7955
|
+
}
|
7956
|
+
catch (Recurly.Errors.Validation ex)
|
7957
|
+
{
|
7958
|
+
// If the request was not valid, you may want to tell your user
|
7959
|
+
// why. You can find the invalid params and reasons in ex.Error.Params
|
7960
|
+
Console.WriteLine($"Failed validation: {ex.Error.Message}");
|
7961
|
+
}
|
7962
|
+
catch (Recurly.Errors.ApiError ex)
|
7963
|
+
{
|
7964
|
+
// Use ApiError to catch a generic error from the API
|
7965
|
+
Console.WriteLine($"Unexpected Recurly Error: {ex.Error.Message}");
|
7966
|
+
}
|
7967
|
+
- lang: Ruby
|
7968
|
+
source: |
|
7969
|
+
begin
|
7970
|
+
invoice = @client.apply_credit_balance(invoice_id: invoice_id)
|
7971
|
+
puts "Applied credit balance to invoice #{invoice}"
|
7972
|
+
rescue Recurly::Errors::NotFoundError
|
7973
|
+
# If the resource was not found, you may want to alert the user or
|
7974
|
+
# just return nil
|
7975
|
+
puts "Resource Not Found"
|
7976
|
+
end
|
7977
|
+
- lang: Java
|
7978
|
+
source: |
|
7979
|
+
try {
|
7980
|
+
final Invoice invoice = client.applyCreditBalance(invoiceId);
|
7981
|
+
System.out.println("Applied credit balance to invoice " + invoice.getId());
|
7982
|
+
} catch (final ValidationException e) {
|
7983
|
+
// If the request was not valid, you may want to tell your user
|
7984
|
+
// why. You can find the invalid params and reasons in e.getError().getParams()
|
7985
|
+
System.out.println("Failed validation: " + e.getError().getMessage());
|
7986
|
+
} catch (final ApiException e) {
|
7987
|
+
// Use ApiException to catch a generic error from the API
|
7988
|
+
System.out.println("Unexpected Recurly Error: " + e.getError().getMessage());
|
7989
|
+
}
|
7990
|
+
- lang: PHP
|
7991
|
+
source: |
|
7992
|
+
try {
|
7993
|
+
$invoice = $client->applyCreditBalance($invoice_id);
|
7994
|
+
|
7995
|
+
echo 'Applied credit balance to invoice:' . PHP_EOL;
|
7996
|
+
var_dump($invoice);
|
7997
|
+
} catch (\Recurly\Errors\Validation $e) {
|
7998
|
+
// If the request was not valid, you may want to tell your user
|
7999
|
+
// why. You can find the invalid params and reasons in err.params
|
8000
|
+
var_dump($e);
|
8001
|
+
} catch (\Recurly\RecurlyError $e) {
|
8002
|
+
// If we don't know what to do with the err, we should
|
8003
|
+
// probably re-raise and let our web framework and logger handle it
|
8004
|
+
var_dump($e);
|
8005
|
+
}
|
8006
|
+
- lang: Go
|
8007
|
+
source: "invoice, err := client.ApplyCreditBalance(invoiceID)\nif e, ok :=
|
8008
|
+
err.(*recurly.Error); ok {\n\tif e.Type == recurly.ErrorTypeValidation {\n\t\tfmt.Printf(\"Failed
|
8009
|
+
validation: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected
|
8010
|
+
Recurly error: %v\", e)\n\treturn nil, err\n}\n\nfmt.Printf(\"Applied credit
|
8011
|
+
balance to invoice: %v\", invoice)"
|
7914
8012
|
"/sites/{site_id}/invoices/{invoice_id}/collect":
|
7915
8013
|
put:
|
7916
8014
|
tags:
|
@@ -15480,6 +15578,11 @@ components:
|
|
15480
15578
|
- sv-SE
|
15481
15579
|
- tr-TR
|
15482
15580
|
- zh-CN
|
15581
|
+
preferred_time_zone:
|
15582
|
+
type: string
|
15583
|
+
example: America/Los_Angeles
|
15584
|
+
description: Used to determine the time zone of emails sent on behalf of
|
15585
|
+
the merchant to the customer. Must be a [supported IANA time zone name](https://docs.recurly.com/docs/email-time-zones-and-time-stamps#supported-api-iana-time-zone-names)
|
15483
15586
|
cc_emails:
|
15484
15587
|
type: string
|
15485
15588
|
description: Additional email address that should receive account correspondence.
|
@@ -15612,6 +15715,12 @@ components:
|
|
15612
15715
|
- sv-SE
|
15613
15716
|
- tr-TR
|
15614
15717
|
- zh-CN
|
15718
|
+
preferred_time_zone:
|
15719
|
+
type: string
|
15720
|
+
example: America/Los_Angeles
|
15721
|
+
description: The [IANA time zone name](https://docs.recurly.com/docs/email-time-zones-and-time-stamps#supported-api-iana-time-zone-names)
|
15722
|
+
used to determine the time zone of emails sent on behalf of the merchant
|
15723
|
+
to the customer.
|
15615
15724
|
cc_emails:
|
15616
15725
|
type: string
|
15617
15726
|
description: Additional email address that should receive account correspondence.
|
@@ -17342,6 +17451,7 @@ components:
|
|
17342
17451
|
- item
|
17343
17452
|
- plan
|
17344
17453
|
- subscription
|
17454
|
+
- charge
|
17345
17455
|
name:
|
17346
17456
|
type: string
|
17347
17457
|
title: Name
|
@@ -17764,7 +17874,11 @@ components:
|
|
17764
17874
|
type: string
|
17765
17875
|
title: Previous invoice ID
|
17766
17876
|
description: On refund invoices, this value will exist and show the invoice
|
17767
|
-
ID of the purchase invoice the refund was created from.
|
17877
|
+
ID of the purchase invoice the refund was created from. This field is
|
17878
|
+
only populated for sites without the [Only Bill What Changed](https://docs.recurly.com/docs/only-bill-what-changed)
|
17879
|
+
feature enabled. Sites with Only Bill What Changed enabled should use
|
17880
|
+
the [related_invoices endpoint](https://recurly.com/developers/api/v2019-10-10/index.html#operation/list_related_invoices)
|
17881
|
+
to see purchase invoices refunded by this invoice.
|
17768
17882
|
maxLength: 13
|
17769
17883
|
number:
|
17770
17884
|
type: string
|
@@ -18590,6 +18704,8 @@ components:
|
|
18590
18704
|
format: date-time
|
18591
18705
|
title: End date
|
18592
18706
|
description: If this date is provided, it indicates the end of a time range.
|
18707
|
+
custom_fields:
|
18708
|
+
"$ref": "#/components/schemas/CustomFields"
|
18593
18709
|
created_at:
|
18594
18710
|
type: string
|
18595
18711
|
format: date-time
|
@@ -18784,6 +18900,8 @@ components:
|
|
18784
18900
|
format: date-time
|
18785
18901
|
title: End date
|
18786
18902
|
description: If this date is provided, it indicates the end of a time range.
|
18903
|
+
custom_fields:
|
18904
|
+
"$ref": "#/components/schemas/CustomFields"
|
18787
18905
|
required:
|
18788
18906
|
- currency
|
18789
18907
|
- unit_amount
|
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: 3.
|
4
|
+
version: 3.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -306,7 +306,7 @@ metadata:
|
|
306
306
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
307
307
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
308
308
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
309
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.
|
309
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.25.0
|
310
310
|
post_install_message:
|
311
311
|
rdoc_options: []
|
312
312
|
require_paths:
|