recurly 4.32.0 → 4.34.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 +75 -0
- data/lib/recurly/requests/account_create.rb +4 -0
- data/lib/recurly/requests/external_account_create.rb +18 -0
- data/lib/recurly/requests/external_account_update.rb +18 -0
- data/lib/recurly/resources/account.rb +4 -0
- data/lib/recurly/resources/external_account.rb +34 -0
- data/lib/recurly/resources/invoice.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +298 -0
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d58e029341b54321e97343bfaec205f5bc54ff3dc701dce3e14b61aab34be77
|
4
|
+
data.tar.gz: 0bf3d6ec35a4902fe4b70036287e65b146bfa541b2e6c0689e34180c663decf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e90264d1c835e0fab6a9c59346deb9833799e9d0366a9be770293a85e0a5f65cd86503c17adc684652374b9b78c31539f24cd6bf92d55096e446ad11a28657b
|
7
|
+
data.tar.gz: d3717f71919f049cb49bc0ad797d6a9d9d33a7c2214df50fcb3cd295195038f75422d21c019b0e2f52b1c9a1ab256edcfac355aefd17b9203a6b7a6be39d5f18
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.34.0](https://github.com/recurly/recurly-client-ruby/tree/4.34.0) (2023-04-26)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.33.0...4.34.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 (used_tax_service on Invoice) [#839](https://github.com/recurly/recurly-client-ruby/pull/839) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [4.33.0](https://github.com/recurly/recurly-client-ruby/tree/4.33.0) (2023-04-13)
|
15
|
+
|
16
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.32.0...4.33.0)
|
17
|
+
|
18
|
+
|
19
|
+
**Merged Pull Requests**
|
20
|
+
|
21
|
+
- Generated Latest Changes for v2021-02-25 (External Accounts) [#836](https://github.com/recurly/recurly-client-ruby/pull/836) ([recurly-integrations](https://github.com/recurly-integrations))
|
22
|
+
|
23
|
+
|
24
|
+
|
3
25
|
## [4.32.0](https://github.com/recurly/recurly-client-ruby/tree/4.32.0) (2023-04-05)
|
4
26
|
|
5
27
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.31.0...4.32.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.34'
|
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,81 @@ module Recurly
|
|
750
750
|
pager(path, **options)
|
751
751
|
end
|
752
752
|
|
753
|
+
# List external accounts for an account
|
754
|
+
#
|
755
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/list_account_external_account list_account_external_account 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
|
+
#
|
760
|
+
# @return [Pager<Resources::ExternalAccount>] A list of external accounts on an account.
|
761
|
+
#
|
762
|
+
def list_account_external_account(account_id:, **options)
|
763
|
+
path = interpolate_path("/accounts/{account_id}/external_accounts", account_id: account_id)
|
764
|
+
pager(path, **options)
|
765
|
+
end
|
766
|
+
|
767
|
+
# Create an external account
|
768
|
+
#
|
769
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/create_account_external_account create_account_external_account api documentation}
|
770
|
+
#
|
771
|
+
# @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+.
|
772
|
+
# @param body [Requests::ExternalAccountCreate] The Hash representing the JSON request to send to the server. It should conform to the schema of {Requests::ExternalAccountCreate}
|
773
|
+
# @param params [Hash] Optional query string parameters:
|
774
|
+
#
|
775
|
+
# @return [Resources::ExternalAccount] A representation of the created external_account.
|
776
|
+
#
|
777
|
+
def create_account_external_account(account_id:, body:, **options)
|
778
|
+
path = interpolate_path("/accounts/{account_id}/external_accounts", account_id: account_id)
|
779
|
+
post(path, body, Requests::ExternalAccountCreate, **options)
|
780
|
+
end
|
781
|
+
|
782
|
+
# Get an external account for an account
|
783
|
+
#
|
784
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/get_account_external_account get_account_external_account api documentation}
|
785
|
+
#
|
786
|
+
# @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+.
|
787
|
+
# @param external_account_id [String] External account ID, e.g. +s28zov4fw0cb+.
|
788
|
+
# @param params [Hash] Optional query string parameters:
|
789
|
+
#
|
790
|
+
# @return [Resources::ExternalAccount] A external account on an account.
|
791
|
+
#
|
792
|
+
def get_account_external_account(account_id:, external_account_id:, **options)
|
793
|
+
path = interpolate_path("/accounts/{account_id}/external_accounts/{external_account_id}", account_id: account_id, external_account_id: external_account_id)
|
794
|
+
get(path, **options)
|
795
|
+
end
|
796
|
+
|
797
|
+
# Update an external account
|
798
|
+
#
|
799
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/update_account_external_account update_account_external_account api documentation}
|
800
|
+
#
|
801
|
+
# @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+.
|
802
|
+
# @param external_account_id [String] External account ID, e.g. +s28zov4fw0cb+.
|
803
|
+
# @param body [Requests::ExternalAccountUpdate] The Hash representing the JSON request to send to the server. It should conform to the schema of {Requests::ExternalAccountUpdate}
|
804
|
+
# @param params [Hash] Optional query string parameters:
|
805
|
+
#
|
806
|
+
# @return [Resources::ExternalAccount] A representation of the updated external_account.
|
807
|
+
#
|
808
|
+
def update_account_external_account(account_id:, external_account_id:, body:, **options)
|
809
|
+
path = interpolate_path("/accounts/{account_id}/external_accounts/{external_account_id}", account_id: account_id, external_account_id: external_account_id)
|
810
|
+
put(path, body, Requests::ExternalAccountUpdate, **options)
|
811
|
+
end
|
812
|
+
|
813
|
+
# Delete an external account for an account
|
814
|
+
#
|
815
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/delete_account_external_account delete_account_external_account api documentation}
|
816
|
+
#
|
817
|
+
# @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+.
|
818
|
+
# @param external_account_id [String] External account ID, e.g. +s28zov4fw0cb+.
|
819
|
+
# @param params [Hash] Optional query string parameters:
|
820
|
+
#
|
821
|
+
# @return [Resources::ExternalAccount] Successful Delete
|
822
|
+
#
|
823
|
+
def delete_account_external_account(account_id:, external_account_id:, **options)
|
824
|
+
path = interpolate_path("/accounts/{account_id}/external_accounts/{external_account_id}", account_id: account_id, external_account_id: external_account_id)
|
825
|
+
delete(path, **options)
|
826
|
+
end
|
827
|
+
|
753
828
|
# List the external invoices on an account
|
754
829
|
#
|
755
830
|
# {https://developers.recurly.com/api/v2021-02-25#operation/list_account_external_invoices list_account_external_invoices api documentation}
|
@@ -50,6 +50,10 @@ module Recurly
|
|
50
50
|
# @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
|
51
51
|
define_attribute :exemption_certificate, String
|
52
52
|
|
53
|
+
# @!attribute external_accounts
|
54
|
+
# @return [Array[ExternalAccountCreate]] External Accounts
|
55
|
+
define_attribute :external_accounts, Array, { :item_type => :ExternalAccountCreate }
|
56
|
+
|
53
57
|
# @!attribute first_name
|
54
58
|
# @return [String]
|
55
59
|
define_attribute :first_name, String
|
@@ -0,0 +1,18 @@
|
|
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 Requests
|
7
|
+
class ExternalAccountCreate < Request
|
8
|
+
|
9
|
+
# @!attribute external_account_code
|
10
|
+
# @return [String] Represents the account code for the external account.
|
11
|
+
define_attribute :external_account_code, String
|
12
|
+
|
13
|
+
# @!attribute external_connection_type
|
14
|
+
# @return [String] Represents the connection type. `AppleAppStore` or `GooglePlayStore`
|
15
|
+
define_attribute :external_connection_type, String
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
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 Requests
|
7
|
+
class ExternalAccountUpdate < Request
|
8
|
+
|
9
|
+
# @!attribute external_account_code
|
10
|
+
# @return [String] Represents the account code for the external account.
|
11
|
+
define_attribute :external_account_code, String
|
12
|
+
|
13
|
+
# @!attribute external_connection_type
|
14
|
+
# @return [String] Represents the connection type. `AppleAppStore` or `GooglePlayStore`
|
15
|
+
define_attribute :external_connection_type, String
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -54,6 +54,10 @@ module Recurly
|
|
54
54
|
# @return [String] The tax exemption certificate number for the account. If the merchant has an integration for the Vertex tax provider, this optional value will be sent in any tax calculation requests for the account.
|
55
55
|
define_attribute :exemption_certificate, String
|
56
56
|
|
57
|
+
# @!attribute external_accounts
|
58
|
+
# @return [Array[ExternalAccount]] The external accounts belonging to this account
|
59
|
+
define_attribute :external_accounts, Array, { :item_type => :ExternalAccount }
|
60
|
+
|
57
61
|
# @!attribute first_name
|
58
62
|
# @return [String]
|
59
63
|
define_attribute :first_name, String
|
@@ -0,0 +1,34 @@
|
|
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 ExternalAccount < Resource
|
8
|
+
|
9
|
+
# @!attribute created_at
|
10
|
+
# @return [DateTime] Created at
|
11
|
+
define_attribute :created_at, DateTime
|
12
|
+
|
13
|
+
# @!attribute external_account_code
|
14
|
+
# @return [String] Represents the account code for the external account.
|
15
|
+
define_attribute :external_account_code, String
|
16
|
+
|
17
|
+
# @!attribute external_connection_type
|
18
|
+
# @return [String] Represents the connection type. `AppleAppStore` or `GooglePlayStore`
|
19
|
+
define_attribute :external_connection_type, String
|
20
|
+
|
21
|
+
# @!attribute id
|
22
|
+
# @return [String] UUID of the external_account .
|
23
|
+
define_attribute :id, String
|
24
|
+
|
25
|
+
# @!attribute object
|
26
|
+
# @return [String]
|
27
|
+
define_attribute :object, String
|
28
|
+
|
29
|
+
# @!attribute updated_at
|
30
|
+
# @return [DateTime] Last updated at
|
31
|
+
define_attribute :updated_at, DateTime
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -154,6 +154,10 @@ module Recurly
|
|
154
154
|
# @return [DateTime] Last updated at
|
155
155
|
define_attribute :updated_at, DateTime
|
156
156
|
|
157
|
+
# @!attribute used_tax_service
|
158
|
+
# @return [Boolean] Will be `true` when the invoice had a successful response from the tax service and `false` when the invoice was not sent to tax service due to a lack of address or enabled jurisdiction or was processed without tax due to a non-blocking error returned from the tax service.
|
159
|
+
define_attribute :used_tax_service, :Boolean
|
160
|
+
|
157
161
|
# @!attribute uuid
|
158
162
|
# @return [String] Invoice UUID
|
159
163
|
define_attribute :uuid, String
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -202,6 +202,7 @@ x-tagGroups:
|
|
202
202
|
- external_subscriptions
|
203
203
|
- external_invoices
|
204
204
|
- external_products
|
205
|
+
- external_accounts
|
205
206
|
- gift_cards
|
206
207
|
- name: Products and Promotions
|
207
208
|
tags:
|
@@ -361,6 +362,11 @@ tags:
|
|
361
362
|
x-displayName: Gift Cards
|
362
363
|
description: Add gift card purchases to your checkout and allow gift card recipients
|
363
364
|
to redeem the gift card for credit towards any of your products.
|
365
|
+
- name: external_accounts
|
366
|
+
x-displayName: External Accounts
|
367
|
+
description: An account from an external resource that is not managed by the Recurly
|
368
|
+
platform and instead is managed by third-party platforms like Apple App Store
|
369
|
+
and Google Play Store.
|
364
370
|
paths:
|
365
371
|
"/sites":
|
366
372
|
get:
|
@@ -3250,6 +3256,208 @@ paths:
|
|
3250
3256
|
:= err.(*recurly.Error); ok {\n\t\tfmt.Printf(\"Failed to retrieve next
|
3251
3257
|
page: %v\", e)\n\t\tbreak\n\t}\n\tfor i, creditPayment := range creditPayments.Data()
|
3252
3258
|
{\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}"
|
3259
|
+
"/accounts/{account_id}/external_accounts":
|
3260
|
+
parameters:
|
3261
|
+
- "$ref": "#/components/parameters/account_id"
|
3262
|
+
get:
|
3263
|
+
tags:
|
3264
|
+
- external_accounts
|
3265
|
+
operationId: list_account_external_account
|
3266
|
+
summary: List external accounts for an account
|
3267
|
+
responses:
|
3268
|
+
'200':
|
3269
|
+
description: A list of external accounts on an account.
|
3270
|
+
content:
|
3271
|
+
application/json:
|
3272
|
+
schema:
|
3273
|
+
"$ref": "#/components/schemas/ExternalAccountList"
|
3274
|
+
'404':
|
3275
|
+
description: Incorrect account or external_account ID.
|
3276
|
+
content:
|
3277
|
+
application/json:
|
3278
|
+
schema:
|
3279
|
+
"$ref": "#/components/schemas/Error"
|
3280
|
+
'406':
|
3281
|
+
description: Unavailable API version
|
3282
|
+
content:
|
3283
|
+
application/json:
|
3284
|
+
schema:
|
3285
|
+
"$ref": "#/components/schemas/Error"
|
3286
|
+
'422':
|
3287
|
+
description: Feature not enabled on site
|
3288
|
+
content:
|
3289
|
+
application/json:
|
3290
|
+
schema:
|
3291
|
+
"$ref": "#/components/schemas/Error"
|
3292
|
+
default:
|
3293
|
+
description: Unexpected error.
|
3294
|
+
content:
|
3295
|
+
application/json:
|
3296
|
+
schema:
|
3297
|
+
"$ref": "#/components/schemas/Error"
|
3298
|
+
x-code-samples: []
|
3299
|
+
post:
|
3300
|
+
tags:
|
3301
|
+
- external_accounts
|
3302
|
+
operationId: create_account_external_account
|
3303
|
+
summary: Create an external account
|
3304
|
+
requestBody:
|
3305
|
+
content:
|
3306
|
+
application/json:
|
3307
|
+
schema:
|
3308
|
+
"$ref": "#/components/schemas/ExternalAccountCreate"
|
3309
|
+
responses:
|
3310
|
+
'200':
|
3311
|
+
description: A representation of the created external_account.
|
3312
|
+
content:
|
3313
|
+
application/json:
|
3314
|
+
schema:
|
3315
|
+
"$ref": "#/components/schemas/ExternalAccount"
|
3316
|
+
'404':
|
3317
|
+
description: Incorrect account or external_account ID.
|
3318
|
+
content:
|
3319
|
+
application/json:
|
3320
|
+
schema:
|
3321
|
+
"$ref": "#/components/schemas/Error"
|
3322
|
+
'406':
|
3323
|
+
description: Unavailable API version
|
3324
|
+
content:
|
3325
|
+
application/json:
|
3326
|
+
schema:
|
3327
|
+
"$ref": "#/components/schemas/Error"
|
3328
|
+
'422':
|
3329
|
+
description: Feature not enabled on site
|
3330
|
+
content:
|
3331
|
+
application/json:
|
3332
|
+
schema:
|
3333
|
+
"$ref": "#/components/schemas/Error"
|
3334
|
+
default:
|
3335
|
+
description: Unexpected error.
|
3336
|
+
content:
|
3337
|
+
application/json:
|
3338
|
+
schema:
|
3339
|
+
"$ref": "#/components/schemas/Error"
|
3340
|
+
x-code-samples: []
|
3341
|
+
"/accounts/{account_id}/external_accounts/{external_account_id}":
|
3342
|
+
parameters:
|
3343
|
+
- "$ref": "#/components/parameters/account_id"
|
3344
|
+
- "$ref": "#/components/parameters/external_account_id"
|
3345
|
+
get:
|
3346
|
+
tags:
|
3347
|
+
- external_accounts
|
3348
|
+
operationId: get_account_external_account
|
3349
|
+
summary: Get an external account for an account
|
3350
|
+
responses:
|
3351
|
+
'200':
|
3352
|
+
description: A external account on an account.
|
3353
|
+
content:
|
3354
|
+
application/json:
|
3355
|
+
schema:
|
3356
|
+
"$ref": "#/components/schemas/ExternalAccount"
|
3357
|
+
'404':
|
3358
|
+
description: Incorrect account or external_account ID.
|
3359
|
+
content:
|
3360
|
+
application/json:
|
3361
|
+
schema:
|
3362
|
+
"$ref": "#/components/schemas/Error"
|
3363
|
+
'406':
|
3364
|
+
description: Unavailable API version
|
3365
|
+
content:
|
3366
|
+
application/json:
|
3367
|
+
schema:
|
3368
|
+
"$ref": "#/components/schemas/Error"
|
3369
|
+
'422':
|
3370
|
+
description: Feature not enabled on site
|
3371
|
+
content:
|
3372
|
+
application/json:
|
3373
|
+
schema:
|
3374
|
+
"$ref": "#/components/schemas/Error"
|
3375
|
+
default:
|
3376
|
+
description: Unexpected error.
|
3377
|
+
content:
|
3378
|
+
application/json:
|
3379
|
+
schema:
|
3380
|
+
"$ref": "#/components/schemas/Error"
|
3381
|
+
x-code-samples: []
|
3382
|
+
put:
|
3383
|
+
tags:
|
3384
|
+
- external_accounts
|
3385
|
+
operationId: update_account_external_account
|
3386
|
+
summary: Update an external account
|
3387
|
+
requestBody:
|
3388
|
+
content:
|
3389
|
+
application/json:
|
3390
|
+
schema:
|
3391
|
+
"$ref": "#/components/schemas/ExternalAccountUpdate"
|
3392
|
+
responses:
|
3393
|
+
'200':
|
3394
|
+
description: A representation of the updated external_account.
|
3395
|
+
content:
|
3396
|
+
application/json:
|
3397
|
+
schema:
|
3398
|
+
"$ref": "#/components/schemas/ExternalAccount"
|
3399
|
+
'404':
|
3400
|
+
description: Incorrect account or external_account ID.
|
3401
|
+
content:
|
3402
|
+
application/json:
|
3403
|
+
schema:
|
3404
|
+
"$ref": "#/components/schemas/Error"
|
3405
|
+
'406':
|
3406
|
+
description: Unavailable API version
|
3407
|
+
content:
|
3408
|
+
application/json:
|
3409
|
+
schema:
|
3410
|
+
"$ref": "#/components/schemas/Error"
|
3411
|
+
'422':
|
3412
|
+
description: Feature not enabled on site
|
3413
|
+
content:
|
3414
|
+
application/json:
|
3415
|
+
schema:
|
3416
|
+
"$ref": "#/components/schemas/Error"
|
3417
|
+
default:
|
3418
|
+
description: Unexpected error.
|
3419
|
+
content:
|
3420
|
+
application/json:
|
3421
|
+
schema:
|
3422
|
+
"$ref": "#/components/schemas/Error"
|
3423
|
+
x-code-samples: []
|
3424
|
+
delete:
|
3425
|
+
tags:
|
3426
|
+
- external_accounts
|
3427
|
+
operationId: delete_account_external_account
|
3428
|
+
summary: Delete an external account for an account
|
3429
|
+
responses:
|
3430
|
+
'200':
|
3431
|
+
description: Successful Delete
|
3432
|
+
content:
|
3433
|
+
application/json:
|
3434
|
+
schema:
|
3435
|
+
"$ref": "#/components/schemas/ExternalAccount"
|
3436
|
+
'404':
|
3437
|
+
description: External Account not found
|
3438
|
+
content:
|
3439
|
+
application/json:
|
3440
|
+
schema:
|
3441
|
+
"$ref": "#/components/schemas/Error"
|
3442
|
+
'406':
|
3443
|
+
description: Unavailable API version
|
3444
|
+
content:
|
3445
|
+
application/json:
|
3446
|
+
schema:
|
3447
|
+
"$ref": "#/components/schemas/Error"
|
3448
|
+
'422':
|
3449
|
+
description: Feature not enabled on site
|
3450
|
+
content:
|
3451
|
+
application/json:
|
3452
|
+
schema:
|
3453
|
+
"$ref": "#/components/schemas/Error"
|
3454
|
+
default:
|
3455
|
+
description: Unexpected error.
|
3456
|
+
content:
|
3457
|
+
application/json:
|
3458
|
+
schema:
|
3459
|
+
"$ref": "#/components/schemas/Error"
|
3460
|
+
x-code-samples: []
|
3253
3461
|
"/accounts/{account_id}/external_invoices":
|
3254
3462
|
parameters:
|
3255
3463
|
- "$ref": "#/components/parameters/account_id"
|
@@ -15783,6 +15991,13 @@ components:
|
|
15783
15991
|
required: true
|
15784
15992
|
schema:
|
15785
15993
|
type: string
|
15994
|
+
external_account_id:
|
15995
|
+
name: external_account_id
|
15996
|
+
in: path
|
15997
|
+
description: External account ID, e.g. `s28zov4fw0cb`.
|
15998
|
+
required: true
|
15999
|
+
schema:
|
16000
|
+
type: string
|
15786
16001
|
external_invoice_id:
|
15787
16002
|
name: external_invoice_id
|
15788
16003
|
in: path
|
@@ -16566,6 +16781,11 @@ components:
|
|
16566
16781
|
maxLength: 50
|
16567
16782
|
acquisition:
|
16568
16783
|
"$ref": "#/components/schemas/AccountAcquisitionUpdate"
|
16784
|
+
external_accounts:
|
16785
|
+
type: array
|
16786
|
+
title: External Accounts
|
16787
|
+
items:
|
16788
|
+
"$ref": "#/components/schemas/ExternalAccountCreate"
|
16569
16789
|
shipping_addresses:
|
16570
16790
|
type: array
|
16571
16791
|
items:
|
@@ -16763,6 +16983,11 @@ components:
|
|
16763
16983
|
merchant has an integration for the Vertex tax provider, this optional
|
16764
16984
|
value will be sent in any tax calculation requests for the account.
|
16765
16985
|
maxLength: 30
|
16986
|
+
external_accounts:
|
16987
|
+
type: array
|
16988
|
+
description: The external accounts belonging to this account
|
16989
|
+
items:
|
16990
|
+
"$ref": "#/components/schemas/ExternalAccount"
|
16766
16991
|
parent_account_id:
|
16767
16992
|
type: string
|
16768
16993
|
maxLength: 13
|
@@ -18807,6 +19032,13 @@ components:
|
|
18807
19032
|
description: The outstanding balance remaining on this invoice.
|
18808
19033
|
tax_info:
|
18809
19034
|
"$ref": "#/components/schemas/TaxInfo"
|
19035
|
+
used_tax_service:
|
19036
|
+
type: boolean
|
19037
|
+
title: Used Tax Service?
|
19038
|
+
description: Will be `true` when the invoice had a successful response from
|
19039
|
+
the tax service and `false` when the invoice was not sent to tax service
|
19040
|
+
due to a lack of address or enabled jurisdiction or was processed without
|
19041
|
+
tax due to a non-blocking error returned from the tax service.
|
18810
19042
|
vat_number:
|
18811
19043
|
type: string
|
18812
19044
|
title: VAT number
|
@@ -22951,6 +23183,70 @@ components:
|
|
22951
23183
|
type: array
|
22952
23184
|
items:
|
22953
23185
|
"$ref": "#/components/schemas/ExternalProduct"
|
23186
|
+
ExternalAccountList:
|
23187
|
+
type: object
|
23188
|
+
properties:
|
23189
|
+
object:
|
23190
|
+
type: string
|
23191
|
+
title: Object type
|
23192
|
+
description: Will always be List.
|
23193
|
+
has_more:
|
23194
|
+
type: boolean
|
23195
|
+
description: Indicates there are more results on subsequent pages.
|
23196
|
+
next:
|
23197
|
+
type: string
|
23198
|
+
description: Path to subsequent page of results.
|
23199
|
+
data:
|
23200
|
+
type: array
|
23201
|
+
items:
|
23202
|
+
"$ref": "#/components/schemas/ExternalAccount"
|
23203
|
+
ExternalAccountCreate:
|
23204
|
+
type: object
|
23205
|
+
properties:
|
23206
|
+
external_account_code:
|
23207
|
+
type: string
|
23208
|
+
description: Represents the account code for the external account.
|
23209
|
+
external_connection_type:
|
23210
|
+
type: string
|
23211
|
+
description: Represents the connection type. `AppleAppStore` or `GooglePlayStore`
|
23212
|
+
required:
|
23213
|
+
- external_account_code
|
23214
|
+
- external_connection_type
|
23215
|
+
ExternalAccountUpdate:
|
23216
|
+
type: object
|
23217
|
+
properties:
|
23218
|
+
external_account_code:
|
23219
|
+
type: string
|
23220
|
+
description: Represents the account code for the external account.
|
23221
|
+
external_connection_type:
|
23222
|
+
type: string
|
23223
|
+
description: Represents the connection type. `AppleAppStore` or `GooglePlayStore`
|
23224
|
+
ExternalAccount:
|
23225
|
+
type: object
|
23226
|
+
title: External Account
|
23227
|
+
properties:
|
23228
|
+
object:
|
23229
|
+
type: string
|
23230
|
+
default: external_account
|
23231
|
+
id:
|
23232
|
+
type: string
|
23233
|
+
description: UUID of the external_account .
|
23234
|
+
external_account_code:
|
23235
|
+
type: string
|
23236
|
+
description: Represents the account code for the external account.
|
23237
|
+
external_connection_type:
|
23238
|
+
type: string
|
23239
|
+
description: Represents the connection type. `AppleAppStore` or `GooglePlayStore`
|
23240
|
+
created_at:
|
23241
|
+
type: string
|
23242
|
+
format: date-time
|
23243
|
+
description: Created at
|
23244
|
+
readOnly: true
|
23245
|
+
updated_at:
|
23246
|
+
type: string
|
23247
|
+
format: date-time
|
23248
|
+
description: Last updated at
|
23249
|
+
readOnly: true
|
22954
23250
|
ExternalProductReferenceMini:
|
22955
23251
|
type: object
|
22956
23252
|
title: External Product Reference details
|
@@ -23754,7 +24050,9 @@ components:
|
|
23754
24050
|
- es-MX
|
23755
24051
|
- es-US
|
23756
24052
|
- fi-FI
|
24053
|
+
- fr-BE
|
23757
24054
|
- fr-CA
|
24055
|
+
- fr-CH
|
23758
24056
|
- fr-FR
|
23759
24057
|
- hi-IN
|
23760
24058
|
- it-IT
|
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.34.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-04-
|
11
|
+
date: 2023-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -166,6 +166,8 @@ files:
|
|
166
166
|
- lib/recurly/requests/coupon_update.rb
|
167
167
|
- lib/recurly/requests/custom_field.rb
|
168
168
|
- lib/recurly/requests/dunning_campaigns_bulk_update.rb
|
169
|
+
- lib/recurly/requests/external_account_create.rb
|
170
|
+
- lib/recurly/requests/external_account_update.rb
|
169
171
|
- lib/recurly/requests/external_refund.rb
|
170
172
|
- lib/recurly/requests/external_transaction.rb
|
171
173
|
- lib/recurly/requests/gift_card_create.rb
|
@@ -256,6 +258,7 @@ files:
|
|
256
258
|
- lib/recurly/resources/export_dates.rb
|
257
259
|
- lib/recurly/resources/export_file.rb
|
258
260
|
- lib/recurly/resources/export_files.rb
|
261
|
+
- lib/recurly/resources/external_account.rb
|
259
262
|
- lib/recurly/resources/external_charge.rb
|
260
263
|
- lib/recurly/resources/external_invoice.rb
|
261
264
|
- lib/recurly/resources/external_product.rb
|
@@ -333,7 +336,7 @@ metadata:
|
|
333
336
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
334
337
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
335
338
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
336
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
339
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.34.0
|
337
340
|
post_install_message:
|
338
341
|
rdoc_options: []
|
339
342
|
require_paths:
|