recurly 4.43.0 → 4.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/.github/codeql/codeql-config.yml +13 -0
- data/.github/workflows/codeql.yml +68 -0
- data/CHANGELOG.md +11 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/client/operations.rb +35 -0
- data/lib/recurly/requests/subscription_create.rb +4 -0
- data/lib/recurly/resources/external_payment_phase.rb +70 -0
- data/lib/recurly/resources/invoice.rb +1 -1
- data/lib/recurly/resources/line_item.rb +1 -1
- data/lib/recurly/resources/subscription.rb +2 -2
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +168 -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: a6f7b9520933bcb659ed347252df909d49e49ea5b44c05f62e4e63abe5b344ee
|
4
|
+
data.tar.gz: 83d581c701db2790bc9522357594f713f54a0616f94df81e16d8fc97dacbc49d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc77ed0330c88e1b883dd90052709f03e8bbf8445e5dae3465098a4e69ae48c2c3fdc7eca3ca6a1e48466815d1f635510983bf6b342e8284f4d441a76ab74837
|
7
|
+
data.tar.gz: 5408f63bce4954ec15b459d9d05fabfa6e4f50d4dcb419eddaee3dc0553f97f8399c23d27b2de20582505fff54220a94468475f7e7559e0bd6a3d0f04a38942c
|
data/.bumpversion.cfg
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Recurly Security and Quality checks
|
2
|
+
#
|
3
|
+
# Customize this file for your project.
|
4
|
+
# Contact the application security team in slack/security channel for assistance.
|
5
|
+
# https://coda.io/d/Information-Security_dDTWpZde3Uu/GitHub-Advanced-Security_suXj4#_lu8Xf
|
6
|
+
# https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#specifying-directories-to-scan
|
7
|
+
name: "Recurly Security Tests"
|
8
|
+
query-filters:
|
9
|
+
# - exclude:
|
10
|
+
# id: js/redundant-query
|
11
|
+
paths-ignore:
|
12
|
+
- '**/node_modules'
|
13
|
+
- '**/*test*'
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# Managed by Security
|
2
|
+
# Documentation: https://coda.io/d/Information-Security_dDTWpZde3Uu/GitHub-Advanced-Security_suXj4#_lu8Xf
|
3
|
+
# Contact us in the security slack channel for concerns
|
4
|
+
name: "Security check - CodeQL"
|
5
|
+
|
6
|
+
on:
|
7
|
+
pull_request:
|
8
|
+
workflow_dispatch:
|
9
|
+
push:
|
10
|
+
branches:
|
11
|
+
- staging
|
12
|
+
- main
|
13
|
+
- master
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
analyze:
|
17
|
+
name: Analyze
|
18
|
+
runs-on: ubuntu-latest
|
19
|
+
permissions:
|
20
|
+
actions: read
|
21
|
+
contents: read
|
22
|
+
security-events: write
|
23
|
+
|
24
|
+
strategy:
|
25
|
+
fail-fast: false
|
26
|
+
matrix:
|
27
|
+
language: [ 'ruby', 'javascript' ]
|
28
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
29
|
+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
30
|
+
|
31
|
+
steps:
|
32
|
+
- name: Checkout repository
|
33
|
+
uses: actions/checkout@v3
|
34
|
+
|
35
|
+
# Initializes the CodeQL tools for scanning.
|
36
|
+
- name: Initialize CodeQL
|
37
|
+
uses: github/codeql-action/init@v2
|
38
|
+
with:
|
39
|
+
languages: ${{ matrix.language }}
|
40
|
+
config-file: ./.github/codeql/codeql-config.yml
|
41
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
42
|
+
# By default, queries listed here will override any specified in a config file.
|
43
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
44
|
+
|
45
|
+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
46
|
+
queries: + security-and-quality
|
47
|
+
|
48
|
+
|
49
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
|
50
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
51
|
+
- name: Autobuild
|
52
|
+
uses: github/codeql-action/autobuild@v2
|
53
|
+
|
54
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
55
|
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
56
|
+
|
57
|
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
58
|
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
59
|
+
|
60
|
+
# - run: |
|
61
|
+
# echo "Run, Build Application using script"
|
62
|
+
# ./location_of_script_within_repo/buildscript.sh
|
63
|
+
|
64
|
+
- name: Perform CodeQL Analysis
|
65
|
+
uses: github/codeql-action/analyze@v2
|
66
|
+
continue-on-error: true
|
67
|
+
with:
|
68
|
+
category: "/language:${{matrix.language}}"
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.44.0](https://github.com/recurly/recurly-client-ruby/tree/4.44.0) (2023-12-06)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.43.0...4.44.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 (External Payment Phases) [#869](https://github.com/recurly/recurly-client-ruby/pull/869) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [4.43.0](https://github.com/recurly/recurly-client-ruby/tree/4.43.0) (2023-11-07)
|
4
15
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.42.0...4.43.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.44'
|
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.
|
@@ -4433,6 +4433,41 @@ module Recurly
|
|
4433
4433
|
get(path, **options)
|
4434
4434
|
end
|
4435
4435
|
|
4436
|
+
# List the external payment phases on an external subscription
|
4437
|
+
#
|
4438
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/list_external_subscription_external_payment_phases list_external_subscription_external_payment_phases api documentation}
|
4439
|
+
#
|
4440
|
+
# @param external_subscription_id [String] External subscription id
|
4441
|
+
# @param params [Hash] Optional query string parameters:
|
4442
|
+
# :sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
|
4443
|
+
# order. In descending order updated records will move behind the cursor and could
|
4444
|
+
# prevent some records from being returned.
|
4445
|
+
#
|
4446
|
+
# :limit [Integer] Limit number of records 1-200.
|
4447
|
+
# :order [String] Sort order.
|
4448
|
+
#
|
4449
|
+
# @return [Pager<Resources::ExternalPaymentPhase>] A list of the the external_payment_phases on a site.
|
4450
|
+
#
|
4451
|
+
def list_external_subscription_external_payment_phases(external_subscription_id:, **options)
|
4452
|
+
path = interpolate_path("/external_subscriptions/{external_subscription_id}/external_payment_phases", external_subscription_id: external_subscription_id)
|
4453
|
+
pager(path, **options)
|
4454
|
+
end
|
4455
|
+
|
4456
|
+
# Fetch an external payment_phase
|
4457
|
+
#
|
4458
|
+
# {https://developers.recurly.com/api/v2021-02-25#operation/get_external_subscription_external_payment_phase get_external_subscription_external_payment_phase api documentation}
|
4459
|
+
#
|
4460
|
+
# @param external_subscription_id [String] External subscription id
|
4461
|
+
# @param external_payment_phase_id [String] External payment phase ID, e.g. +a34ypb2ef9w1+.
|
4462
|
+
# @param params [Hash] Optional query string parameters:
|
4463
|
+
#
|
4464
|
+
# @return [Resources::ExternalPaymentPhase] Details for an external payment_phase.
|
4465
|
+
#
|
4466
|
+
def get_external_subscription_external_payment_phase(external_subscription_id:, external_payment_phase_id:, **options)
|
4467
|
+
path = interpolate_path("/external_subscriptions/{external_subscription_id}/external_payment_phases/{external_payment_phase_id}", external_subscription_id: external_subscription_id, external_payment_phase_id: external_payment_phase_id)
|
4468
|
+
get(path, **options)
|
4469
|
+
end
|
4470
|
+
|
4436
4471
|
# List entitlements granted to an account
|
4437
4472
|
#
|
4438
4473
|
# {https://developers.recurly.com/api/v2021-02-25#operation/list_entitlements list_entitlements api documentation}
|
@@ -46,6 +46,10 @@ module Recurly
|
|
46
46
|
# @return [String] This will default to the Customer Notes text specified on the Invoice Settings. Specify custom notes to add or override Customer Notes. Custom notes will stay with a subscription on all renewals.
|
47
47
|
define_attribute :customer_notes, String
|
48
48
|
|
49
|
+
# @!attribute gateway_code
|
50
|
+
# @return [String] If present, this subscription's transactions will use the payment gateway with this code.
|
51
|
+
define_attribute :gateway_code, String
|
52
|
+
|
49
53
|
# @!attribute gift_card_redemption_code
|
50
54
|
# @return [String] A gift card redemption code to be redeemed on the purchase invoice.
|
51
55
|
define_attribute :gift_card_redemption_code, String
|
@@ -0,0 +1,70 @@
|
|
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 ExternalPaymentPhase < Resource
|
8
|
+
|
9
|
+
# @!attribute amount
|
10
|
+
# @return [String] Allows up to 9 decimal places
|
11
|
+
define_attribute :amount, String
|
12
|
+
|
13
|
+
# @!attribute created_at
|
14
|
+
# @return [DateTime] When the external subscription 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 ending_billing_period_index
|
22
|
+
# @return [Integer] Ending Billing Period Index
|
23
|
+
define_attribute :ending_billing_period_index, Integer
|
24
|
+
|
25
|
+
# @!attribute ends_at
|
26
|
+
# @return [DateTime] Ends At
|
27
|
+
define_attribute :ends_at, DateTime
|
28
|
+
|
29
|
+
# @!attribute external_subscription
|
30
|
+
# @return [ExternalSubscription] Subscription from an external resource such as Apple App Store or Google Play Store.
|
31
|
+
define_attribute :external_subscription, :ExternalSubscription
|
32
|
+
|
33
|
+
# @!attribute id
|
34
|
+
# @return [String] System-generated unique identifier for an external payment phase ID, e.g. `e28zov4fw0v2`.
|
35
|
+
define_attribute :id, String
|
36
|
+
|
37
|
+
# @!attribute object
|
38
|
+
# @return [String] Object type
|
39
|
+
define_attribute :object, String
|
40
|
+
|
41
|
+
# @!attribute offer_name
|
42
|
+
# @return [String] Name of the discount offer given, e.g. "introductory"
|
43
|
+
define_attribute :offer_name, String
|
44
|
+
|
45
|
+
# @!attribute offer_type
|
46
|
+
# @return [String] Type of discount offer given, e.g. "FREE_TRIAL"
|
47
|
+
define_attribute :offer_type, String
|
48
|
+
|
49
|
+
# @!attribute period_count
|
50
|
+
# @return [Integer] Number of billing periods
|
51
|
+
define_attribute :period_count, Integer
|
52
|
+
|
53
|
+
# @!attribute period_length
|
54
|
+
# @return [String] Billing cycle length
|
55
|
+
define_attribute :period_length, String
|
56
|
+
|
57
|
+
# @!attribute started_at
|
58
|
+
# @return [DateTime] Started At
|
59
|
+
define_attribute :started_at, DateTime
|
60
|
+
|
61
|
+
# @!attribute starting_billing_period_index
|
62
|
+
# @return [Integer] Starting Billing Period Index
|
63
|
+
define_attribute :starting_billing_period_index, Integer
|
64
|
+
|
65
|
+
# @!attribute updated_at
|
66
|
+
# @return [DateTime] When the external subscription was updated in Recurly.
|
67
|
+
define_attribute :updated_at, DateTime
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -139,7 +139,7 @@ module Recurly
|
|
139
139
|
define_attribute :tax, Float
|
140
140
|
|
141
141
|
# @!attribute tax_info
|
142
|
-
# @return [TaxInfo]
|
142
|
+
# @return [TaxInfo] Only for merchants using Recurly's In-The-Box taxes.
|
143
143
|
define_attribute :tax_info, :TaxInfo
|
144
144
|
|
145
145
|
# @!attribute terms_and_conditions
|
@@ -191,7 +191,7 @@ module Recurly
|
|
191
191
|
define_attribute :tax_inclusive, :Boolean
|
192
192
|
|
193
193
|
# @!attribute tax_info
|
194
|
-
# @return [TaxInfo]
|
194
|
+
# @return [TaxInfo] Only for merchants using Recurly's In-The-Box taxes.
|
195
195
|
define_attribute :tax_info, :TaxInfo
|
196
196
|
|
197
197
|
# @!attribute taxable
|
@@ -175,7 +175,7 @@ module Recurly
|
|
175
175
|
define_attribute :subtotal, Float
|
176
176
|
|
177
177
|
# @!attribute tax
|
178
|
-
# @return [Float]
|
178
|
+
# @return [Float] Only for merchants using Recurly's In-The-Box taxes.
|
179
179
|
define_attribute :tax, Float
|
180
180
|
|
181
181
|
# @!attribute tax_inclusive
|
@@ -183,7 +183,7 @@ module Recurly
|
|
183
183
|
define_attribute :tax_inclusive, :Boolean
|
184
184
|
|
185
185
|
# @!attribute tax_info
|
186
|
-
# @return [TaxInfo]
|
186
|
+
# @return [TaxInfo] Only for merchants using Recurly's In-The-Box taxes.
|
187
187
|
define_attribute :tax_info, :TaxInfo
|
188
188
|
|
189
189
|
# @!attribute terms_and_conditions
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -207,6 +207,7 @@ x-tagGroups:
|
|
207
207
|
- external_products
|
208
208
|
- external_accounts
|
209
209
|
- external_product_references
|
210
|
+
- external_payment_phases
|
210
211
|
- name: Products and Promotions
|
211
212
|
tags:
|
212
213
|
- item
|
@@ -366,6 +367,11 @@ tags:
|
|
366
367
|
x-displayName: External Product Reference
|
367
368
|
description: Associates an external product to a corresponding resource on an external
|
368
369
|
platform like the Apple App Store or Google Play Store.
|
370
|
+
- name: external_payment_phases
|
371
|
+
x-displayName: External Payment Phase
|
372
|
+
description: Details of payments in the lifecycle of a subscription from an external
|
373
|
+
resource that is not managed by the Recurly platform, e.g. App Store or Google
|
374
|
+
Play Store.
|
369
375
|
- name: gift_cards
|
370
376
|
x-displayName: Gift Cards
|
371
377
|
description: Add gift card purchases to your checkout and allow gift card recipients
|
@@ -15918,6 +15924,69 @@ paths:
|
|
15918
15924
|
schema:
|
15919
15925
|
"$ref": "#/components/schemas/Error"
|
15920
15926
|
x-code-samples: []
|
15927
|
+
"/external_subscriptions/{external_subscription_id}/external_payment_phases":
|
15928
|
+
parameters:
|
15929
|
+
- "$ref": "#/components/parameters/external_subscription_id"
|
15930
|
+
get:
|
15931
|
+
tags:
|
15932
|
+
- external_subscriptions
|
15933
|
+
operationId: list_external_subscription_external_payment_phases
|
15934
|
+
summary: List the external payment phases on an external subscription
|
15935
|
+
description: See the [Pagination Guide](/developers/guides/pagination.html)
|
15936
|
+
to learn how to use pagination in the API and Client Libraries.
|
15937
|
+
parameters:
|
15938
|
+
- "$ref": "#/components/parameters/sort_dates"
|
15939
|
+
- "$ref": "#/components/parameters/limit"
|
15940
|
+
- "$ref": "#/components/parameters/order"
|
15941
|
+
responses:
|
15942
|
+
'200':
|
15943
|
+
description: A list of the the external_payment_phases on a site.
|
15944
|
+
content:
|
15945
|
+
application/json:
|
15946
|
+
schema:
|
15947
|
+
"$ref": "#/components/schemas/ExternalPaymentPhaseList"
|
15948
|
+
'404':
|
15949
|
+
description: Incorrect site.
|
15950
|
+
content:
|
15951
|
+
application/json:
|
15952
|
+
schema:
|
15953
|
+
"$ref": "#/components/schemas/Error"
|
15954
|
+
default:
|
15955
|
+
description: Unexpected error.
|
15956
|
+
content:
|
15957
|
+
application/json:
|
15958
|
+
schema:
|
15959
|
+
"$ref": "#/components/schemas/Error"
|
15960
|
+
x-code-samples: []
|
15961
|
+
"/external_subscriptions/{external_subscription_id}/external_payment_phases/{external_payment_phase_id}":
|
15962
|
+
parameters:
|
15963
|
+
- "$ref": "#/components/parameters/external_subscription_id"
|
15964
|
+
- "$ref": "#/components/parameters/external_payment_phase_id"
|
15965
|
+
get:
|
15966
|
+
tags:
|
15967
|
+
- external_payment_phases
|
15968
|
+
operationId: get_external_subscription_external_payment_phase
|
15969
|
+
summary: Fetch an external payment_phase
|
15970
|
+
responses:
|
15971
|
+
'200':
|
15972
|
+
description: Details for an external payment_phase.
|
15973
|
+
content:
|
15974
|
+
application/json:
|
15975
|
+
schema:
|
15976
|
+
"$ref": "#/components/schemas/ExternalPaymentPhase"
|
15977
|
+
'404':
|
15978
|
+
description: Incorrect site or external subscription ID.
|
15979
|
+
content:
|
15980
|
+
application/json:
|
15981
|
+
schema:
|
15982
|
+
"$ref": "#/components/schemas/Error"
|
15983
|
+
default:
|
15984
|
+
description: Unexpected error.
|
15985
|
+
content:
|
15986
|
+
application/json:
|
15987
|
+
schema:
|
15988
|
+
"$ref": "#/components/schemas/Error"
|
15989
|
+
x-code-samples: []
|
15921
15990
|
"/accounts/{account_id}/entitlements":
|
15922
15991
|
parameters:
|
15923
15992
|
- "$ref": "#/components/parameters/account_id"
|
@@ -16355,6 +16424,13 @@ components:
|
|
16355
16424
|
required: true
|
16356
16425
|
schema:
|
16357
16426
|
type: string
|
16427
|
+
external_payment_phase_id:
|
16428
|
+
name: external_payment_phase_id
|
16429
|
+
in: path
|
16430
|
+
description: External payment phase ID, e.g. `a34ypb2ef9w1`.
|
16431
|
+
required: true
|
16432
|
+
schema:
|
16433
|
+
type: string
|
16358
16434
|
invoice_template_id:
|
16359
16435
|
name: invoice_template_id
|
16360
16436
|
in: path
|
@@ -21633,6 +21709,7 @@ components:
|
|
21633
21709
|
type: number
|
21634
21710
|
format: float
|
21635
21711
|
title: Estimated tax
|
21712
|
+
description: Only for merchants using Recurly's In-The-Box taxes.
|
21636
21713
|
tax_info:
|
21637
21714
|
"$ref": "#/components/schemas/TaxInfo"
|
21638
21715
|
total:
|
@@ -22464,6 +22541,12 @@ components:
|
|
22464
22541
|
default: 0
|
22465
22542
|
net_terms_type:
|
22466
22543
|
"$ref": "#/components/schemas/NetTermsTypeEnum"
|
22544
|
+
gateway_code:
|
22545
|
+
type: string
|
22546
|
+
title: Gateway Code
|
22547
|
+
description: If present, this subscription's transactions will use the payment
|
22548
|
+
gateway with this code.
|
22549
|
+
maxLength: 13
|
22467
22550
|
transaction_type:
|
22468
22551
|
description: An optional type designation for the payment gateway transaction
|
22469
22552
|
created by this request. Supports 'moto' value, which is the acronym for
|
@@ -22805,6 +22888,7 @@ components:
|
|
22805
22888
|
TaxInfo:
|
22806
22889
|
type: object
|
22807
22890
|
title: Tax info
|
22891
|
+
description: Only for merchants using Recurly's In-The-Box taxes.
|
22808
22892
|
properties:
|
22809
22893
|
type:
|
22810
22894
|
type: string
|
@@ -23646,6 +23730,90 @@ components:
|
|
23646
23730
|
type: string
|
23647
23731
|
format: date-time
|
23648
23732
|
description: Time the object was last updated
|
23733
|
+
ExternalPaymentPhase:
|
23734
|
+
type: object
|
23735
|
+
description: Details of payments in the lifecycle of a subscription from an
|
23736
|
+
external resource that is not managed by the Recurly platform, e.g. App Store
|
23737
|
+
or Google Play Store.
|
23738
|
+
properties:
|
23739
|
+
id:
|
23740
|
+
type: string
|
23741
|
+
title: External payment phase ID
|
23742
|
+
description: System-generated unique identifier for an external payment
|
23743
|
+
phase ID, e.g. `e28zov4fw0v2`.
|
23744
|
+
object:
|
23745
|
+
type: string
|
23746
|
+
title: Object type
|
23747
|
+
external_subscription:
|
23748
|
+
"$ref": "#/components/schemas/ExternalSubscription"
|
23749
|
+
started_at:
|
23750
|
+
type: string
|
23751
|
+
format: date-time
|
23752
|
+
title: Started At
|
23753
|
+
ends_at:
|
23754
|
+
type: string
|
23755
|
+
format: date-time
|
23756
|
+
title: Ends At
|
23757
|
+
starting_billing_period_index:
|
23758
|
+
type: integer
|
23759
|
+
title: Starting Billing Period Index
|
23760
|
+
ending_billing_period_index:
|
23761
|
+
type: integer
|
23762
|
+
title: Ending Billing Period Index
|
23763
|
+
offer_type:
|
23764
|
+
type: string
|
23765
|
+
title: Offer Type
|
23766
|
+
description: Type of discount offer given, e.g. "FREE_TRIAL"
|
23767
|
+
offer_name:
|
23768
|
+
type: string
|
23769
|
+
title: Offer Name
|
23770
|
+
description: Name of the discount offer given, e.g. "introductory"
|
23771
|
+
period_count:
|
23772
|
+
type: integer
|
23773
|
+
title: Period Count
|
23774
|
+
description: Number of billing periods
|
23775
|
+
period_length:
|
23776
|
+
type: string
|
23777
|
+
title: Period Length
|
23778
|
+
description: Billing cycle length
|
23779
|
+
amount:
|
23780
|
+
type: string
|
23781
|
+
format: decimal
|
23782
|
+
title: Amount
|
23783
|
+
minimum: 0
|
23784
|
+
description: Allows up to 9 decimal places
|
23785
|
+
currency:
|
23786
|
+
type: string
|
23787
|
+
title: Currency
|
23788
|
+
description: 3-letter ISO 4217 currency code.
|
23789
|
+
maxLength: 3
|
23790
|
+
created_at:
|
23791
|
+
type: string
|
23792
|
+
format: date-time
|
23793
|
+
title: Created at
|
23794
|
+
description: When the external subscription was created in Recurly.
|
23795
|
+
updated_at:
|
23796
|
+
type: string
|
23797
|
+
format: date-time
|
23798
|
+
title: Updated at
|
23799
|
+
description: When the external subscription was updated in Recurly.
|
23800
|
+
ExternalPaymentPhaseList:
|
23801
|
+
type: object
|
23802
|
+
properties:
|
23803
|
+
object:
|
23804
|
+
type: string
|
23805
|
+
title: Object type
|
23806
|
+
description: Will always be List.
|
23807
|
+
has_more:
|
23808
|
+
type: boolean
|
23809
|
+
description: Indicates there are more results on subsequent pages.
|
23810
|
+
next:
|
23811
|
+
type: string
|
23812
|
+
description: Path to subsequent page of results.
|
23813
|
+
data:
|
23814
|
+
type: array
|
23815
|
+
items:
|
23816
|
+
"$ref": "#/components/schemas/ExternalPaymentPhase"
|
23649
23817
|
ExternalProduct:
|
23650
23818
|
type: object
|
23651
23819
|
description: Product from an external resource such as Apple App Store or Google
|
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.44.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-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -119,7 +119,9 @@ files:
|
|
119
119
|
- ".changelog_config.yaml"
|
120
120
|
- ".github/ISSUE_TEMPLATE/bug-report.md"
|
121
121
|
- ".github/ISSUE_TEMPLATE/question-or-other.md"
|
122
|
+
- ".github/codeql/codeql-config.yml"
|
122
123
|
- ".github/workflows/ci.yml"
|
124
|
+
- ".github/workflows/codeql.yml"
|
123
125
|
- ".github/workflows/docs.yml"
|
124
126
|
- ".github/workflows/pr-review.yml"
|
125
127
|
- ".gitignore"
|
@@ -268,6 +270,7 @@ files:
|
|
268
270
|
- lib/recurly/resources/external_account.rb
|
269
271
|
- lib/recurly/resources/external_charge.rb
|
270
272
|
- lib/recurly/resources/external_invoice.rb
|
273
|
+
- lib/recurly/resources/external_payment_phase.rb
|
271
274
|
- lib/recurly/resources/external_product.rb
|
272
275
|
- lib/recurly/resources/external_product_reference_collection.rb
|
273
276
|
- lib/recurly/resources/external_product_reference_mini.rb
|
@@ -345,7 +348,7 @@ metadata:
|
|
345
348
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
346
349
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
347
350
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
348
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
351
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.44.0
|
349
352
|
post_install_message:
|
350
353
|
rdoc_options: []
|
351
354
|
require_paths:
|