recurly 4.30.0 → 4.32.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 +73 -0
- data/lib/recurly/requests/billing_info_create.rb +4 -0
- data/lib/recurly/resources/external_charge.rb +50 -0
- data/lib/recurly/resources/external_invoice.rb +58 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +258 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83a909b2f7399097843487765258bb382ccabe06c2f632d8d56a939451e8768a
|
4
|
+
data.tar.gz: 95526afe049b9a83bb167da58b41c04f818fb93936343125623cd1464814fb1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75460a84c7a5fdc3b017a29e00595e0509a9b2e072d25dea98c087340fe0e7d387346f3820154fdd8060d683866dc51e6f2b82db0ddaa0637582ae0515df490e
|
7
|
+
data.tar.gz: 508658c6f25027f7af50bae75683f23160a991aad6610179f50000d610754ee54ebccfbca194e6f9d7b206413b7b19ba3429104e9495b10f4f074628385bd59d
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.32.0](https://github.com/recurly/recurly-client-ruby/tree/4.32.0) (2023-04-05)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.31.0...4.32.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 [#833](https://github.com/recurly/recurly-client-ruby/pull/833) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [4.31.0](https://github.com/recurly/recurly-client-ruby/tree/4.31.0) (2023-03-29)
|
15
|
+
|
16
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.30.0...4.31.0)
|
17
|
+
|
18
|
+
|
19
|
+
**Merged Pull Requests**
|
20
|
+
|
21
|
+
- Generated Latest Changes for v2021-02-25 (External Invoices) [#831](https://github.com/recurly/recurly-client-ruby/pull/831) ([recurly-integrations](https://github.com/recurly-integrations))
|
22
|
+
|
23
|
+
|
24
|
+
|
3
25
|
## [4.30.0](https://github.com/recurly/recurly-client-ruby/tree/4.30.0) (2023-02-22)
|
4
26
|
|
5
27
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.29.0...4.30.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.32'
|
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.
|
@@ -750,6 +750,26 @@ module Recurly
|
|
750
750
|
pager(path, **options)
|
751
751
|
end
|
752
752
|
|
753
|
+
# List the external invoices on an account
|
754
|
+
#
|
755
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/list_account_external_invoices list_account_external_invoices api documentation}
|
756
|
+
#
|
757
|
+
# @param account_id [String] Account ID or code. For ID no prefix is used e.g. +e28zov4fw0v2+. For code use prefix +code-+, e.g. +code-bob+.
|
758
|
+
# @param params [Hash] Optional query string parameters:
|
759
|
+
# :sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
|
760
|
+
# order. In descending order updated records will move behind the cursor and could
|
761
|
+
# prevent some records from being returned.
|
762
|
+
#
|
763
|
+
# :limit [Integer] Limit number of records 1-200.
|
764
|
+
# :order [String] Sort order.
|
765
|
+
#
|
766
|
+
# @return [Pager<Resources::ExternalInvoice>] A list of the the external_invoices on an account.
|
767
|
+
#
|
768
|
+
def list_account_external_invoices(account_id:, **options)
|
769
|
+
path = interpolate_path("/accounts/{account_id}/external_invoices", account_id: account_id)
|
770
|
+
pager(path, **options)
|
771
|
+
end
|
772
|
+
|
753
773
|
# List an account's invoices
|
754
774
|
#
|
755
775
|
# {https://developers.recurly.com/api/v2021-02-25#operation/list_account_invoices list_account_invoices api documentation}
|
@@ -2109,6 +2129,26 @@ module Recurly
|
|
2109
2129
|
get(path, **options)
|
2110
2130
|
end
|
2111
2131
|
|
2132
|
+
# List the external invoices on an external subscription
|
2133
|
+
#
|
2134
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/list_external_subscription_external_invoices list_external_subscription_external_invoices api documentation}
|
2135
|
+
#
|
2136
|
+
# @param external_subscription_id [String] External subscription id
|
2137
|
+
# @param params [Hash] Optional query string parameters:
|
2138
|
+
# :sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
|
2139
|
+
# order. In descending order updated records will move behind the cursor and could
|
2140
|
+
# prevent some records from being returned.
|
2141
|
+
#
|
2142
|
+
# :limit [Integer] Limit number of records 1-200.
|
2143
|
+
# :order [String] Sort order.
|
2144
|
+
#
|
2145
|
+
# @return [Pager<Resources::ExternalInvoice>] A list of the the external_invoices on a site.
|
2146
|
+
#
|
2147
|
+
def list_external_subscription_external_invoices(external_subscription_id:, **options)
|
2148
|
+
path = interpolate_path("/external_subscriptions/{external_subscription_id}/external_invoices", external_subscription_id: external_subscription_id)
|
2149
|
+
pager(path, **options)
|
2150
|
+
end
|
2151
|
+
|
2112
2152
|
# List a site's invoices
|
2113
2153
|
#
|
2114
2154
|
# {https://developers.recurly.com/api/v2021-02-25#operation/list_invoices list_invoices api documentation}
|
@@ -4179,6 +4219,39 @@ module Recurly
|
|
4179
4219
|
get(path, **options)
|
4180
4220
|
end
|
4181
4221
|
|
4222
|
+
# List the external invoices on a site
|
4223
|
+
#
|
4224
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/list_external_invoices list_external_invoices api documentation}
|
4225
|
+
#
|
4226
|
+
# @param params [Hash] Optional query string parameters:
|
4227
|
+
# :sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
|
4228
|
+
# order. In descending order updated records will move behind the cursor and could
|
4229
|
+
# prevent some records from being returned.
|
4230
|
+
#
|
4231
|
+
# :limit [Integer] Limit number of records 1-200.
|
4232
|
+
# :order [String] Sort order.
|
4233
|
+
#
|
4234
|
+
# @return [Pager<Resources::ExternalInvoice>] A list of the the external_invoices on a site.
|
4235
|
+
#
|
4236
|
+
def list_external_invoices(**options)
|
4237
|
+
path = "/external_invoices"
|
4238
|
+
pager(path, **options)
|
4239
|
+
end
|
4240
|
+
|
4241
|
+
# Fetch an external invoice
|
4242
|
+
#
|
4243
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/show_external_invoice show_external_invoice api documentation}
|
4244
|
+
#
|
4245
|
+
# @param external_invoice_id [String] External invoice ID, e.g. +e28zov4fw0v2+.
|
4246
|
+
# @param params [Hash] Optional query string parameters:
|
4247
|
+
#
|
4248
|
+
# @return [Resources::ExternalInvoice] Returns the external invoice
|
4249
|
+
#
|
4250
|
+
def show_external_invoice(external_invoice_id:, **options)
|
4251
|
+
path = interpolate_path("/external_invoices/{external_invoice_id}", external_invoice_id: external_invoice_id)
|
4252
|
+
get(path, **options)
|
4253
|
+
end
|
4254
|
+
|
4182
4255
|
# List entitlements granted to an account
|
4183
4256
|
#
|
4184
4257
|
# {https://developers.recurly.com/api/v2021-02-25#operation/list_entitlements list_entitlements api documentation}
|
@@ -34,6 +34,10 @@ module Recurly
|
|
34
34
|
# @return [String] Company name
|
35
35
|
define_attribute :company, String
|
36
36
|
|
37
|
+
# @!attribute currency
|
38
|
+
# @return [String] 3-letter ISO 4217 currency code.
|
39
|
+
define_attribute :currency, String
|
40
|
+
|
37
41
|
# @!attribute cvv
|
38
42
|
# @return [String] *STRONGLY RECOMMENDED*
|
39
43
|
define_attribute :cvv, String
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# This file is automatically created by Recurly's OpenAPI generation process
|
2
|
+
# and thus any edits you make by hand will be lost. If you wish to make a
|
3
|
+
# change to this file, please create a Github issue explaining the changes you
|
4
|
+
# need and we will usher them to the appropriate places.
|
5
|
+
module Recurly
|
6
|
+
module Resources
|
7
|
+
class ExternalCharge < Resource
|
8
|
+
|
9
|
+
# @!attribute account
|
10
|
+
# @return [AccountMini] Account mini details
|
11
|
+
define_attribute :account, :AccountMini
|
12
|
+
|
13
|
+
# @!attribute created_at
|
14
|
+
# @return [DateTime] When the external charge was created in Recurly.
|
15
|
+
define_attribute :created_at, DateTime
|
16
|
+
|
17
|
+
# @!attribute currency
|
18
|
+
# @return [String] 3-letter ISO 4217 currency code.
|
19
|
+
define_attribute :currency, String
|
20
|
+
|
21
|
+
# @!attribute description
|
22
|
+
# @return [String]
|
23
|
+
define_attribute :description, String
|
24
|
+
|
25
|
+
# @!attribute external_product_reference
|
26
|
+
# @return [ExternalProductReferenceMini] External Product Reference details
|
27
|
+
define_attribute :external_product_reference, :ExternalProductReferenceMini
|
28
|
+
|
29
|
+
# @!attribute id
|
30
|
+
# @return [String] System-generated unique identifier for an external charge ID, e.g. `e28zov4fw0v2`.
|
31
|
+
define_attribute :id, String
|
32
|
+
|
33
|
+
# @!attribute object
|
34
|
+
# @return [String] Object type
|
35
|
+
define_attribute :object, String
|
36
|
+
|
37
|
+
# @!attribute quantity
|
38
|
+
# @return [Integer]
|
39
|
+
define_attribute :quantity, Integer
|
40
|
+
|
41
|
+
# @!attribute unit_amount
|
42
|
+
# @return [String] Unit Amount
|
43
|
+
define_attribute :unit_amount, String
|
44
|
+
|
45
|
+
# @!attribute updated_at
|
46
|
+
# @return [DateTime] When the external charge was updated in Recurly.
|
47
|
+
define_attribute :updated_at, DateTime
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# This file is automatically created by Recurly's OpenAPI generation process
|
2
|
+
# and thus any edits you make by hand will be lost. If you wish to make a
|
3
|
+
# change to this file, please create a Github issue explaining the changes you
|
4
|
+
# need and we will usher them to the appropriate places.
|
5
|
+
module Recurly
|
6
|
+
module Resources
|
7
|
+
class ExternalInvoice < Resource
|
8
|
+
|
9
|
+
# @!attribute account
|
10
|
+
# @return [AccountMini] Account mini details
|
11
|
+
define_attribute :account, :AccountMini
|
12
|
+
|
13
|
+
# @!attribute created_at
|
14
|
+
# @return [DateTime] When the external invoice was created in Recurly.
|
15
|
+
define_attribute :created_at, DateTime
|
16
|
+
|
17
|
+
# @!attribute currency
|
18
|
+
# @return [String] 3-letter ISO 4217 currency code.
|
19
|
+
define_attribute :currency, String
|
20
|
+
|
21
|
+
# @!attribute external_id
|
22
|
+
# @return [String] An identifier which associates the external invoice to a corresponding object in an external platform.
|
23
|
+
define_attribute :external_id, String
|
24
|
+
|
25
|
+
# @!attribute external_subscription
|
26
|
+
# @return [ExternalSubscription] Subscription from an external resource such as Apple App Store or Google Play Store.
|
27
|
+
define_attribute :external_subscription, :ExternalSubscription
|
28
|
+
|
29
|
+
# @!attribute id
|
30
|
+
# @return [String] System-generated unique identifier for an external invoice ID, e.g. `e28zov4fw0v2`.
|
31
|
+
define_attribute :id, String
|
32
|
+
|
33
|
+
# @!attribute line_items
|
34
|
+
# @return [Array[ExternalCharge]]
|
35
|
+
define_attribute :line_items, Array, { :item_type => :ExternalCharge }
|
36
|
+
|
37
|
+
# @!attribute object
|
38
|
+
# @return [String] Object type
|
39
|
+
define_attribute :object, String
|
40
|
+
|
41
|
+
# @!attribute purchased_at
|
42
|
+
# @return [DateTime] When the invoice was created in the external platform.
|
43
|
+
define_attribute :purchased_at, DateTime
|
44
|
+
|
45
|
+
# @!attribute state
|
46
|
+
# @return [String]
|
47
|
+
define_attribute :state, String
|
48
|
+
|
49
|
+
# @!attribute total
|
50
|
+
# @return [String] Total
|
51
|
+
define_attribute :total, String
|
52
|
+
|
53
|
+
# @!attribute updated_at
|
54
|
+
# @return [DateTime] When the external invoice was updated in Recurly.
|
55
|
+
define_attribute :updated_at, DateTime
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -200,6 +200,7 @@ x-tagGroups:
|
|
200
200
|
- usage
|
201
201
|
- automated_exports
|
202
202
|
- external_subscriptions
|
203
|
+
- external_invoices
|
203
204
|
- external_products
|
204
205
|
- gift_cards
|
205
206
|
- name: Products and Promotions
|
@@ -346,6 +347,11 @@ tags:
|
|
346
347
|
description: A subscription from an external resource that is not managed by the
|
347
348
|
Recurly platform and instead is managed by third-party platforms like Apple App
|
348
349
|
Store and Google Play Store.
|
350
|
+
- name: external_invoices
|
351
|
+
x-displayName: External Invoices
|
352
|
+
description: An invoice from an external resource that is not managed by the Recurly
|
353
|
+
platform and instead is managed by third-party platforms like Apple App Store
|
354
|
+
and Google Play Store.
|
349
355
|
- name: external_products
|
350
356
|
x-displayName: External Product
|
351
357
|
description: A product from an external resource that is not managed by the Recurly
|
@@ -3244,6 +3250,40 @@ paths:
|
|
3244
3250
|
:= err.(*recurly.Error); ok {\n\t\tfmt.Printf(\"Failed to retrieve next
|
3245
3251
|
page: %v\", e)\n\t\tbreak\n\t}\n\tfor i, creditPayment := range creditPayments.Data()
|
3246
3252
|
{\n\t\tfmt.Printf(\"Account Credit Payment %3d: %s\\n\",\n\t\t\ti,\n\t\t\tcreditPayment.Id,\n\t\t)\n\t}\n}"
|
3253
|
+
"/accounts/{account_id}/external_invoices":
|
3254
|
+
parameters:
|
3255
|
+
- "$ref": "#/components/parameters/account_id"
|
3256
|
+
get:
|
3257
|
+
tags:
|
3258
|
+
- account
|
3259
|
+
operationId: list_account_external_invoices
|
3260
|
+
summary: List the external invoices on an account
|
3261
|
+
description: See the [Pagination Guide](/developers/guides/pagination.html)
|
3262
|
+
to learn how to use pagination in the API and Client Libraries.
|
3263
|
+
parameters:
|
3264
|
+
- "$ref": "#/components/parameters/sort_dates"
|
3265
|
+
- "$ref": "#/components/parameters/limit"
|
3266
|
+
- "$ref": "#/components/parameters/order"
|
3267
|
+
responses:
|
3268
|
+
'200':
|
3269
|
+
description: A list of the the external_invoices on an account.
|
3270
|
+
content:
|
3271
|
+
application/json:
|
3272
|
+
schema:
|
3273
|
+
"$ref": "#/components/schemas/ExternalInvoiceList"
|
3274
|
+
'404':
|
3275
|
+
description: Incorrect account.
|
3276
|
+
content:
|
3277
|
+
application/json:
|
3278
|
+
schema:
|
3279
|
+
"$ref": "#/components/schemas/Error"
|
3280
|
+
default:
|
3281
|
+
description: Unexpected error.
|
3282
|
+
content:
|
3283
|
+
application/json:
|
3284
|
+
schema:
|
3285
|
+
"$ref": "#/components/schemas/Error"
|
3286
|
+
x-code-samples: []
|
3247
3287
|
"/accounts/{account_id}/invoices":
|
3248
3288
|
get:
|
3249
3289
|
tags:
|
@@ -7588,6 +7628,40 @@ paths:
|
|
7588
7628
|
schema:
|
7589
7629
|
"$ref": "#/components/schemas/Error"
|
7590
7630
|
x-code-samples: []
|
7631
|
+
"/external_subscriptions/{external_subscription_id}/external_invoices":
|
7632
|
+
parameters:
|
7633
|
+
- "$ref": "#/components/parameters/external_subscription_id"
|
7634
|
+
get:
|
7635
|
+
tags:
|
7636
|
+
- external_subscriptions
|
7637
|
+
operationId: list_external_subscription_external_invoices
|
7638
|
+
summary: List the external invoices on an external subscription
|
7639
|
+
description: See the [Pagination Guide](/developers/guides/pagination.html)
|
7640
|
+
to learn how to use pagination in the API and Client Libraries.
|
7641
|
+
parameters:
|
7642
|
+
- "$ref": "#/components/parameters/sort_dates"
|
7643
|
+
- "$ref": "#/components/parameters/limit"
|
7644
|
+
- "$ref": "#/components/parameters/order"
|
7645
|
+
responses:
|
7646
|
+
'200':
|
7647
|
+
description: A list of the the external_invoices on a site.
|
7648
|
+
content:
|
7649
|
+
application/json:
|
7650
|
+
schema:
|
7651
|
+
"$ref": "#/components/schemas/ExternalInvoiceList"
|
7652
|
+
'404':
|
7653
|
+
description: Incorrect site.
|
7654
|
+
content:
|
7655
|
+
application/json:
|
7656
|
+
schema:
|
7657
|
+
"$ref": "#/components/schemas/Error"
|
7658
|
+
default:
|
7659
|
+
description: Unexpected error.
|
7660
|
+
content:
|
7661
|
+
application/json:
|
7662
|
+
schema:
|
7663
|
+
"$ref": "#/components/schemas/Error"
|
7664
|
+
x-code-samples: []
|
7591
7665
|
"/invoices":
|
7592
7666
|
get:
|
7593
7667
|
tags:
|
@@ -15346,6 +15420,72 @@ paths:
|
|
15346
15420
|
schema:
|
15347
15421
|
"$ref": "#/components/schemas/Error"
|
15348
15422
|
x-code-samples: []
|
15423
|
+
"/external_invoices":
|
15424
|
+
get:
|
15425
|
+
tags:
|
15426
|
+
- external_invoices
|
15427
|
+
operationId: list_external_invoices
|
15428
|
+
summary: List the external invoices on a site
|
15429
|
+
description: See the [Pagination Guide](/developers/guides/pagination.html)
|
15430
|
+
to learn how to use pagination in the API and Client Libraries.
|
15431
|
+
parameters:
|
15432
|
+
- "$ref": "#/components/parameters/sort_dates"
|
15433
|
+
- "$ref": "#/components/parameters/limit"
|
15434
|
+
- "$ref": "#/components/parameters/order"
|
15435
|
+
responses:
|
15436
|
+
'200':
|
15437
|
+
description: A list of the the external_invoices on a site.
|
15438
|
+
content:
|
15439
|
+
application/json:
|
15440
|
+
schema:
|
15441
|
+
"$ref": "#/components/schemas/ExternalInvoiceList"
|
15442
|
+
'404':
|
15443
|
+
description: Incorrect site.
|
15444
|
+
content:
|
15445
|
+
application/json:
|
15446
|
+
schema:
|
15447
|
+
"$ref": "#/components/schemas/Error"
|
15448
|
+
default:
|
15449
|
+
description: Unexpected error.
|
15450
|
+
content:
|
15451
|
+
application/json:
|
15452
|
+
schema:
|
15453
|
+
"$ref": "#/components/schemas/Error"
|
15454
|
+
x-code-samples: []
|
15455
|
+
"/external_invoices/{external_invoice_id}":
|
15456
|
+
parameters:
|
15457
|
+
- "$ref": "#/components/parameters/external_invoice_id"
|
15458
|
+
get:
|
15459
|
+
tags:
|
15460
|
+
- external_invoices
|
15461
|
+
operationId: show_external_invoice
|
15462
|
+
summary: Fetch an external invoice
|
15463
|
+
responses:
|
15464
|
+
'201':
|
15465
|
+
description: Returns the external invoice
|
15466
|
+
content:
|
15467
|
+
application/json:
|
15468
|
+
schema:
|
15469
|
+
"$ref": "#/components/schemas/ExternalInvoice"
|
15470
|
+
'400':
|
15471
|
+
description: Bad request; perhaps missing or invalid parameters.
|
15472
|
+
content:
|
15473
|
+
application/json:
|
15474
|
+
schema:
|
15475
|
+
"$ref": "#/components/schemas/Error"
|
15476
|
+
'404':
|
15477
|
+
description: External invoice cannot be found for the specified reason.
|
15478
|
+
content:
|
15479
|
+
application/json:
|
15480
|
+
schema:
|
15481
|
+
"$ref": "#/components/schemas/Error"
|
15482
|
+
default:
|
15483
|
+
description: Unexpected error.
|
15484
|
+
content:
|
15485
|
+
application/json:
|
15486
|
+
schema:
|
15487
|
+
"$ref": "#/components/schemas/Error"
|
15488
|
+
x-code-samples: []
|
15349
15489
|
"/accounts/{account_id}/entitlements":
|
15350
15490
|
parameters:
|
15351
15491
|
- "$ref": "#/components/parameters/account_id"
|
@@ -15643,6 +15783,13 @@ components:
|
|
15643
15783
|
required: true
|
15644
15784
|
schema:
|
15645
15785
|
type: string
|
15786
|
+
external_invoice_id:
|
15787
|
+
name: external_invoice_id
|
15788
|
+
in: path
|
15789
|
+
description: External invoice ID, e.g. `e28zov4fw0v2`.
|
15790
|
+
required: true
|
15791
|
+
schema:
|
15792
|
+
type: string
|
15646
15793
|
external_product_id:
|
15647
15794
|
name: external_product_id
|
15648
15795
|
in: path
|
@@ -17457,6 +17604,9 @@ components:
|
|
17457
17604
|
title: Security code or CVV
|
17458
17605
|
description: "*STRONGLY RECOMMENDED*"
|
17459
17606
|
maxLength: 4
|
17607
|
+
currency:
|
17608
|
+
type: string
|
17609
|
+
description: 3-letter ISO 4217 currency code.
|
17460
17610
|
vat_number:
|
17461
17611
|
type: string
|
17462
17612
|
title: VAT number
|
@@ -22918,6 +23068,110 @@ components:
|
|
22918
23068
|
type: array
|
22919
23069
|
items:
|
22920
23070
|
"$ref": "#/components/schemas/ExternalSubscription"
|
23071
|
+
ExternalInvoice:
|
23072
|
+
type: object
|
23073
|
+
description: Invoice from an external resource such as Apple App Store or Google
|
23074
|
+
Play Store.
|
23075
|
+
properties:
|
23076
|
+
id:
|
23077
|
+
type: string
|
23078
|
+
title: External invoice ID
|
23079
|
+
description: System-generated unique identifier for an external invoice
|
23080
|
+
ID, e.g. `e28zov4fw0v2`.
|
23081
|
+
object:
|
23082
|
+
type: string
|
23083
|
+
title: Object type
|
23084
|
+
account:
|
23085
|
+
"$ref": "#/components/schemas/AccountMini"
|
23086
|
+
external_subscription:
|
23087
|
+
"$ref": "#/components/schemas/ExternalSubscription"
|
23088
|
+
external_id:
|
23089
|
+
type: string
|
23090
|
+
description: An identifier which associates the external invoice to a corresponding
|
23091
|
+
object in an external platform.
|
23092
|
+
state:
|
23093
|
+
"$ref": "#/components/schemas/ExternalInvoiceStateEnum"
|
23094
|
+
total:
|
23095
|
+
type: string
|
23096
|
+
format: decimal
|
23097
|
+
title: Total
|
23098
|
+
currency:
|
23099
|
+
type: string
|
23100
|
+
title: Currency
|
23101
|
+
description: 3-letter ISO 4217 currency code.
|
23102
|
+
line_items:
|
23103
|
+
type: array
|
23104
|
+
items:
|
23105
|
+
"$ref": "#/components/schemas/ExternalCharge"
|
23106
|
+
purchased_at:
|
23107
|
+
type: string
|
23108
|
+
format: date-time
|
23109
|
+
description: When the invoice was created in the external platform.
|
23110
|
+
created_at:
|
23111
|
+
type: string
|
23112
|
+
format: date-time
|
23113
|
+
description: When the external invoice was created in Recurly.
|
23114
|
+
updated_at:
|
23115
|
+
type: string
|
23116
|
+
format: date-time
|
23117
|
+
title: Updated at
|
23118
|
+
description: When the external invoice was updated in Recurly.
|
23119
|
+
ExternalInvoiceList:
|
23120
|
+
type: object
|
23121
|
+
properties:
|
23122
|
+
object:
|
23123
|
+
type: string
|
23124
|
+
title: Object type
|
23125
|
+
description: Will always be List.
|
23126
|
+
has_more:
|
23127
|
+
type: boolean
|
23128
|
+
description: Indicates there are more results on subsequent pages.
|
23129
|
+
next:
|
23130
|
+
type: string
|
23131
|
+
description: Path to subsequent page of results.
|
23132
|
+
data:
|
23133
|
+
type: array
|
23134
|
+
items:
|
23135
|
+
"$ref": "#/components/schemas/ExternalInvoice"
|
23136
|
+
ExternalCharge:
|
23137
|
+
type: object
|
23138
|
+
description: Charge from an external resource such as Apple App Store or Google
|
23139
|
+
Play Store.
|
23140
|
+
properties:
|
23141
|
+
id:
|
23142
|
+
type: string
|
23143
|
+
title: External invoice ID
|
23144
|
+
description: System-generated unique identifier for an external charge ID,
|
23145
|
+
e.g. `e28zov4fw0v2`.
|
23146
|
+
object:
|
23147
|
+
type: string
|
23148
|
+
title: Object type
|
23149
|
+
account:
|
23150
|
+
"$ref": "#/components/schemas/AccountMini"
|
23151
|
+
currency:
|
23152
|
+
type: string
|
23153
|
+
title: Currency
|
23154
|
+
description: 3-letter ISO 4217 currency code.
|
23155
|
+
unit_amount:
|
23156
|
+
type: string
|
23157
|
+
format: decimal
|
23158
|
+
title: Unit Amount
|
23159
|
+
quantity:
|
23160
|
+
type: integer
|
23161
|
+
description:
|
23162
|
+
type: string
|
23163
|
+
external_product_reference:
|
23164
|
+
"$ref": "#/components/schemas/ExternalProductReferenceMini"
|
23165
|
+
created_at:
|
23166
|
+
type: string
|
23167
|
+
format: date-time
|
23168
|
+
title: Created at
|
23169
|
+
description: When the external charge was created in Recurly.
|
23170
|
+
updated_at:
|
23171
|
+
type: string
|
23172
|
+
format: date-time
|
23173
|
+
title: Updated at
|
23174
|
+
description: When the external charge was updated in Recurly.
|
22921
23175
|
CustomerPermission:
|
22922
23176
|
type: object
|
22923
23177
|
properties:
|
@@ -24276,3 +24530,7 @@ components:
|
|
24276
24530
|
enum:
|
24277
24531
|
- ideal
|
24278
24532
|
- sofort
|
24533
|
+
ExternalInvoiceStateEnum:
|
24534
|
+
type: string
|
24535
|
+
enum:
|
24536
|
+
- paid
|
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.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -256,6 +256,8 @@ files:
|
|
256
256
|
- lib/recurly/resources/export_dates.rb
|
257
257
|
- lib/recurly/resources/export_file.rb
|
258
258
|
- lib/recurly/resources/export_files.rb
|
259
|
+
- lib/recurly/resources/external_charge.rb
|
260
|
+
- lib/recurly/resources/external_invoice.rb
|
259
261
|
- lib/recurly/resources/external_product.rb
|
260
262
|
- lib/recurly/resources/external_product_reference_mini.rb
|
261
263
|
- lib/recurly/resources/external_subscription.rb
|
@@ -331,7 +333,7 @@ metadata:
|
|
331
333
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
332
334
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
333
335
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
334
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
336
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.32.0
|
335
337
|
post_install_message:
|
336
338
|
rdoc_options: []
|
337
339
|
require_paths:
|